Create a Simple Checkpoint System with C# in Unity

ofrecido por
Coursera Project Network
En este proyecto guiado, tú:

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
BeginnerPrincipiante
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

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

Habilidades que desarrollarás

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

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  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

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.