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.
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.
- Re: [pygame] Good code for text wrapping? Marius Gedminas
- Re: [pygame] Good code for text wrapping? René Dudfield
- Re: [pygame] Good code for text wrapping? Willy Lee
- Re: [pygame] Good code for text wrapping? Charlie Nolan
- Re: [pygame] Good code for text wrapping? René Dudfield
- Re: [pygame] Good code for text wrapping? Charlie Nolan
- Re: [pygame] Good code for text wrapping? Greg Ewing
- Re: [pygame] Good code for text wrapping? René Dudfield
- Re: [pygame] Good code for text wrapping? Charlie Nolan
- [pygame] Window move oddity Aaron Maupin
- Re: [pygame] Window move oddity Aaron Maupin
- Re: [pygame] Window move oddity René Dudfield
- Re: [pygame] Good code for text wrapping? Charlie Nolan
- Re: [pygame] Good code for text wrapping? René Dudfield
- Re: [pygame] Good code for text wrapping? Charlie Nolan