SDL2 and mouse movement to move screen

Started by
9 comments, last by Servant of the Lord 9 years, 11 months ago

I don't think SDL_WarpMouseInWindow is the correct function to use. I think you should be moving the camera, not the mouse pointer.

I've never played Total Annihilation in specific, but I've played plenty of RTS games, and they don't teleport the mouse pointer around.

This topic is closed to new replies.

Advertisement