Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(2 edits)

Thank you! JS has a feature to save data to local storage which made it very easy to implement. You're not the first person to mention the delay so I'd like to clarify it a bit; the snake can only turn in the center of a grid space so that he stays aligned with the grid and doesn't run into his tail too easily. The game does actually store what button you press to turn regardless if you're on a grid space or not, it just doesn't turn until you're centered on a grid space. I hope that helps explain and I appreciate your feedback!

PS - A way that most snake games avoid this feeling is by moving the snake an entire grid space at a time, by reducing the framerate or increasing the frames in between each grid movement. I avoided that because I wanted to make the snake move smoothly, but making the snakes speed faster in general would greatly reduce the feeling of input lag. Thank you again!