KucherenkoSerhiy / Microworld

4 stars 0 forks source link

Improve JumpAbility #19

Open scastlara opened 6 years ago

scastlara commented 6 years ago

Jumping feels clunky and unresponsive.

Sometimes you can't jump for some unknown reasons, the difference between a "fast" tap on the jumping button and pressing the key down for some time is too high, making the illusion of "floating" instead of jumping like in Super Mario Bros., the jumping button for Player1 should be "Space" and not "Up", you can get "stuck" on walls...

To fix:

AdriaPerezCulubret commented 6 years ago

Added a gravity amplifier when falling, in order for the jump to feel more responsive and similar to what we're used in videogames. Wasn't able to implement the feature of controlling the amount of jump with the amount of time you press the jump key.

Still have to solve the problem of being unresponsive and the stickiness (which I think they're kind of related).