- Code: Select all
int i, i2, TEMP;
while(i<100 && i2<100)
{
i++;
if(i==100)
{
i=0;
i2++;
}
CreateActor("Tiles", "MainTiles", "(none)", "(none)", -16+i*32, 16+i2*32, false);
}
This is the code I'm using to create the 100x100 tiles. The top row is normal but every row under that is 32 pixels pushed to the left (At least I think, that or the top left tile is missing for some reason)
EDIT:
I have a workaround ^^
EDIT 2:
HAHA Wow its because I had CreateActor AFTER everything