Closed 64bitpandas closed 6 years ago
From @DarkFlamex1 on July 9, 2018 21:50
Is this a duplicate of #9 ? Will attempt to reproduce?
From @DarkFlamex1 on July 9, 2018 23:24
Was able to successfully reproduce, I have achieved a fix in the next commit. I manually set the movement keys to key up when the document loses focus as shown below.
for(let key in moveKeys){
moveKeys[key].isDown = false;
moveKeys[key].isUp = true;
}
From @Kuxxe on July 8, 2018 1:44
When holding one or more of the movement buttons (WASD) and switching to a different window, it keeps moving even when not interacting with atomblast.
When switching back to atomblast, the movement persists until the movement buttons are pressed again.
(I think this might be caused by the game still thinking the buttons are pressed even when there is no interaction)
Copied from original issue: dbqeo/AtomBlast.io#14