Recently, I posted my snake game and have bee told to move all my drawing methods to the Form1_Paint method.
Before I changed it, I draw only the parts of the snake that has changed.
Now I draw all the snake and the maze, but as the maze has more parts, as the drawing is getting slower.
Is it acceptable to move the level.Draw() out of the Form1_Paint or there is another solution?
Thanks a lot.
Code:private void FormGame_Paint(object sender, PaintEventArgs e)
{
if (onGame)
{
snake.Draw();
food.Draw();
level.Draw();
}
}

