2D plat-former - check points

Get help using Construct 2

Post » Wed Feb 15, 2012 12:48 pm

Hey, how do I add check points so when my character dies he doesn't have to re-spawn from the beginning?

This means that my character can overlap with another object that will be called 'check point' and he will spawn there when he dies.
B
3
G
1
Posts: 13
Reputation: 526

Post » Wed Feb 15, 2012 12:50 pm

Two ways.
* System > Every 5 seconds > save X and Y pos of player;

or

* Check point gadget > When player happen to interact in any way > save player X and Y pos;

The first one, I strongly recommend you to check if the player is not jumping or falling ^^

How to save the X and Y?
Just make an invisible gadget and set his X and Y for the same of the Player.X and Player.Y pos. Only refresh it when another check point happen to be used.TELLES08082012-02-15 13:01:41
ImageImageImageImageImageImage
B
93
S
20
G
12
Posts: 1,211
Reputation: 18,480


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, abdalghani, imothep85, jeffige, Marxally, Virpoja and 24 guests