Hi,
After a long time of coding on a game a tester mentioned my game to freeze the graphical output when he drags the window of the game and tries to move it around.
As long as a user is moving the window around, there is no redraw of the surface and also no processing of code. In Singleplayergames this would not disturb but on networkgames problems occour with receivepuffers getting too much input.
So my question is, how I could force my game to process messages and redraw graphics (and so on) while a user is moving the windowed game around the desktop.
I already tried some lines of code with event hooks but EVENT_WINDOWMOVE isn't recognized (only Appterminate, Appresume...).
If I'm forced to forbid windowmovement for the users, how would I achieve this?
bye
MB
After a long time of coding on a game a tester mentioned my game to freeze the graphical output when he drags the window of the game and tries to move it around.
As long as a user is moving the window around, there is no redraw of the surface and also no processing of code. In Singleplayergames this would not disturb but on networkgames problems occour with receivepuffers getting too much input.
So my question is, how I could force my game to process messages and redraw graphics (and so on) while a user is moving the windowed game around the desktop.
I already tried some lines of code with event hooks but EVENT_WINDOWMOVE isn't recognized (only Appterminate, Appresume...).
If I'm forced to forbid windowmovement for the users, how would I achieve this?
bye
MB