Topic: Game Programming / Problem with HTML5 in iFrame and arrow keys
I fixed it.
The thing is that I was listening for the “Key is down”. When I tried to listen to “Key is pressed” the focus stayed in the game.
Recent posts by gdacas on Kongregate
|
||||||||||||||||||||||||||||||||