jacobabrennan / Project-Fennel

http://antlerpig.com
4 stars 2 forks source link

Losing focus with keys down doesn't key-up until you key-up while focused #6

Closed Kaiochao closed 11 years ago

Sudzzuds commented 11 years ago

To replicate: HOLD any direction key (with focus on game screen) then click out of game screen (thus losing focus on the game screen). The player will keep moving in the direction that was held. When you refocus on the game screen, the player can move in any other direction, but the avatar will still automatically move in the HELD direction until you press it (especially notable if you press in opposite of the held direction [ie: you can walk LEFT, but if you held RIGHT, you will go RIGHT once you let go of LEFT]).

(This is mainly to explain Kaiochao's issue in a more detailed fashion).

jacobabrennan commented 11 years ago

Should be fixed it the next update (Sunday... maybe Wednesday if I can't control myself). Let me know if you can reproduce it on your browser/OS after the update.