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.

Escape key function not working?

Home Forums Puzzles Escape key function not working?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #84713
    c4cc
    Customer

    Trying to get Esc key to perform a function with a global window variable, credit to Pandern for helping me with a problem here.

    Why isn’t the Escape key functioning as per the puzzles, and how do I get it to function?

    FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e

    #84718

    Hi,
    Try to debug with “print to console” to see if the event is actually happens. Maybe there is something with “in dict get key” returning undefined value.

    Soft8Soft Tech Chief
    Want more Verge3D updates? Follow me on X, Facebook, or LinkedIn

    #84721
    c4cc
    Customer

    Thanks for suggestion, but earlier on, as KeyU, it worked as intended

    but when changed to Escape from KeyU, nothing happens?

    • This reply was modified 2 months, 2 weeks ago by c4cc.
    • This reply was modified 2 months, 2 weeks ago by c4cc.
    • This reply was modified 2 months, 2 weeks ago by c4cc.

    FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e

    #84726

    Strange! Try to print the “Key” variable before “if” to see why it does not work as expected.

    Soft8Soft Tech Chief
    Want more Verge3D updates? Follow me on X, Facebook, or LinkedIn

    #84730
    martenmonoz
    Customer

    This works:

    Attachments:
    #84733
    c4cc
    Customer

    Strange! Try to print the “Key” variable before “if” to see why it does not work as expected.

    For some reason KeyU works instead of Escape key

    • This reply was modified 2 months, 2 weeks ago by c4cc.

    FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e

    #84735
    c4cc
    Customer

    This works:

    Tried this, it doesn’t work sadly

    FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e

    #84736
    c4cc
    Customer

    Even console log doesn’t say why EscapeKey doesn’t work

    FPS trialproduct 20.9.25 https://postimg.cc/gallery/LMM5vkQ/af43346e

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.