Advertisement

Bugs in code?

Started by July 08, 2015 08:10 AM
10 comments, last by sn0k3 9 years, 5 months ago


They aren't moving

snake.update() is what's moving the snake. In the code you posted, you're not calling it.

Hello to all my stalkers.

Yes, I know added it later. There is strange thing, I think the snake is moving too fast, because when I add SDL_Delay(20) after snake.update()

there is snake, but after around 5 seconds it blinks and there is not snake..Maybe I should try making snake to move slower or there is something that I should add

for frames?

This topic is closed to new replies.

Advertisement