checkpoints in a level

OkyshoOkysho Member Posts: 158
edited November -1 in Working with GS (Mac)
Has anyone ever attempted to put in-game checkpoints? I'm finding that my levels will probably be needing some and I'm wondering if the community would know how to do this?

If not, my plan is to have my invisible "master control" actor spawn the main actor at position (x,y) (the checkpoint) after a boolean is made true (after the player hits the checkpoint)

I haven't tried this yet, and I don't know what complications might arise.
Thoughts form the community?

Oky

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    Toastkitten had checkpoints in his gravity switching template. It's free now, so have a look in the Marketplace section of the forums and you should be able to find it an see how he accomplished it.

    Cheers,

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • PhoticsPhotics Member Posts: 4,172
    I have something similar with BOT. When TANK exits a shop, he walks out. I delete TANK, respawn him outside of the shop, and turn him around. TANK's respawned spot could be considered a checkpoint. Basically, I create attributes for the spawn location and TANK is spawned at the new location.

    (Because of problems I was having with Pause, he's respawned just as the screen fades out.)
Sign In or Register to comment.