Fragmented-Breakfast-Games / 2DURPGameProj

0 stars 0 forks source link

Movement Phsysics/Velocity/Momentum #3

Closed charlotte-2222 closed 2 years ago

charlotte-2222 commented 2 years ago

I don't quite know what this referred to, perhaps momentum? However there is an issue when the PC is falling / the Jump key is released wherein if the player is attempting to move in a direction while airborne, they will be unable to. (i.e., they fall in place/vertically)

If the PC were run in a direction then jump, the momentum would carry them in that direction, and they are then able to fall freely in the direction they choose, but only in that situation.

Summary: Jump vertically and you cannot press A/D keys to fall in either directions - you're a brick and come back down.

Preemptively press A/D, Jump, then release - and you can fall in either direction of your choosing.


I don't know how to fix this but would like to.

charlotte-2222 commented 2 years ago

Thanks a ton @navyassassin! Fixed