- Home /
Why my 2d sprite animation not working as i want?
I am making a 2d side scrolling pixel art game. For that I made a 3 frame image animation of an action done by the player. The problem is that the first image lasts for 5 frames then the next frame lasts for 5 frames but the third frame lasts for 12 frames. NB- I have kept the loop off because the action must not be repeated. I have tried deleting the animation and making it again but it results same. Pls help.
Answer by Firetrain · Mar 24, 2018 at 03:16 AM
I found it. The problem was i made the animation in such a way that it changes to the next state with animation. So it has no need of transition. So i just changed the transition duration to 0. The animation itself had no problems. Transition was the problem.
Your answer
![](https://koobas.hobune.stream/wayback/20220612155218im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
,Spawning snow or changing tilesets to snow as the player walks past them 0 Answers
How can i move a 2D ball ? 0 Answers
Left/Right movement 2D game,Why is this code to make my character move left/right not working? 0 Answers
How to make animations transition based on players direction and speed ? 0 Answers
so I'm trying to make a 2D platform but the first animation i make is the only one that registers 0 Answers