Closed cobagithub closed 12 years ago
I think this is because that jaws detects the left-press so jaws.pressed("left") keeps returns true.. but it doesn't detect the keyup cause it happens in the other tab.
Hm, this could probably be prevented by resetting any all jaws key-states on the onblur event ...
Hi I'm new in html 5. I'm actually new in game development.
I noticed that when the player is moving, if you change the browser tab or opening something that make the page suddenly lose focus, when you get back to the page, the player will keep moving and hard to be stopped.
In this page http://jawsjs.com/jawsjs/examples/example3.html if you move left(keep pressing left arrow), then suddenly change to other tab and got back to the example tab, you'll notice that the robot will keep moving to the left.