so if i wanted it to set somthing down that was 4 tiles by 4 tiles would i do:
PHP Code:
i = 0;
for (tx = px; tx < px + 4; tx++) {
for (ty = py; ty < py + 4; ty++) {
tiles[tx,ty] = bushtiles[i];
i++;
}
}
or like:
PHP Code:
i = 0;
for (tx = px; tx < px + 2; tx++) {
for (ty = py; ty < py + 2; ty++) {
for (ty = py; ty < py + 2; ty++) {
tiles[tx,ty] = bushtiles[i];
i++;
}
}