1
Graphics / Animate sprite when moving it
« on: March 19, 2012, 06:19:07 pm »
Hi there.
I know it's kinda lame question, but I have to ask it. How I can animate sprite when I'm moving it? I'm using Thor for animation. I'm beginner and I can't figure it out. Now it works like that : animation starts playing, it stops, sprite is moving till I release key and then the last frame of animation is played. I want to make it even when key is hold sprite will move and animation will play. Here's my code (it's not the cleanest code ever, app made only for learning purposes) : http://goo.gl/ruhQ1
Hope anyone can help me. Cheers!
I know it's kinda lame question, but I have to ask it. How I can animate sprite when I'm moving it? I'm using Thor for animation. I'm beginner and I can't figure it out. Now it works like that : animation starts playing, it stops, sprite is moving till I release key and then the last frame of animation is played. I want to make it even when key is hold sprite will move and animation will play. Here's my code (it's not the cleanest code ever, app made only for learning purposes) : http://goo.gl/ruhQ1
Hope anyone can help me. Cheers!