Hi. I'm having a weird issue that I couldn't figured out the solution. My player has general movement codes, and action codes. Movement codes include idling, walking and running while actions include dancing, sitting, drinking etc.. The problem is whenever I firstly run the game and :
First press the movement keys then use actions by spinning the mouse wheel there is no problem at all. (First Gif)
But If I first spin mouse wheel, then the player sprite stuck at idling and that stuck idle sprite speed changes depending to the defined image speeds of action sprites instead changing to action sprites when I keep spinning the mouse wheel. This is the key point that I couldn't figured out. (Secondary Gif. Do not mind the gif color bug please.)
Thanks so much 🙂