Yeah, typing mistake ![]()
Thanks a lot guys, I made the coordinates into floats and the movement is much smoother now,
Final question, is it normal that the SDL fullscreen is not stretching onto the entire screen but only to its dimensions even if I set them to some known resolution like 1024 x 768 and so on. It works fine only if the resolution matches the monitor resolution but if smaller, it will be centered and surounded by black border. Is there a fix that doesn't require manual stretching of the screen?

Find content
Not Telling