It's because the screen is updated fewer times then before you changed the resolution.
Likewise if you lower your resolution the snake will move faster.
Move the KeyDown() part into the same place where the Advance() function is and it should stay in sync with the simulation regardless of the renderspeed.
It's my bad, I shouldn't have done it like that in my demo.
Likewise if you lower your resolution the snake will move faster.
Move the KeyDown() part into the same place where the Advance() function is and it should stay in sync with the simulation regardless of the renderspeed.
It's my bad, I shouldn't have done it like that in my demo.