How to set a respawn checkpoint to your game?

Game checkpoints are key to prevent the need to repeat large portions of the map, or to provide a sense of accomplishment as players progress through the game! Follow the steps below to add a checkpoint to your game:

1

First Step

2

Second Step

Decide what will trigger the behavior. This could be an action like a collision, an interaction, or players entering a game. Select a “Trigger” box and drag it into the editor.

3

Third Step

Navigate to the “Game Actions” section, select the ‘Set Checkpoint’ block, and set the coordinates for the checkpoint. Alternatively, you can build a custom logic with further data by clicking on the position number and, instead of typing something, selecting ‘add custom graphs’. To select an object as a coordinate, add an “Object Offset Position” operator (as the image below). You can increment directions (hence why the name “Offset!”, as you can adjust coordinates from that initial point) on that offset, for example slightly change the Y coordinate of that operator, so that the checkpoint is set above the object and not inside of it!

4

Fourth Step

Exit the Behavior Editor, playtest and ensure it works as expected!