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英語
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

ガイド付きプロジェクトの仕組み

ワークスペースは、ブラウザに完全にロードされたクラウドデスクトップですので、ダウンロードは不要です

分割画面のビデオで、講師が手順ごとにガイドします

よくある質問

よくある質問

さらに質問がある場合は、受講者ヘルプセンターにアクセスしてください。