i got the one query in my recent project and trying to get the idea.
The problem I am having is to do with making the Sprites move in an animated way when a control is pressed. For example, like most games, there is a sprite sheet and when the sprite moves you want the program to loop between two images to give the appearance that the sprite is actually walking/moving.
How are these types of things generally incorporated into the standard animation loop?
Your answers will be helpful.