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

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心