 by ppcStudios » May 16, 2003 @ 5:25am
by ppcStudios » May 16, 2003 @ 5:25am 
			
			I generally use a single surface for an animation object.  For example, a man walking may have 8 different directions, each with say 10 frames of animation.  My image would be a 10x8 array of sprites all loaded onto a single surface.  Then you just need to update the x coordinates of the source rectangle depending on the animation frame, and the y coordinates depending on the direction of movement.