Create a Coin Pick-Up and Spending Mechanics in Unity

oferecido por
Coursera Project Network
Neste projeto guiado, você irá:

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
CloudSem necessidade de download
VideoVídeo em tela dividida
Comment DotsInglês
LaptopApenas em desktop

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.

Habilidades que você desenvolverá

Video-game DevelopmentC sharp (C#) Programming LanguageUnity 3DUnityApplication development

Aprender passo a passo

Em um vídeo reproduzido em uma tela dividida com a área de trabalho, seu instrutor o orientará sobre esses passos:

  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

Como funcionam os projetos guiados

Sua área de trabalho é um espaço em nuvem, acessado diretamente do navegador, sem necessidade de nenhum download

Em um vídeo de tela dividida, seu instrutor te orientará passo a passo

Perguntas Frequentes – FAQ

Perguntas Frequentes – FAQ

Mais dúvidas? Visite o Central de Ajuda ao Aprendiz.