Hi I have a problem with SDL. I actually made a video, here it is : http://www.youtube.com/watch?v=vt3bD20PlQ8&feature=youtu.be
Alright. Once you watched the video, you will know what the problem is. Here is the source. If you can help me with the problem, that would be cool.
http://www.filedropper.com/power
It looks like when you press left/right etc you are increasing/decreasing both x and y. If you want to just go left for example you need to change x position but leave y as it was.