Comments

Log in with itch.io to leave a comment.

Good job =)
I'd capture onkeyup instead of onkeypress though. It turns crazy when you leave the key pressed!

I see, well is different when you press a button and when you use the direction keys for example, in first case you press and you are done, but in second one you hold while are moving in the same direction, this generates several key strokes, and quickly the repeat fast key event and then the disaster! xP Mine fails also if you hold the key, really I never thought about, just worked but it's true it should work fine even in this situation.