Search Header Logo
Create a Dark Moody Atmospheric 2D Game with Unity and C# - Collectable Items

Create a Dark Moody Atmospheric 2D Game with Unity and C# - Collectable Items

Assessment

Interactive Video

•

Information Technology (IT), Architecture

•

University

•

Practice Problem

•

Hard

Created by

Wayground Content

FREE Resource

The video tutorial explains how to integrate collectibles into a platformer game using Unity. It covers downloading and setting up a sprite pack, modifying sprite properties, adding colliders and triggers, scripting collectible interactions, and displaying a collectible counter on the UI. The tutorial provides step-by-step guidance on creating a collectible system, including setting up prefabs, handling collisions, and updating the UI to reflect collected items.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in setting up a collectible in a platformer game?

Writing a script

Downloading a sprite pack

Creating a new game object

Adding a collider

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property is adjusted to change the size of the collectible sprite?

Position

Rotation

Scale

Opacity

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is a box collider added to the collectible?

To make it visible

To change its color

To enable physical interaction

To trigger events without collision

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of setting a collider as a trigger?

To change the collectible's color

To make the collectible disappear

To increase the player's speed

To allow the player to pass through

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the ontrigger function do in the collectible script?

Executes when a collision is detected

Changes the collectible's color

Increases the player's health

Decreases the player's speed

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to remove the collectible from the game once collected?

Delete()

Remove()

Erase()

Destroy()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is the collectible count displayed on the screen?

With Unity's UI text

Through a sound effect

By changing the background color

Using a 3D model

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?