STEP 20 OF 67 · YOU ARE THE GAMEPLAY PROGRAMMER
Add success, failure and restart
The objective tracks progress and unlocks the exit. Death leads to a checkpoint or restart. Now the game is a complete loop.
How to do it
- Track the objective and show it on screen.
- Unlock the exit when it is complete.
- On death, restart from a checkpoint.
How AI speeds this up
Ask Duke to write the objective and checkpoint logic.
Example from a sample game
Ashfall: grab the star-map, the tunnel gate opens; death returns Kaia to the courtyard campfire.
Before you move on
In Duke Forger, this step's gate checks:
- You confirm itYou can start, play, win, lose and try again
- You upload proofA short video or screenshots of a full win and a full loss
Words to know
- Checkpoint
- A saved spot the player returns to after dying.
- Game loop
- The complete cycle a player repeats: start, play, win or lose, try again.
Do step 20 on your own game
Start freeIncluded in Creator, Academy and Studio. Duke drafts it with you and checks it before step 21 opens.