i have been experimenting with changing the intiger that would paste the specific clip to the offset in runtime, i would end up with a sprite smeared across the screen copied many times, so when i build this tutorial, i cant work out why the screen refreshes
Oh I thought you asked why it worked and why you didn't get smeared pixels. Did it work before you started experimenting, and in that case what have you changed?
then when i hammered return the intiger would multiply the screen would re-flip
im just messing with it i guess i should just mess around with another tutorial, its really hard to feel like im learning SDL, c++ is easier to test the little bits
It's just like painting. If you keep painting the ball at different positions but don't draw anything on top of the old ball you will end up with many balls.