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

  • 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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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..

  • Oh nice, sry I just looked for a spawn method in "system"... I tried it now with create and it works! Thank you

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)