4 ms·
Jump is keydown because many games let you adjust your jump height based on how long you hold down space after the jump starts.
by dangond 1mo ago
Jump is keydown because many games let you adjust your jump height based on how long you hold down space after the jump starts.
- flaunf221 1mo agoGames use keydown because it is more responsive and control responsiveness is vital to dynamic gameplay feeling good. There are some exceptions - if action can be charged, then it is on keydown. And then on gamepad sometimes actions are on release when developer has too many actions and not enough buttons, so it can be keyup vs hold.