What Is GameMaker and How to Build Professional 2D Games With It?
Learn what GameMaker is, how GameMaker Language works, and follow a complete step-by-step GameMaker tutorial to build and export your first 2D game in 2026.

GameMaker is a 2D game engine made by YoYo Games, which is part of Opera. You write game logic in GameMaker Language (GML) or use the no-code GML Visual option. It's free to download and use for non-commercial projects, and a one-off $99.99 Professional license covers selling on non-console platforms.
Undertale, Hotline Miami, Hyper Light Drifter and Deltarune all came out of GameMaker. That's a serious résumé for one engine, and it explains why indie developers keep coming back to it.
This guide covers what GameMaker is, what language it uses, how to download it, and a seven-step GameMaker tutorial that takes you from a blank project to a playable 2D game. Comparing engines first? See our roundup of the best game engines. Want to test an idea before writing any code? There's a quick Combos prototyping route near the end.
What is GameMaker?
GameMaker is a cross-platform 2D game engine developed by YoYo Games, which Opera has owned since 2021. Mark Overmars first released it in 1999 under the name Animo, and YoYo Games has developed it since 2007. In April 2022 the "Studio 2" name was dropped and version numbers started following the release year and month, though plenty of people still search for GameMaker Studio 2 or GameMaker 2.
From one project you can export to Windows, macOS, Ubuntu, HTML5, Android, iOS, Amazon Fire, Android TV, tvOS and GX.games. Console exports (PlayStation 4 and 5, Xbox One, Xbox Series X|S and Nintendo Switch) need an Enterprise subscription and approved-developer status with each platform holder. That reach from a single codebase is a big reason indie teams stay loyal.

Key Features of GameMaker
GameMaker comes with an integrated development environment that includes built-in editors for sprites, tile maps, level design, shaders (both GLSL and HLSL) and scripting.
Features worth calling out:
-
Dual coding system
-
Spine integration
-
Built-in profiler
-
Asset bundles
-
Smart organization
-
3D audio support

Core Elements of GameMaker
Every GameMaker project uses the same core resource types. Know them early and the rest gets easier.
-
Sprites are your visual assets: 2D images and animation frames, each with its own collision mask and origin point.
-
Objects are where the game logic lives. An object holds events like Create, Step, Draw and Collision, and you write GML code inside those events to define how things behave.
-
Rooms are your levels or scenes. They contain instances of objects, background layers, tile layers and camera settings.
-
Scripts are reusable functions you can call from any object, which keeps your code organized and cuts repetition.
-
Sounds and Music round out the list. GameMaker handles WAV, MP3 and OGG files with full audio mixing options.

Understanding GameMaker Language (GML)
What language does GameMaker use? GameMaker Language, or GML, its own scripting language built specifically for game development.
GML supports everything you'd expect from a proper scripting language: variables, functions, conditionals, switch statements, for and while loops, arrays, structs and constructors.
GML functions are the core of your game logic. A door opening, a player jumping, a bullet being destroyed on collision: all of that is written as GML functions attached to object events.
It also offers GML Visual, a no-code block system, and those blocks can be converted to GML code inside the IDE. That makes it a real on-ramp to coding rather than a dead end.

GameMaker Tutorial: Step-by-Step Guide to Your First Game
Step 1: GameMaker Download and Installation
Start with the GameMaker download at gamemaker.io. The installer is available for Windows, macOS and Ubuntu (listed as beta), and you'll sign in with a free GameMaker account.
Searching for the GameMaker Studio 2 download? It's the same program. GameMaker Studio 2 became plain GameMaker in 2022, so this installer is the one you want.
To target Android, you'll also need Android Studio, the JDK and the Android SDK installed separately.

Step 2: Creating Your First Project and Exploring the IDE
After logging in, select New Project and choose GameMaker Language rather than GML Visual. Give your project a name and save it somewhere easy to find.
Then spend a few minutes exploring the workspace: the main panels, the Asset Browser and the room editor.

Step 3: Working with Sprites and Animations
Right-click Sprites in the Asset Browser and create a new sprite. You can import an image, draw directly in the sprite editor or add animation frames. Our guide to game sprites shows what a strong sprite set looks like.
Set the origin point (usually the center for game characters) and configure the collision mask, which is the shape GameMaker uses for collision detection.

Step 4: Creating Objects and Adding Basic Events
Create a new Object in the Asset Browser and assign your sprite to it. Then click Add Event to start writing GML.
The Create event runs once when the object is first placed in a room, so that's where you initialize variables. The Step event runs every frame and holds most of your game logic. The Draw event controls how the object appears on screen.

Step 5: Building Rooms and Level Design
Rooms are your levels. Right-click Rooms in the Asset Browser and create a new room. The Room Editor lets you set dimensions, add background layers, place tile sets and drag object instances into the scene.

Step 6: Adding Player Controls, Collisions, and Scoring
Player controls in GML typically live in the Step event. Use keyboard_check(vk_right) or keyboard_check(ord('D')) to detect input and adjust the player's x and y position. For collisions, place_meeting() checks whether an instance would overlap another object at a given position, so you can stop the player walking through walls.
For scoring, declare a global variable in the Game Start event or a controller object's Create event: global.score = 0;. Increment it when the player collects items or defeats enemies, and draw it with the Draw GUI event for a clean HUD.

Step 7: Testing, Debugging, and Exporting Your Game
Test often. The Run button launches your game, and Debug runs it with the debugger so you can watch errors and performance as you play. Both sit on the toolbar and in the Build menu. Stuck? Press F1 to open the built-in GameMaker manual.
When you're ready to ship, choose Build > Create Executable (or click the Create Executable button), pick a save location and GameMaker compiles a package for your target platform. On Windows you can package an installer or a ZIP. Windows VM builds need no extra tools, while YYC builds need Visual Studio.

Want to test your idea before you code it?
Prototype your idea with Combos
Popular Games Made With GameMaker
The track record of GameMaker games is hard to argue with. Toby Fox built Undertale in it, and Dennaton Games shipped Hotline Miami (2012) with it. The list runs on: Hyper Light Drifter, Spelunky, Risk of Rain, Nidhogg, Gunpoint, Deltarune, Chicory: A Colorful Tale and UFO 50. From platformers to RPGs, games made with GameMaker cover just about every 2D genre, and they prove the engine can ship commercial-quality work.

GameMaker Design Patterns and Best Practices
Good structure matters once a project grows past a prototype. GameMaker's Lead Technical Writer, Gurpreet S. Matharoo, shared nine coding tips on the official blog. These six matter most:
-
Use local variables for repeated calculations. They're fast and make code easier to read.
-
Create arrays at their full size with array_create() instead of growing them one slot at a time.
-
Use structs and constructors to keep related variables together.
-
Pick collision functions deliberately. The place_ functions are generally faster than instance_ functions, which beat collision_ and point_ functions.
-
Group sprites by use on texture pages to cut texture swaps.
-
Don't optimize a game that already runs well. Save the tricks for your next project.
Full GameMaker Development Workflow
-
Step 1: Research and Gathering Inspiration
-
Step 2: Planning Mechanics and Wireframing
-
Step 3: Prototyping Core Gameplay
-
Step 4: Playtesting and Iteration
-
Step 5: Polish, Optimization, and Final Build
How Combos Enhances Traditional Game Development With GameMaker
GameMaker is built for coding and shipping 2D games, but getting from idea to playable prototype still takes time, especially while you're deciding on mechanics, art style and level structure. That's where Combos comes in.
Combos is an AI-powered game creation platform where you describe a game in plain language and an AI agent called Boo plans and builds a playable version, with characters, backgrounds, objects and sound included. You can start from a 2D Platformer, 3D Platformer or Narrative Game template, or from your own idea.
Here's how to use this AI game maker to prototype before you commit to full GameMaker development.
Step 1: Sign up and pick a starting point
Head to combos.converge.ai and sign up. New accounts get free credits to try it.

Step 2: Describe your idea and create
Tell Boo the genre, setting, and goal the way you'd pitch the idea to a friend. If it's still fuzzy, Boo asks follow-up questions with options to pick from, then sums everything up in a short design plan. It's a cheap way to stress-test your mechanics and visual direction before you build the real thing in GameMaker.

Step 3: Let Boo build it, then preview and tweak
Boo builds the game while you wait, and the build screen shows an estimate of about five minutes. When it's done, open the preview and play. If something feels off, say what you want changed in the chat, like a slower character or a different background, and Boo updates it. Pick-to-edit (Beta) helps you point at the element you mean. Repeat as often as you like.

Step 4: Post and share a playable link
When you're happy, click Publish. Combos creates a link anyone can open and play in a browser. Send it to friends or fellow developers and collect feedback before you've written a line of GML.

Do this first and you'll start your GameMaker project already knowing which mechanics work and what the game should look like.
Best Practices for GameMaker on Different Platforms
UI Design for Mobile vs Console vs PC
Mobile UI has to work at arm's length on a small screen: big touch targets, minimal clutter, nothing that needs precision.
Console UI needs large fonts and clear controller prompts, since players sit away from the screen.
PC gives you the most room but also the most expectations: better resolution scaling, windowed mode and more.
Touch-Friendly Controls and Scalable Elements
Use GameMaker's built-in touch input to build virtual buttons, and keep touch targets at least 44x44 points.
Conclusion
GameMaker has been around for more than two decades, and its track record speaks for itself. Is GameMaker free? For learning and non-commercial projects, yes. A one-off $99.99 Professional license covers selling on non-console platforms, and GameMaker says its new GMRT runtime (still in beta) will be free for commercial use from 1 January 2027. Console exports will still need an Enterprise license. Whether you're asking how to use GameMaker for the very first time or tightening an existing project, the tools are all here.
And if you'd rather skip the code while you test an idea, Combos can turn a few plain-language instructions into a playable prototype.
Ready to build your first prototype?
FAQs about GameMaker
Is GameMaker free, and what are the limitations for commercial projects?
Yes, for non-commercial use. It's free to download and keep, with exports to all non-console platforms. Selling a game takes a Professional license at $99.99 one-off, and console exports need an Enterprise subscription. GameMaker has also announced that its next-generation runtime, GMRT, will be free for commercial use from 1 January 2027.
What coding language does GameMaker use, and do beginners need prior programming experience?
GameMaker Language (GML), a scripting language whose syntax will feel familiar if you've seen JavaScript or C. Beginners don't need prior experience: GML Visual gives you a no-code path, and plenty of people start there before moving to code.
How do I get the GameMaker Studio 2 download and start my first project?
Head to gamemaker.io and choose the installer for your system. It's now simply GameMaker, so the installer is the same program. Sign in, select New Project, choose GML, name your project and you're ready. Extra SDKs are only needed for targets like Android or iOS.
What are some successful games made with GameMaker, and is it suitable for solo developers?
GameMaker games such as Undertale, Hotline Miami, Hyper Light Drifter, Spelunky and UFO 50 prove the point. Many were built by solo developers or very small teams, and the engine suits solo work because you can prototype, test and iterate without managing a complex pipeline.
How can I use Combos alongside GameMaker to speed up development?
Use Combos to test an idea before you build it in GameMaker. Describe the game in plain language, let Boo build a playable version, and see whether the mechanics and visual style hold up. When they do, you build the final version in GameMaker with far less guesswork.
Is GameMaker good for beginners?
Yes. The editor keeps sprites, rooms and sound in one place, GML Visual removes the need to code at first, and GML is easy to pick up afterwards. The main learning curve is getting comfortable with objects, events and rooms.
How much does GameMaker cost?
Nothing for non-commercial use. A Professional license costs $99.99 one-off and covers commercial releases on non-console platforms, while consoles need an Enterprise subscription. Check GameMaker's pricing page for current terms, since the GMRT change arrives in 2027.
What happened to GameMaker Studio 2?
It was renamed. In April 2022 YoYo Games dropped "Studio 2" and moved to year-and-month version numbers, so the current product is simply GameMaker.
Can GameMaker make 3D games?
GameMaker is built for 2D. It includes some 3D functions, but a dedicated 3D engine is usually easier for a full 3D game. If you want to test a 3D idea quickly, Combos offers a 3D Platformer template you can start from.
