frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Checkpoints

edited November 2013 in How To
How do I make a checkpoint where if I die... I respawn there!

Comments

  • Um... Well it works easier if it's a platformer, but in general... Lets see if I can explain this.
    You will need to go to the square on the map editor and look at the coordinates 0,0 or whatever they are. Now open your player behaviors, add the 1st number and add the 2nd number.connect the first number to a position X, and the second number to a position Y

    Now have however you have your death set up link to the position with a mailbox
    If you die, you should teleport to that area of the map. That's just teleporting though, I don't know if you had restart level before or what. Anyway, for any other checkpoints, find their coordinates, open player behaviors, add those numbers, and have collision or proximity to checkpoint go (in) to the 2 numbers, an have them (set) the old numbers. That way you teleport back to the last checkpoint.

    Understand?
  • edited January 2015
    Here is how it should look

    Screenshot 2015-01-29 at 7.19.36 PM
    Screenshot 2015-01-29 at 7.19.11 PM
    Don't forget to have the position on grid
  • edited January 2015
    ALSO don't forget to do this to your check point!Screenshot 2015-01-29 at 6.59.36 PM
    Or else it wouldn't work! (keep on level RESTART)
  • what is reset on level restart?
  • @Bigship1
    1. This post is from January (OF 2015!!!)
    2. Saves made this allot easier now
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch