Distance would be blocks on x + blocks on y traveling to
if distance == right/up/down/left
Action to do here releating to right or up or down or left
keep repeating this.
I'm sorry man, I don't follow you..or maybe you do not follow me
.........I will try to better explain.... (check .. Board_Game.capx )
...is there a better way to accomplish "board behavior" ?
.....track length is unknown variable.......the player must be able to move in loops or or can build shortcuts...
.....distance to go in every move is variable...(1x32,2x32.........6x32)
.....the direction in which the player moves is unknown variable....
(let's say that a player has won 6 ..his direction on move start is to the "right"..after two blocks,hi comes on crossroads..there is animation with a sign "Up" &"Down..If at this moment playing animation "Up" player automatically turn up.. if is "Down"...tun down..Ok .let's say... player stopped at the exact distance,6 blocks from start.. but stopped on the block that brings penalty..his penalty is ls. 5...now player must automatically return 5x32... etc..)
This simple capx is just example..the player has to move on every track with this "simple" code ..
I hope that I am now better explain the problem