nkholski / phaser3-es6-webpack

Generic platformer and Phaser 3 bootstrap project
http://metroid.niklasberg.se/phaser3platformer/
703 stars 141 forks source link

Mario can double-jump #16

Closed ampled closed 6 years ago

ampled commented 6 years ago

This is probably "out of scope" for the purpose of this project, but I just thought I'd make a quick note of it.

If you double-tap the jump button, Mario will get a tiny second jump in the middle of his initial jump.

I've tried fixing it but I'm not 100% sure about the logic around the jump-timer outside of enforcing how long you're allowed to hold the jump-button for upward momentum.

On a side-note, thanks for this lovely repo, it's certainly jump-started my grasp on phaser 😄

nkholski commented 6 years ago

Thanks! Double-jump is gone now. Happy to hear it's appreciated! :-)

gammafp commented 6 years ago

El vie., 30 mar. 2018 21:59, Niklas Berg notifications@github.com escribió:

Thanks! Double-jump is gone now. Happy to hear it's appreciated! :-)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nkholski/phaser3-es6-webpack/issues/16#issuecomment-377609249, or mute the thread https://github.com/notifications/unsubscribe-auth/AIy3Osn1EoHMNJY_zoFW5aLGxpMTdQPDks5tjo6ngaJpZM4TAAOo .