No, that won't work.
The system that I want to have would start from the upper left and then go right and down.
Edges would be viewable by being able to go out of bounds several tiles in.
Quote:No, that won't work.
The system that I want to have would start from the upper left and then go right and down.
Edges would be viewable by being able to go out of bounds several tiles in.
I don't understand, that's
exactly what my function does, display tiles from the upper left.
Er, oh, well, never mind.
I want it to go like this:
start with x.adj, y.adj
column 1:
for z times,
x.adj, y.adj
x.adj+1, y.adj+1
x.adj+2, y.adj+2
etc...
column 2
for z+1 times, (and up 22 pixels)
x.adj, y.adj-1
x.adj+1, y.adj
x.adj+2, y.adj+1
etc
column 3
for z times,
x.adj+1, y.adj-1
x.adj+2, y.adj
x.adj+3, y.adj+1
column 4
for z+1 times, (+22 pixels up)
x.adj+1, y.adj-2
x.adj+2, y.adj-1
x.adj+3, y.adj
etc...
Can you gimme a formula for this?