GameLabGraz / Maroon

An interactive and immersive laboratory for Web, PC and VR.
https://maroon.tugraz.at
31 stars 16 forks source link

Double Jumping Refactoring #389

Open JMetalian opened 2 years ago

JMetalian commented 2 years ago

Describe the feature you'd like The jumping function adds up an additional jump if it is pressed on air and performs the jump after landing. A suggestion for that to check with an additional control statement and not put an additional jumping after landing.

Is your feature request related to a problem? Please describe. It is not a problem but definitely a feasible behavior for user experience.

How To Observe The Additional Jump? Jump once and while on air, press on jumping button again. After landing, it will perform another jump.

FlorianGlawogger commented 1 month ago

I think you are referring to Input buffering right? i.e. there's e.g. a time window of e.g. 100 ms, you can press jump while airborne, and if you land within that time window of 100 ms of the most recent jump button press, you then jump again once you touch the ground, right?

JMetalian commented 1 month ago

Pff, I should check it again. Its been more than 2 years and I don't remember anymore. :D