[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Window move oddity



Well, immediately after posting I figured it out. ;) Moving the window causes the program to pause and thus when it comes back the delta time difference between frames spikes. And then my screwy collision detection teleports the character much further than should be possible.

In certain situations, moving the game window (800x600) on the Windows desktop sometimes causes the main character to teleport upwards on screen to the next available platform.