Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A serious programming problem here....
#11
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.
Reply
#12
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.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#13
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? Smile
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.
Reply
#14
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)