Hello !
I have a question about the game window and mouse cursor related to windowed mode of the game window.
In my platform game, i let the player use mouse for his movement.
The problem is that when you move the mouse , the mouse cursors gets out the game window ...And when the player clicks out the window for an action ingame, the game window is brought behind the window that is clicked on.(which is normal you 'd say).
I am looking for a way to lock the mouse pointer inside the game window and not let the mouse pointer click out of the game window.
I have searched the manual of course, but no result.
And online tutorial.
I know that fullscreen would avoid that problem, but i want a solution for windowed screen.
And i dont seem to find it ...