Grid Move Questions
AlkaPP
Member, PRO Posts: 194
Hi all,
Please first look at the photo below. My aim is that when i swipe the black dot, it will move to the purple dot direction. When it collide with the purple dot, it will stop at 1 grid before the purple dot, which is the red X position.
Please if someone could help me with it.
Thanks,
My Gamesalad Games On App Store:
Greedy Chubby: https://itunes.apple.com/us/app/greedy-chubby/id834371213?ls=1
Comments
To get help with this you will need to give more information. Is the grid always the same size and in the same location, are the actors always in the centre of the grid squares?
If so you could use vector to angle to get the direction and game level attributes to store the x and y of the "X" actor position calculated from the x and y positions of the purple dot actor.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template