Hey everyone, learning some platforming basics and I'm hoping to make my jump look smoother. When the player leaves the ground I want a certain frame of animation and then when he's a certain height it swaps to the next, when he reaches his max height, I want to swap to the next etc. And furthermore, when coming down from max height (Or I suppose depending on how close he is to the floor) I want it to swap to the final falling frame, then when landing play the last frame.
I know this can't be too difficult, but some guidance would help save me alot of time.
Currently I have some basic code to check if the player has is not on the ground, this was done via a tutorial, but I imagine there may be a better way to do that too. Thanks!
I know this can't be too difficult, but some guidance would help save me alot of time.
Currently I have some basic code to check if the player has is not on the ground, this was done via a tutorial, but I imagine there may be a better way to do that too. Thanks!
Attachments
-
31.8 KB Views: 17
-
6.3 KB Views: 17