Duh I guess if it ever ended up right beside your snake it might be hard to see if it wasn’t blinking…
I had an issue with it not registering keystrokes (using the web version)… seemed like it only caught my keystrokes 90% of the time… If I had to guess I’d guess that the 3 cycle delay is too long and that you’re missing short keypresses…
I think you could perhaps poll for input inside the delay loop and then when the delay is over process any input received so it’s not lost. Again, just a guess.
Update: Indeed if I hold down the key and wait it’s always registered, but if I press and release 10% of the time it’s “lost”. So I think it’s exactly as I guessed (the keypress being lost in the delay routine).
Comments
You might want to set the colors in the octo-ide if you want it to match your screenshot.
The game feels great, and is fast to play. Great work!
Very nice!
Duh I guess if it ever ended up right beside your snake it might be hard to see if it wasn’t blinking…
I had an issue with it not registering keystrokes (using the web version)… seemed like it only caught my keystrokes 90% of the time… If I had to guess I’d guess that the 3 cycle delay is too long and that you’re missing short keypresses…
I think you could perhaps poll for input inside the delay loop and then when the delay is over process any input received so it’s not lost. Again, just a guess.
Update: Indeed if I hold down the key and wait it’s always registered, but if I press and release 10% of the time it’s “lost”. So I think it’s exactly as I guessed (the keypress being lost in the delay routine).