Save the game and respawn from last level

1 - You make global STRUCTURE variable call it MySave or something
2 - Add 2 children NUMBER var called PosX PosY
3 - Player is in collision with check/save point you set PosX and PosY vars to Player.X() and Playe.Y()
4 - Use save system from link at the bottom of this post
5 - AFTER game is launched and you load your variable from storage SET player X and Y position to PosX and PosY
6 - Enjoy

1 Like