That is a good point about VSYNC. At the moment, it looks like you have VSYNC 5 to limit the speed of the player. That's fine, but it limits your whole game to 12 frames per second, since 60 divided by 5 is 12. For a simple game this is probably okay, but if you want to limit this to just the player, you could use a variable that counts down each frame before it allows the player to move.