How do I spawn a destroyed object at his start position?

Get help using Construct 2

Post » Fri Oct 30, 2015 12:51 pm

I have a small problem :/ In my platform game there is a cave with a dinosaur inside. His speed is 0 and he just starts running when the player overlapps a special object.
The dinosaurs speed is now 440 and you have to run away. That works pretty good. But now to my problem. The checkpoint for the player is behind the cave. If you die, you have to do all again. But how can i respawn the dinosaur again in the cave? First i have to destroy the dinosaur object when the player dies, right? And then i have to spawn another dinosaur object, but how can i spawn him at the start position in the cave? He always spawns there where the player died.. Sry for my english, hope its not too bad and thanks :)
B
27
S
10
G
3
Posts: 76
Reputation: 3,068

Post » Fri Oct 30, 2015 12:56 pm

Sounds like you let the player spawn the dinosaur instead of using system create..
With the system create action you can create an object at any coordinate..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Oct 30, 2015 1:05 pm

Oh nice, sry I just looked for a spawn method in "system"... I tried it now with create and it works! Thank you :)
B
27
S
10
G
3
Posts: 76
Reputation: 3,068


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 24 guests