ItsLewizzz / DeluxeHub

:floppy_disk: All-in-one, essential and professional hub core solution.
https://www.spigotmc.org/resources/49425/
GNU General Public License v3.0
77 stars 70 forks source link

Implement improved "jump charge" style double jump. #69

Open Mikarific opened 1 year ago

Mikarific commented 1 year ago

This replaces the check for a block beneath you within Double Jump with a "jump charge". This results in a much more intuitive double jump where the player can jump once any time after leaving the ground and cannot jump again until after touching the ground again.

Whenever the player touches the ground, they gain a "jump charge". If they double jump, they lose this "jump charge" and must land on the ground again to double jump again.