hello!
i’m wondering if i can implement something like " i draw a path to follow with my finger, then when game start the object follow that path" any advice?
thank’s in advance
How i can immplement a follow path object?
Sylon87
#1
Sylon87
#3
hello!
thank’s you for your help!
actually i looking to draw a path as player, like
- draw a path
- click start
- play follow that path
Gruk
#4
I guess you need to record the path. Either create objects (visible or not) all along the way, either store X and Y in variables.
Then move the object to these objects or coordinates in order.
You will probably need to account for speed too, which will require using timers, I suppose.