Penaz91 / Glitch_Heaven

Complete rewrite of my Glitch-Based Videogame
MIT License
1 stars 0 forks source link

Pausing/Window moving issues #19

Closed Penaz91 closed 8 years ago

Penaz91 commented 8 years ago

When moving the window or pausing the game, the mobile obstacles don't stop moving but stop colliding with the reverse triggers, glitching the level. Shaking the window might make the player phase through the floor

Penaz91 commented 8 years ago

Using a pause variable to block the game update makes the game pause correctly, but opening a window from an external module makes the game bug out

Penaz91 commented 8 years ago

Using said variable and blocking the game update but using a while loop makes the game bug out

Penaz91 commented 8 years ago

Turns out it was a smooth timing issue during the unpause procedure. Fixed