Create a Simple Checkpoint System with C# in Unity

Offered By
Coursera Project Network
In this Guided Project, you will:

Set up a simple checkpoint system in a Scene.

Create and manage a countdown timer.

Save and load to the Registry with PlayerPrefs.

Clock1.5 hours
BeginnerBeginner
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

Checkpoints are prevalent in racing and adventure games. In adventure games, they provide a fallback point to which a player can return when the challenges of the game gets rough, and in racing, they can provide additional time to complete a circuit. In this one-hour, project-based course, you'll learn how to respawn a player to a saved checkpoint. You'll also update the saved location when a player reaches a new checkpoint, and save the checkpoint location to PlayerPrefs for easy reloading at the next gaming session. The guided project will introduce you to the following Unity concepts: - Transforms - Triggers - PlayerPrefs - String-manipulation

Skills you will develop

  • Video-game Development
  • C sharp (C#) Programming Language
  • Unity 3D
  • Unity
  • Application development

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Introduction and License Activation

  2. Create a Respawner Component

  3. Modify Respawner for Checkpoints

  4. Create a Timer Component

  5. Save Checkpoints to PlayerPrefs

  6. Load Checkpoints from PlayerPrefs

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.