MORE KEYS TO CONDITIONS OF EVENT

There are three types of events for conditions with keyboard buttons:

There are three types of events for conditions with keyboard buttons:

js_keyDown - When you press the key, if holding the command will not repeat, it will only happen once

js_keyPress - For key pressed, this works for all letters, digits and calc keys, but does not work on others because they are for the exclusive use of the Rpg Maker System

js_keyUp - This works after using the KeyDown, you do not need to create a KeyDown condition, just hold the key for a short time and release

Here are the examples of how to use it, just like IF in Javascript for browsers:

js_keyDown == "KeyJ"


js_keyUp == "Space"


js_keyPress == "KeyH"

Details

  • 11.5 KB
  • 46
  • 12/20/2023 01:19 AM

Actions