Did a really simple snake game during Saturday night :) haven't figured out how to properly increase the speed of the game so help with that and feedback is vert much appreciated.
Added particles screen shake high score and difficulty selector
if you want to increase the speed of your game you could use
which will double your FPS if possible.
This would make your snake move even faster though and in my opinion it is way to fast already. I d suggest changing this part :
0047 if snake.d == "�" then 0048 y += 1 0049 elseif snake.d == "�" then 0050 y -= 1 0051 elseif snake.d == "�" then 0052 x -= 1 0053 elseif snake.d == "�" then 0054 x += 1 0055 end
to x += 0.3 or similar values, 1 is just to much, it 30 pixels in one second and your pico 8 screen only has 128x128 pixels.
I like the switching colors! :) :)
I didn't explained myself sorry, I want it to increase the speed more smoothly currently if you change the "s" variable to 4 it's the "normal" speed or the initial speed the game should have, but the steps between speed 4 -> 1 is the thing that is causing me trouble. I move the snake 1 unit in the grid so the position always matches the grid and it doesn't end up on half a cell of the grid, I tried moving it a fraction of the cell and it felt really frustrating to play, so I think the solution is to only move certain frames, and that's the part I'm having problems with
Sorry if it's confusing.
[Please log in to post a comment]