We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Keyboard Events unresponsive after double tapping key event input/function

Home Forums Puzzles Keyboard Events unresponsive after double tapping key event input/function

Viewing 15 posts - 16 through 30 (of 68 total)
  • Author
    Posts
  • #67307
    kdv
    Participant

    degree numbers

    This puzzle is senseless and useless. 180 = 180°. Use simple numbers.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #67309
    c4cc
    Participant

    Ok, I’m stumped

    #67310
    kdv
    Participant

    As usual…

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #67311
    c4cc
    Participant

    Hold on, I finally solved the 0 – 180 and 180 – 0. I simply removed 180° degree number puzzles, replaced it with -180 normal number puzzles, as highlighted per red boxes here:

    kurumii

    #67312
    c4cc
    Participant

    Thanks, your solutions truly worked.

    #67313
    kdv
    Participant

    simply removed 180° degree number puzzles, replaced it with -180 normal number puzzles

    Bingo!

    your solutions truly worked

    As always…

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #67314
    kdv
    Participant

    Now you’d better optimize your code. Something like this

    It’s a bad approach to register the same event listeners several times…

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #67318
    c4cc
    Participant

    Bingo!

    Silly me, I forgot about the other 2 180° degree number puzzles under “Every Frame – do ” :wacko:

    #67319
    c4cc
    Participant

    Now you’d better optimize your code. Something like this

    It’s a bad approach to register the same event listeners several times…

    Thanks for this tip, I’ll go through this for sure.

    #67320
    kdv
    Participant

    I forgot about the other 2 180° degree number puzzles under “Every Frame – do ”

    Actually, you don’t need them

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #67323
    c4cc
    Participant

    I forgot about the other 2 180° degree number puzzles under “Every Frame – do ”

    Actually, you don’t need them

    Thanks for this tip, too. I’ll use it.

    #67329
    c4cc
    Participant

    kurumii

    I know this ” RotateCarBody with: left ” is under procedure puzzles, yet when I looked under puzzles, I couldn’t find the puzzles.

    Under my Procedures:

    kurumii

    So how do I get that procedure puzzle “RotateCarBody with: left” like yours?

    • This reply was modified 1 year, 1 month ago by c4cc.
    • This reply was modified 1 year, 1 month ago by c4cc.
    #67332
    kdv
    Participant

    You don’t need it. Just place your animate param puzzles there.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #67337
    c4cc
    Participant

    You don’t need it. Just place your animate param puzzles there.

    I have tried. Unfortunately, I can only double tap key A to make character spin facing left, but I can’t double tap key D to spin facing right:
    kurumii

    #67338
    kdv
    Participant

    Use debugging.

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

Viewing 15 posts - 16 through 30 (of 68 total)
  • You must be logged in to reply to this topic.