A.loc=locate(usr.x+2,usr.y+1,usr.z)
B.loc=locate(usr.x,usr.y+2,usr.z)
C.loc=locate(usr.x,usr.y+1,usr.z)
D.loc=locate(usr.x,usr.y+2,usr.z)
E.loc=locate(usr.x,usr.y+2,usr.z)
F.loc=locate(usr.x,usr.y+2,usr.z)
G.loc=locate(usr.x,usr.y+2,usr.z)
H.loc=locate(usr.x,usr.y+2,usr.z)
I.loc=locate(usr.x,usr.y+2,usr.z)
J.loc=locate(usr.x,usr.y+2,usr.z)
Problem description:im havin problems with coding this thing in location can someone help me make the location go in a circule using all ten letters im not very good at this
XXX
XXX
XXX circle will fit here
XXXX
XXX
XXX will fit but look odd.
Ten letters will work but only if you intend to have one
stand out or overlay another.
We can't do anything for you because we don't know what each letter is supposed to represent, nor do we know what the icon_state of each letter is.
I suggest you learn some more about xy coordinates and adding/subtracting from these variables. I'll give you a brief explantion. I'll assume you at least know how the diagram works.
Y
|
|
X------
|
|
Imagine P is the player here.
A|B|C
E|P|G
H|I|J
A's location is top left adjacent to the player. For each tile higher or lower than the players location, you add or subtract from y varaible. For each tile to the left or right of the player, you add/subtract from the x variable.
A's location can be placed like so: A.loc = locate(usr.x-1, usr.y+1, usr.z)
The z variable is the map layer, but I hope you know that already.
That should help you with placing each sprite(icon). I already explained about the whole circle thing.