Checkpoints
happygfish
Member Posts: 60
How do have it so when an actor passes a checkpoint(Lets just call it a flag) they re spawn there?
Comments
Save their position (X and Y) to a table and then recall that location when you need too.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
In our free platformer builder kit, you can find the checkpoint actor, and there will be a ton of notes on how it works.
its exactly what jamie said. Just track the x and y cords in a table or an attribute.
http://www.gsinvention.com/product/advanced-platformer-builder-kit/
GSINVENTION FREE TEMPLATES