Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gdevelop5:tutorials:platform-game:7-checkpoints [2019/12/27 12:07]
4ian
gdevelop5:tutorials:platform-game:7-checkpoints [2021/11/22 23:06] (current)
Line 1: Line 1:
 # Add checkpoints to your game # Add checkpoints to your game
  
-<note>This tutorial is part of the [[gdevelop5:tutorials:platform-game:start|]] tutorial, but you can also re-use it for any other game where you have checkpoints!</note>+<note important>This version of the tutorial is deprecated. Please refer to the [[gdevelop5:tutorials:platformer:start|]] for the completely revised version of the tutorial. The equivalent information to the current tutorial can be found in [[gdevelop5:tutorials:platformer:part-8|]].</note>
  
 We finished the previous tutorial by deleting the player when it collides with the enemy.  This is not the way that it works in most games. Generally, instead of deleting the player, a game will have a "checkpoint". The "checkpoint" saves  the state of the game and the state of the player into  variables. Then, if the player dies, the game and/or player restarts from the "checkpoint". We finished the previous tutorial by deleting the player when it collides with the enemy.  This is not the way that it works in most games. Generally, instead of deleting the player, a game will have a "checkpoint". The "checkpoint" saves  the state of the game and the state of the player into  variables. Then, if the player dies, the game and/or player restarts from the "checkpoint".