hi,
i’m searching a way to know the value of a variable.
to begin i know that :
character.x = 200 character.x = gridGame[2][3]
what i would do is this :
character.x = 200 character.x = gridGame[ax][ay]
and know that :
ax=2 ay=3
with the position.x how to know the ax and ay value ?
how to do this ?
thanks
the objective is to know the coordinate to move my character on the grid. a the moment it goes well with some problems. if i know the ax and ay value it could resolve my problem.