10-01-2004, 02:21 AM
Using FOR / NEXT statements, could I create a diamond shape like this?
___H___
__HHH__
_HH=HH_
__HHH__
___H___
Right now I'm using the general square shape For/Next set
for y = 1 to 4
for x = 1 to 4
locate y,x
print $symbol
next x
next y
The empty map is already placed
_______
_______
_______
___=___
_______
_______
I'd like to superimpose a diamond on top of it, centered on the existing = sign.
-------- maybe that's tough to understand.
Ever played Tactics Ogre or FFTactics?
the = is the character, i'm trying to map its movement range
Any suggestions would be helpful
___H___
__HHH__
_HH=HH_
__HHH__
___H___
Right now I'm using the general square shape For/Next set
for y = 1 to 4
for x = 1 to 4
locate y,x
print $symbol
next x
next y
The empty map is already placed
_______
_______
_______
___=___
_______
_______
I'd like to superimpose a diamond on top of it, centered on the existing = sign.
-------- maybe that's tough to understand.
Ever played Tactics Ogre or FFTactics?
the = is the character, i'm trying to map its movement range
Any suggestions would be helpful