Checkpoint system

NerdinaNutshell

  • *
  • Posts: 112
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

JeffreyDriver

  • Posts: 1830
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:
Retro Redux Compilation (NEW).
Retro Redux (untitled) (NEW).
I always appreciate useful feedback. Thank you.
www.jeffreydriver.co.uk