mattbruv / ccsr

The Cartoon Cartoon Summer Resort Shockwave game series ported to the modern web. (+Scooby Doo Hollywood Horror)
https://mattbruv.github.io/ccsr/
93 stars 3 forks source link

Add keypress queue to make sure keypresses at least get sent once #2

Closed mattbruv closed 2 years ago

mattbruv commented 2 years ago

With how slow the 12 FPS loop is, a quick tap of a key can often go completely unregistered. You should make it so that if you peck at a key, it should always at least step you once.