TheSeekerGame / TheSeeker

Metroidvania game in Bevy
73 stars 16 forks source link

Double Jump Implementation #98

Closed peypod closed 1 month ago

peypod commented 1 month ago

Technical Summary:

Gameplay Mechanics Related: The Air Jump functions the same as the normal grounded jump, with controlled jump height - so unlike in Hollow Knight, where the double jump gives a consistent upwards burst. Typical platformer mechanic is maintained of only having a single jump when walking of a platform, with respect for coyote time of course :) The same pertains to jumping when wall-sliding, however jumping from the wall counts as your double jump - since the state transitions into Falling(?). Walking off of a wall allows you to jump in the air as one would expect.

However, this issue with jumping is not too important, as the wall-jump code will need to be modified in the "Wall Jump Pushback" implementation anyways.