Checkpoints

how do I add checkpoints

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    You're going to have to be more specific. What kind of checkpoints? What do you want them to do? What kind of game are you building?

  • Ayolabi12345Ayolabi12345 Member Posts: 30

    It's a platformer game. I want the checkpoints to be the Mario type? when I walk at them, they save my position

  • ookami007ookami007 Member Posts: 581

    What you can do is start with RespawnX and RespawnY. So, when they die, they will respawn wherever those coordinates say - by default the beginning of your level.

    On collission with the checkpoint actor, set RespawnX and RespawnY to the new coordinates.

    Then, when they die... always respawn at RespawnX, RespawnY.

    That's assuming you don't reload the scene. If you reload the scene... it gets alot more complicated.

Sign In or Register to comment.