Search Header Logo

Game Maker Loops and Arrays

Authored by Ms. Corder

Computers

9th Grade

Used 2+ times

Game Maker Loops and Arrays
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 CHOICE QUESTION

2 mins • 1 pt

Which event is executed once every game cycle?

Create event

Alarm event

Left Released event

Step event

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Where can you see the output of show_debug_messages(str) included in your code?

In the first room of your game

In the console window

Right after the statement in code

Nowhere, unless you run the game in debug mode

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following statements could be rewritten using the += shortcut?

score = points + 5;

score = score + 5;

score = 5;

score = score * 5;

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following would using a controller's draw event not be the best option?

Display the score

Show a game timer

Show a health bar

Change another object's sprite

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What will display in the messages window when the following code is run?

names[0] = "Dorothy"

names[1] ="Tin Man"

names[2] = "Scarecrow"

names[3] = "Cowardly Lion"

for(i = 1; i < 3; i+=1)

{ show_debug_message(names[i]);}

Tin Man

Tin Man, Scarecrow

Tin Man, Scarecrow, Cowardly Lion

Dorothy, Tin Man, Scarecrow, Cowardly Lion

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which is the best description of the dot notation?

It is used to get one instance to move with another instance.

It forces one instance to collide with another instance

It returns the number of pixels across a room.

It provides a way to access another instance's local variables in a different object's code

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

How many cards will be created after the following code executes?

for ( r = 0; r < 4; r += 1 )

{ instance_create_layer( r * 80, 250, "Instances", card ); }

3

4

5

80

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?