Projectile Mechanics and Game Scripting

Projectile Mechanics and Game Scripting

Assessment

Interactive Video

Computers

9th - 10th Grade

Practice Problem

Hard

Created by

Amelia Wright

FREE Resource

This video tutorial guides viewers through creating a Spider-Man character in Unity 2D with the ability to shoot web projectiles. It covers setting up the web projectile prefab, implementing movement and collision detection, and coding manual firing from Spider-Man. Additionally, it demonstrates adding particle effects when projectiles are destroyed. The tutorial provides a comprehensive walkthrough of coding and setting up these features in Unity.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary goal of the video tutorial?

To improve the graphics of the game

To design a new character

To add the ability to shoot webs as projectiles

To create a new game from scratch

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which component is NOT added to the web projectile prefab?

Audio Source

Rigidbody 2D

Sprite Renderer

Box Collider 2D

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'on trigger enter 2d' function?

To increase the speed of the projectile

To detect collisions with other objects

To play a sound effect

To change the color of the projectile

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How often are projectiles fired in the random direction test?

Every 10 milliseconds

Every 50 milliseconds

Every 100 milliseconds

Every 500 milliseconds

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when a projectile travels beyond the maximum distance?

It speeds up

It changes color

It changes direction

It gets destroyed

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which key is used to manually fire a web projectile from Spider-Man?

E

G

H

F

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What additional feature is added when a projectile is destroyed?

The game restarts

A new enemy spawns

A particle effect

A sound effect

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?