Create a Dark Moody Atmospheric 2D Game with Unity and C# - Removing Player's Control While Dashing

Create a Dark Moody Atmospheric 2D Game with Unity and C# - Removing Player's Control While Dashing

Assessment

Interactive Video

Information Technology (IT), Architecture, Physics, Science

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial addresses a bug in a game where players can change direction mid-dash. The instructor provides a simple fix using an if statement to prevent movement during dashing. Later, another bug is discussed, where the dash direction is incorrectly checked multiple times. The solution involves adjusting the code to check the dash direction only once when the dash starts. The tutorial concludes with setting constraints and ensuring consistent player experience by adjusting the velocity with time deltatime.

Read more

5 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the purpose of the if statement mentioned in the text?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

Describe the bug that was discovered regarding movement while dashing.

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

Explain how the dash direction is determined in the script.

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

What changes were made to prevent changing direction while dashing?

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 1 pt

Why is it necessary to multiply the RB dot velocity by time dot deltatime?

Evaluate responses using AI:

OFF