Game Lab flashcards

Game Lab flashcards

Assessment

Flashcard

Computers

6th Grade

Hard

Created by

Abby Charles

FREE Resource

Student preview

quiz-placeholder

30 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is a sprite in Game Lab?

Back

A graphic character or object that can be controlled or animated.

Answer explanation

A sprite in Game Lab refers to a graphic character or object that can be controlled or animated, making it essential for creating interactive elements in games.

2.

FLASHCARD QUESTION

Front

What is the purpose of the draw() function in Game Lab?

Back

It continuously runs code inside it, allowing animations and interactions to happen.

Answer explanation

The draw() function in Game Lab continuously runs the code inside it, which is essential for creating animations and handling user interactions, making it a key component for dynamic gameplay.

3.

FLASHCARD QUESTION

Front

Which function checks if two sprites are touching? Options: isColliding(), isTouching(), checkCollision(), spriteTouch()

Back

isTouching()

Answer explanation

The function isTouching() is specifically designed to check if two sprites are touching each other. The other options do not serve this purpose, making isTouching() the correct choice.

4.

FLASHCARD QUESTION

Front

What do the x and y coordinates control in Game Lab?

Back

The position of sprites on the screen.

Answer explanation

The x and y coordinates determine where sprites are placed on the screen. Changing these values moves the sprites to different locations, making this the correct choice.

5.

FLASHCARD QUESTION

Front

What is keyDown("right") used for?

Back

It checks if the right arrow key is being pressed.

Answer explanation

keyDown("right") is used to check if the right arrow key is currently being pressed. This allows the program to respond to user input, making it essential for interactive applications.

6.

FLASHCARD QUESTION

Front

What is a variable?

Back

A container used to store data, such as a score or game state.

Answer explanation

A variable is a container used to store data, such as a score or game state. It allows programs to manage and manipulate information dynamically, unlike graphic characters, functions, or sound effects.

7.

FLASHCARD QUESTION

Front

True or False: Sprites are automatically drawn to the screen without needing to be placed in the draw() loop.

Back

TRUE

Answer explanation

TRUE: Sprites are designed to be automatically drawn to the screen in many game development frameworks, eliminating the need to manually place them in the draw() loop.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?