Hello,
I’m currently looking for making an animation beetwen Idle Left and Idle Right for making a switch side animation
But Press Left = Idle Left
Press Right = Idle Right
how can i manage to make beetwen animations ?
Ok so here is the solution after many try :
You need to make a Finite State Machine
Here is the tutorial for begginers :
https://wiki.gdevelop.io/gdevelop5/tutorials/finite_state_machine#what_is_a_state_machine
After you followed the tutorial, do your events, I personality split the animations (Left or Right because i have an isometrical sprite)
And now in the PlayerStateSwitch you can do your code like this :
If you have any questions you can ask me
1 Like