Sprite movement

Posted by Lemmons on Stack Overflow See other posts from Stack Overflow or by Lemmons
Published on 2011-01-05T01:41:28Z Indexed on 2011/01/05 1:53 UTC
Read the original article Hit count: 554

Filed under:
|
|

Hi everyone. I'm ripping my hair out over this one. For some odd reason I cannot find out / think of how to move a sprite in SFML and or SDL. The tutorials I've looked at for both libraries state nothing about this; so I assume that it's more of a C++ thing than a library thing.

So I was wondering; how do you move a sprite?

(When I say move, I mean have the sprite "glide" across the window at a set speed)

© Stack Overflow or respective owner

Related posts about c++

Related posts about sdl