ASSETS & ROOMS
EVENTS
VARIABLES
X, Y & MOTION
CODE & LOGIC
100

The visual "skin" for anything you want to appear on the screen.

a sprite

100

This event runs once, the instant the object is created in the game.

Create event

100

The true/false data type shown as a checkbox; the type used for movingRight.

Boolean


100

The two values shown in the Room Editor's lower-left as you move the mouse.

x and y coordinates

100

The kind of statement an "If Variable" block makes: it checks true/false, then runs code.

Conditional Statement

200

The interactable asset you place in a room; you make one every time you make a sprite.

an object

200

This event runs every frame (about 60 times a second) and holds most of your game logic.

Step Event


200

What operator adds to the current value instead of replacing it, and it's the code version of the relative checkbox?

+=

200

In GameMaker, making this coordinate bigger moves an object down the screen.

y

200

Checking this box in an Assign Variable block means "add to the current value" instead of "set it.

relative

300

The scenes that hold objects and display what appears on the game screen.

rooms

300

The event you use to draw a score or other text on top of the game.

Draw GUI Event


300

Why does: draw_text(20, 20, Score: 5) throws an error


The "Score: 5" should be in quotes because it is a string.

300

True or false: you need a while loop in the Step event to make the cube circle forever.

False

300

When the cube reaches the right wall, movingRight gets set to this value.

false

400

The width-and-height measurement every room must share so the screen doesn't resize mid-game

aspect ratio

400

The function that prints a message to the Output window to help you troubleshoot


show_debug_message()

400

What is the difference between a Real variable and an Integer variable? Give examples.

A Real variable can hold numbers with decimals (fractional values), while an Integer holds whole numbers only.

400

The built-in variable that actually makes an instance move; "Set Point Direction" only aims it.

image_speed

400

The window where your show_debug_message text appears when the game runs.

Output Window


500

Stackable groups inside a room; you might have separate ones for the player, walls, and background

layers

500

What does GUI Stand for?

Graphical User Interface

500

The naming style where the first word is lowercase and each word after is capitalized, like movingRight.

camelCase

500

Because x is the sprite's left edge, moving-right stops when x is greater than or equal to this expression.

What is room_width - sprite_width

500

You can't just add the number totalClicks to your text (GML throws a type error). To print it on one line, you wrap it in this function first.

string()

E.g show_debug_message("Clicks: " + string(totalClicks));

M
e
n
u