Simple sprite control with the keyboard
If you want to create a game will probably reach the point where you need to animate a little sprite on the screen, the following tutorial is very simple, I will show you how you can control a sprite using the arrow keys. I will show you 2 different methods to do it. The sprite will be able to move in 8 directions and will flip horizontally according to the direction.
Views: 558 | | by Jason
View this tutorial