The following files have been attached to this tutorial:
This tutorial hasn't been translated.
This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.
Hi guys, please check my swipe control and move in grid :)
I used a tilemap for the path, all cell which has empty tiles (tile = -1), the MC can not enter.
The mechanic is checking the end of touching and the angle to get the swipe direction
And execute each direction in a function SwipeNSwipe and move MC to that position on tile map :
Or move to the end of tile map
Hope you find this useful. Thanks :)
It works great thanks
Mann! This is exactly what I wanted to recreate. Thank you very much!