How to animate with SFML 2.1 sprite sheet animation
I am looking to create an SFML animation from a sprite sheet. However, I'm
not sure how to get the sprites to play one after another and can't figure
out how to do have it continue to animation while the key is pressed. The
default keyPressed class seems to do the same input as typing(1 character
and then pressed down). How would I make an animation play and how would I
get it to not jerk around at the beginning when the animation is playing.
I am using SFML 2.1 and specific code with an explanation would be greatly
appreciated.
No comments:
Post a Comment