Home › Blog › GameMaker Interview Questions and Answers (GML, Objects, Rooms, Events) 2027

GameMaker Interview Questions and Answers (GML, Objects, Rooms, Events) 2027

A GameMaker interview checks that you understand objects, instances, rooms and the event order, that you write clean GML with the right variable scope, and that you can explain how you handle collisions, drawing and memory. Below are 30 questions with short model answers, what studios tend to test, and a drill for saying the answers aloud.

A GameMaker interview checks that you understand objects, instances, rooms and the event order, that you write clean GML with the right variable scope, and that you can explain how you handle collisions, drawing and memory. Below are 30 questions with short model answers, what studios tend to test, and a drill for saying the answers aloud. Facts were checked against the official GameMaker manual in December 2026.

What a GameMaker interview usually covers

GameMaker is common among indie and 2D teams, so interviewers care most about whether you have finished and shipped something and can explain how it works. Expect these areas.

AreaWhat they listen forQuestions
Objects, instances, roomsTemplates vs copies; layers; creation order1 to 7
GML languageScope, structs and constructors, data types8 to 14
Movement and collisionsStep-event logic, place_meeting, solid handling15 to 20
Drawing, performance, memoryDraw events, surfaces, cleaning up data structures21 to 26
A small coding taskWorking, readable, explained out loud27 to 30

For the engine-agnostic layer (game loops, delta time, collision phases, networking) read our game developer interview questions first; this page covers what is specific to GameMaker.

Objects, instances, rooms and events (questions 1 to 7)

1. What is the difference between an object and an instance? An object is a template asset that holds events and behavior; an instance is one copy of it placed in a room. Changing an instance affects only that copy. Some objects have no sprite and act as behind-the-scenes controllers.

2. What is a room? A room is a level or screen, and every game needs at least one. The Room Editor places instances, sprites, tiles, paths, backgrounds, sequences, text and particle systems, each on its own layer that you can order.

3. In what order do events run each frame? Begin Step, then Step, then End Step, then the Draw events. The manual says you can rely on the order of events but not on the order in which instances run one event. If object B must act after object A, put B's code in a later event such as End Step.

4. What happens when a room starts? Instances are created, running their Create events and any instance creation code. Then the Game Start event fires once in the first room, the room's Creation Code runs, and every instance's Room Start event fires.

5. What are the Draw events, in order? Pre-Draw, Draw Begin, Draw, Draw End, Post-Draw, then Draw GUI Begin, Draw GUI and Draw GUI End. Draw GUI is for interface drawn in screen space.

6. How do layers and depth work? Layer order decides draw order: the highest depth draws first, the lowest last. Layer depth ranges from -16000 to 16000, and anything beyond that is not drawn, though its events still run.

7. How do you create an instance in code? Call instance_create_layer(x, y, layer, object), which returns the instance id and runs its Create event first. An optional last argument is a struct of variables applied before the Create event, so you can pass in setup data.

GML language (questions 8 to 14)

8. Explain variable scope in GML. Variables created in object events are instance variables by default. The five kinds are global, constants, instance, static and local (declared with var, alive only until the end of the event or call). Use var _name for temporary values and keep globals rare.

9. How do you reach a variable in another instance? With the dot operator, other_instance.hp, or the with statement, which runs code in the scope of an instance, object or struct: with (obj_enemy) { hp -= 1; } runs for every enemy instance.

10. What are structs and constructors? A struct is a collection of variables in no set order, created with { a: 1 } and extended later with the dot operator. A constructor function builds structs with new. The manual notes structs add no processing overhead while they exist, though they use memory.

11. Structs and constructors versus objects and instances? Instances get events, built-in variables, collisions and drawing. Structs are plain data and methods. Use structs for items, save data and helpers, and objects for things that live in a room.

12. What is the type of a number in GML? Real numbers are 64-bit double-precision floats (or integers where optimized), so rounding errors can occur. Compare floats with a tolerance, not equality, and use typeof to inspect a value.

13. How are booleans handled? Use the constants true and false, never hard-coded 1 and 0. The manual says a real number above 0.5 is read as true, but you should not depend on that.

14. How do you run something later without a timer object? Use alarms, or time sources and call_later, which the manual lists among the Begin Step work. They keep delayed logic inside the code that needs it.

Movement, collisions and physics (questions 15 to 20)

15. How do you check for a collision? The simplest check is place_meeting(x, y, obj), which asks whether the instance would overlap that object at a position. Check the position you are about to move to, not the current one.

16. How do you check several object types? Give them a common parent object and check the parent, or pass an array such as [obj_rock, obj_bush] to the collision function.

17. What happens to built-in movement each Step? Instances move to new positions from their hspeed and vspeed, collisions are checked, and if one of the colliding instances is solid, both go back to their previous positions and collision events fire. Many developers skip this and move with their own variables.

18. Why do instances sometimes stick to walls? Moving the full speed in one step can land inside a wall. The usual fix is to test the next position, step pixel by pixel with sign(speed) until the next step would collide, then zero the speed.

19. Where do collisions differ for UI layers? The manual says collision checks are limited to the space the checking instance lives in, so an instance on a Display UI layer cannot collide with instances in room space.

20. How do you keep movement independent of frame rate? Game speed defaults to 60 frames per second and many games rely on it. For variable rates, scale by delta_time (in microseconds) and say you would test on the slowest target.

Drawing, performance and memory (questions 21 to 26)

21. What is the application surface? Normal Draw events do not draw straight to the screen; they draw to the application surface, which GameMaker then displays. You can resize or process it for scaling and shader effects.

22. How do you use a custom surface safely? Store its id in a variable and, before drawing, check that it still exists, creating it again if not. Surfaces suit decals, debris and overlays without real per-object cost.

23. What is the danger with data structures? A DS list, map or grid keeps its memory until you destroy it with its destroy function, so forgetting leaks memory and can eventually crash the game. The manual recommends arrays and structs over DS lists and maps because they are easier and garbage collected.

24. How would you reduce lag in a room with hundreds of instances? Profile first. Then deactivate off-screen instances, replace per-frame checks with events or timers, avoid scanning every instance each step, and move static visuals to tile layers.

25. How do you debug a GameMaker game? Use the debugger with breakpoints and watches, show_debug_message output and a debug overlay. Reproduce the bug in a small room before changing code.

26. Which platforms can you export to? GameMaker targets desktop, web, iOS and Android, with console exports on separate terms. Platform settings differ, so check the current manual and test on each target. Know the difference between the VM and YYC compilers if the job lists performance work.

A short coding exercise (questions 27 to 30)

27. Write platformer horizontal movement. In a Step event, narrating each line:

Say that vertical movement and gravity repeat the pattern with vsp, and that you would set the constants in Create.

28. Model an inventory item. Use a constructor:

Explain why structs: no events needed, easy to save, garbage collected.

29. How would you design a pause menu? Use a controller object, deactivate gameplay instances (or flag them) while paused, and draw the menu in Draw GUI so it stays fixed to the screen. Reactivate on resume.

30. How would you save progress? Collect the data into a struct, convert it to JSON text, write it to a file, and read it back with a version field so older saves still load.

What studios test and how to prepare

Processes vary; these are common patterns, not guarantees.

RoundWhat it usually looks likeHow to prepare
Portfolio walkthroughRun a game of yours and explain objects, one bug, one thing you would redoRehearse five minutes. See portfolio review interviews
Take-homeA prototype or feature in a few hours, then a review callKeep scope small and comment decisions. See rules for take-home assignments
Live codingMovement, a spawner or an inventory, spoken as you goType GML from memory, narrate trade-offs
Design discussionHow would you structure enemies, UI or saves?Use object, struct and layer vocabulary

A ten-day plan

Practice out loud: a ten-minute drill

Pick five questions: one on events, one on scope, one on collisions, one on memory, and a walkthrough of your own game. Give each two minutes with no notes, and check that you defined the idea, gave the reason and named an example from your project.

An AI mock interview can ask follow-ups and score each spoken answer. Our game developer intern interview questions cover the entry-level angle.

Where CoPilot Interview fits

CoPilot Interview is an AI interview assistant for practice and, where an employer allows it, live help. The free plan gives 15 minutes a day of live help in sessions of up to 15 minutes, with AI mock interviews included; Paid plans are Standard at $24.99 a month and Pro at $39.99 a month. It is a desktop app for Windows 10 and 11 and macOS 12 or later, a free iPhone and iPad companion on the App Store (iOS 16 or later) and an Android companion in beta. For a GameMaker role, try the free free practice demo for typed questions, then rehearse your project walkthrough in an AI mock interview built from your résumé and the job description. In real interviews, and especially assessments, take-homes and proctored rounds, follow your employer's rules.

Disclosure: CoPilot Interview is our product, so weigh what we say about it accordingly.

Frequently asked questions

What questions are asked in a GameMaker interview?

Objects versus instances, the event order, GML variable scope, structs and constructors, collision handling, drawing and surfaces, memory cleanup, and a walkthrough of a game you shipped.

Do I need to know GML Visual?

Mostly no. A GameMaker project can default to GML Code or GML Visual, and most developers write GML Code. Say which you use and why.

How is GameMaker different from Godot or Unity in an interview?

GameMaker talks about objects, rooms and events where Godot uses nodes and scenes and Unity uses GameObjects. See our <a href="/blog/godot-interview-questions">Godot interview questions</a> for the node-based view.

Should I use structs or DS lists?

Prefer arrays and structs. The manual says they have similar functionality, are easier to use and are garbage collected, while data structures must be destroyed by hand.

How should I show GameMaker work in an interview?

Bring one finished game, explain its objects and one bug you fixed, and be ready to open the code and change something live.

Rehearse it out loud before the real one

The AI mock interview builds questions from your resume and the job description, reads them aloud and scores each spoken answer out of 10. Included on the free plan.

Start a mock interview