Unity Mega Man Tutorial - 34 Checkpoints

Опубликовано: 19 Июль 2026
на канале: GameDev with Tony
444
19

Join my Discord Server to discuss this project/video:   / discord  

In this video we'll be adding a basic checkpoint system into our project. Checkpoints are locations where the player character will respawn after death. The location doesn't necessarily have the be the exact respawn point but a trigger that tells the game that the checkpoint has been reached so the player should respawn at some other defined location.

It's a pretty simple situation if your scene doesn't reload and all you're doing is changing the spawn point. Consider though your scene reloads after death and you had scene changes like walls moving, items collected that now should be gone, among other things, and along with tracking which checkpoints have been triggered so they don't get activated again -- it starts getting complicated!

Our scene happens to reload after death so that means tracking changes. For us it'll be remembering triggered checkpoints, camera transition settings, the camera position itself, camera follow script's min/max bounds, and walls (boundaries) that have moved.

Source code for this project can be found on my GitHub: https://github.com/tonybhimani/unity-...

and you can see my other videos for the main project here:    • Unity Mega Man Development  

Enjoy!