sethtoles / altar

An Experiment In JavaScript Game Dev
MIT License
0 stars 0 forks source link

Game goes wonky when out of focus #1

Open sethtoles opened 7 years ago

sethtoles commented 7 years ago

Switching tabs but leaving the game running does some weird shit.

Most likely need to handle some sort of window blur and focus events.

sethtoles commented 7 years ago

Seems like it was a Chrome issue; toggling tabs no longer clears the pause state.

Held keys sticking fixed by fe145840cab4456489633b888e1905aea3f5d346

sethtoles commented 7 years ago

NVM, pause screen going white is not fixed