Posts: 3,368
Threads: 195
Joined: Jan 2003
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.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 6,419
Threads: 74
Joined: Mar 2002
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.
Posts: 3,368
Threads: 195
Joined: Jan 2003
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?
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 3,368
Threads: 195
Joined: Jan 2003
nm, i figured it out.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.