Search Header Logo

Raycasting and 3D Projection Quiz

Authored by Kaleb White

Computers

6th Grade

Used 1+ times

Raycasting and 3D Projection Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What is the purpose of a raycaster in coding?

To play music

To calculate distances and make light rays

To draw 2D shapes of banana

To create rays that measure distance

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in firing a simple projectile in raycasting?

Create a new sprite

Delete all blocks

Set rotation style to 'don't rotate'

Switch to the hitbox costume

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is it important to move the projectile by 4 pixels at a time?

To skip over walls without colliding

To make the projectile move slower

To avoid leaving gaps between sensing locations

To embed the projectile deeply in a wall

Answer explanation

If you did not do this, your raycaster would just glitch through the wall!

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using 'run without screen refresh' in the raycasting project?

To animate the flight of the projectile

To reverse the projectile back out of the wall

To draw a line between the player and the collision

To instantly find the wall when the projectile collides

Answer explanation

If you had runned with screen refresh, there would have been an animation that would have been repeatedly playing, FOREVER pausing the game.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the Pen Extension in raycasting?

To erase all blocks

To draw a line between the player and the collision

To create a new sprite

To set the pen size to 4

Answer explanation

If there was no pen extension there would be no walls or anything to measure with

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does FOV stand for in raycasting?

Field Of Vision

Fading Optical Vision

Frequency of Vibration

Focal Overhead View

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'distance to - Player' block in 3D projection?

To set the x position for drawing the wall

To calculate the distance a ray has traveled

To calculate the height of the wall

To draw a slice of wall

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?