1
General / how to create a grid?
« on: November 22, 2011, 06:34:28 pm »
stupid me i got confused without reason
i did this
why it blinks like crazy?this code is out of the game loop;[/code]
just to test and understand how it works.but why it blinks?
i did this
Code: [Select]
for(int x=0;x<800;x+=30)
{
for(int y=0;y<600;y+=45)
{
testSprite.SetPosition(x,y);
App.Draw(testSprite);
}
}
why it blinks like crazy?this code is out of the game loop;[/code]
just to test and understand how it works.but why it blinks?