Create a Coin Pick-Up and Spending Mechanics in Unity

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

Use Prefabs to create identical copies of a preconfigured GameObject

Write C# scripts to manage in-game currency, update UI Elements, and instantiate particle effects

Use Triggers to detect collisions

Clock1.5 hours
Beginner初级
Cloud无需下载
Video分屏视频
Comment Dots英语(English)
Laptop仅限桌面

In this two-hour, project-based course, you'll learn how to create a currency pick-up mechanic for your game. We'll cover creating a simple heads-up display, setting up collectible coins and purchasable GameObjects, and writing C# scripts to manage the player's on-going balance. Please note: This guided project does not cover In-Application Purchases (“IAP”), which involves real money; it covers in-game money only. The guided project will introduce you to the following Unity concepts: - Particle Effects - Prefabs - Colliders, Triggers - Canvas, Text, Image - Coding techniques such as UI manipulation, Actions and subscribing to Events This project makes use of the poly-castle project created in Create Keyboard Movement Mechanics with C# in Unity. It is a complimentary course to this guided project and, although not a prerequisite, is recommended for a more well-rounded understanding of the concepts presented herein.

您要培养的技能

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

分步进行学习

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

  1. Introduction and License Activation

  2. Create Collectible Component for our Coin GameObject

  3. Play a Particle Effect When the Coins are Picked Up

  4. Set Up the UI for Displaying Collected Coin Count

  5. Create PlayerCurrency Component

  6. Create Component for Purchasable Items

指导项目工作原理

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

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

常见问题

常见问题

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