Create a Simple Checkpoint System with C# in Unity

提供方
Coursera Project Network
在此指导项目中,您将:

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
Beginner初级
Cloud无需下载
Video分屏视频
Comment Dots英语(English)
Laptop仅限桌面

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

您要培养的技能

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

分步进行学习

在与您的工作区一起在分屏中播放的视频中,您的授课教师将指导您完成每个步骤:

  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

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心