Checkpoint system


  • *
  • Posts: 144
Does anyone know how I’d go about making a checkpoint system? Like the one in Mario Games. Thanks
Plot Twist... I'm a ghost


  • Posts: 1982
The basic s are rather simple. You have an actor that is your checkpoint and when your player gets within a certain distance of it, record the XY location of the checkpoint in an attribute. When teh player dies, instead of killing the player actor, warp it back to the XY location you recorded earlier.

Things get a little bit more complex if you want to reset everything in the level. In that case, you want to store the XY value in a global attribute, then reload the scene, creating the player at the XY value.
Current Projects:
The Grand Grimoire Chronicles Episode 1 now on Kongregate!.
I always appreciate useful feedback. Thank you.