Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

I still have a small problem. I am trying to make a jumping effect. I don't know when to use jump and land animations. My current plan is to play jump_rise when I press the jump button and continue to exert force. Then I play jump_mid. After landing, play jump_fall and land continuously.

I am new to game development and I don’t know what the "correct/best" approach is. It would be great if you can answer my question :)

(+1)

The way I used it is like you said to play the jump_rise when pressing jump and while going upwards, then playing the jump_mid animation when the upwards velocity is 0 or within a small thresold, then play the jump_fall animation when going down and the land animation when touching the ground (making sure it only plays once and so that the player can cancel out of it without having to watch the whole animation if they wish).

I hope this helps :)