Simple moving object jitters every couple of seconds [on hold]
- by Liam
I'm trying to get smooth movement in my game, right now every couple of seconds the moving square jitters.
I'm using C++ with SDL2.
I made a very simple project to test different methods so all that's happening is a box moves across the screen.
Here's a pastebin of the code
http://pastebin.com/7YxxSw0D
Here's a link to a dropbox folder containing the 'game'
https://www.dropbox.com/sh/0ygntl140qv8iv0/AABVuuk6khArOJmdBi1OaFlua?dl=0
Any input would be greatly appreciated, and let me know if you need any more info.
Thanks!