An easy GameMaker Studio tutorial for beginners (2024)

An easy GameMaker Studio tutorial for beginners (1)

Adam Sinicki / Android Authority

If you want to develop games for Android, Android Studio is not the best choice of tool. While Android Studio is a powerful IDE and comes with many additional tools for development, it is primarily suited to productivity apps and tools and has a steep learning curve. It’s fortunate then that there are many other options available, such as the excellent GameMaker Studio 2. This post will serve as a GameMaker Studio tutorial to get you started, and an overview of the tool.

By the end, you’ll have built your first 2D platform game!

See also:How to make Android games – for complete beginners

What is GameMaker Studio?

Before we begin with the GameMaker Studio tutorial, what exactlyisa GameMaker Studio?

Like Unity and Unreal, GameMaker Studio, is a game engine that incorporates a powerful IDE (integrated development environment) for easy development. Where GameMaker differs, however, is in its relative simplicity and target audience. This is a drag-and-drop tool with relatively less cording involved than many of its rivals. This makes GameMaker ideal not only for beginners but also artists and designers that want to build games without learning to code.

what exactlyisa GameMaker Studio?

What exactly is a GameMaker Studio?

That said, for those that do want to add some custom logic, there is a “GameMaker Language” that affords slightly more flexibility.

An easy GameMaker Studio tutorial for beginners (2)

Adam Sinicki / Android Authority

With this ease of use does come a slightly more limited scope. GameMaker Studio 2 is a 2D game engine; so if you have dreams of building the next Doom, then you’ll need to look elsewhere. But don’t be mistaken: this is still a pro-level IDE that powers some highly successful titles. These include the linkes of Minit, Blazing Chrome, Hyper Light Drifter, and my personal favorite: Katana Zero.

Another caveat of GameMaker Studio is that it is not free, whereas the more powerful Unity and Unreal Engine are. Pricing is very reasonable, however, with the Creator License costing $39. This permits users to develop and publish games for Windows and MacOS. Console licenses are much more expensive however, costing $799 each, or $1,500 for all three. The licenses last for 12 months and are non-renewing, and there are other options such as a Developer license and Education license. There is also a 30-day trial so you can see if you get along with the workflow before you take the plunge.

This makes GameMaker ideal not only for beginners, but also artists and designers that want to build games without learning to code.

At the time of writing the engine is in version However, it is most commonly known as “GameMaker Studio 2.”

Now, on with the GameMaker Studio tutorial!

How to use GameMaker Studio 2

To get started with GameMaker Studio 2, first create a new project. Next choose the “Drag and Drop” option, which we will be using for this GameMaker Studio tutorial.

Quick tip: if ever you’re looking for information or help online, make sure you search for “GameMaker Studio DND.” This short hand will ensure you get information relating to the drag and drop version, rather than GameMaker Language (GML).

You’ll now be greeted with a Workspace on the left and an asset browser on the right. The asset browser lets you see all the elements in your project folder.

Every game needs sprites, so take yours and drop them into the Sprites folder. If you don’t have any sprites of your own, you should be able to download some from the web. I’m using sprites from an old greenscreen style game I made. This little chap is called “Bee Boo.”

An easy GameMaker Studio tutorial for beginners (4)

Adam Sinicki / Android Authority

When you drop the sprite in, you should see it automatically open up in a separate window for closer inspection. Notice that it automatically has a collision box; the small grey outline surrounding the image. This defines the physical size of your sprite and facilitates interactions with the environment. If you need to change this, you can select the “Collision Mask” drop-down menu on the left, and then select “Manual” under mode. You’ll now be able to drag and resize the box as needed. Make sure that the original sprite is 32×32 pixels, or change the dimensions by clicking “edit sprite.” The collision box should generally be the same size and shape as the sprite.

When you build a game for real, you’ll probably want to use multiple sprites to create animations. For now, we can just use a static character that glides around the screen. If you do want to make an idle animation, however, you can simply drag another sprite next to the first one in the timeline and then set the FPS in the top left.

An easy GameMaker Studio tutorial for beginners (5)

Adam Sinicki / Android Authority

Creating a tile set

I’ve also dropped in a “tile set.” This is a selection of sprites that will be used to draw levels. In this case, I’m using green semi-transparent squares. The image itself is a large translucent PNG that has a 32×32 pixel square in it. That square is in the top left but is shunted 32 pixels to the right. This will make sense in a moment!

An easy GameMaker Studio tutorial for beginners (6)

Adam Sinicki / Android Authority

Create something similar of your own and then drop it into the Sprites folder.

Now right click on the “Tile Sets” folder and select “Create Tile Set.” When this opens up, you’ll need to select the sprite you just added. Now set the tile width and height to “32.”

What this does is to automatically divide the image into blocks of 32×32. The top left square is always the “empty” image. The following squares will take care of the tile as it appears from different angles. So if you have grass on top of your platforms and dirt on the sides, you’re covered! The smart thing is that there is an “Auto Tiling” option that will automatically make that judgement call for you.

For now though, I’m just using two tiles: an empty tile, and a plane square.

Creating a room

Now for the fun part of this GameMaker Studio tutorial: building a level… or “room.” Rooms are screens that can represent levels of a game or chunks of a level. This is the equivalent of a “scene” in Unity.

Click on the Rooms folder in your Asset Browser, and you’ll see that you already have an asset called “Room 1” in here. Open this up and you’ll see a grid and a Room Editor.

See also:How to create a simple 2D platformer in Unity – Party One

The first thing to do is to add a background. Simply click on the Background layer in the Room Editor window, then select a sprite underneath. This needs to come from your Sprites folder, so make sure to drop the image in there first. I’m using a pretty starfield.

Next, we need to add our tiles. You can do this by clicking on the tile layer icon in the Room Editor window – this looks like an isometric grid.

An easy GameMaker Studio tutorial for beginners (7)

Adam Sinicki / Android Authority

Now you’ll be able to choose a tile set to use. We’re going to use the one we just made. You can then simply draw onto your grid to create your level layout! By using the tile layer, you’ll also be creating less work for the GPU.

GameMaker Studio tutorial: building objects

An easy GameMaker Studio tutorial for beginners (8)

Adam Sinicki / Android Authority

Once the level has been drawn, we need a character to explore it. To create the player, right click no the “Objects” folder in the Assets Browser and create a new object. Call this object “Player” and select the sprite you made earlier.

You’ll notice you have some more options now. Make sure you’ve unticked “uses physics” as this will make things more complicated.

We’re going to create another object, too. which will be a completely empty object with physics once again disabled. You can click the “New Sprite” button to create this empty image, then define the size of the empty image and its collision box. This should be set to 32×32.

Adding objects to the rom

It’s time to see our game in action!

Switch back to the Room tab and then select the “Instances” layer in the Room Editor window. An “instance” refers to an instance of an object that can interact with other objects in the Room. That means the player character you created is actually a “prefab” or a class that can have multiple identical copies called instances. This isn’t something you’ll need to worry about for a long time but it’s useful context!

Once you’re in the Instances layer, you can simply drag and drop your character into the scene wherever you want it. This will be your player’s starting position.

An easy GameMaker Studio tutorial for beginners (9)

Adam Sinicki / Android Authority

You’re also going to drag and drop your invisible ground layer a few times and resize it to perfectly match wherever you drew your tiles. You can resize these objects by simply grabbing an edge and pulling. This is necessary because the tiles themselves are in the Tile layer and don’t have any impact on our game objects. Of course, you could just use objects with sprites to draw your levels, but this is a more efficient method in terms of the GPU and speed of creating levels.

Adding gravity to the player character

If you click on the Play button at the top of the screen, you can test out what you’ve built. Right now, nothing happens; we’ve got a bit further to go before this GameMaker Studio tutorial is through!

To fix this, we need to add “events” to our player. So, double click on the Player in the Asset Browser and then choose Events > Add Event.

An event is simply an action or change that occurs within the room. The first event we’re going to add is called a “Step” event. Step is essentially one lap of the gameloop. Each time the game refreshes, this event is triggered. This then, is where we want our gravity to go!

As we’re using Drag and Drop, we can add our game logic simply by choosing commands from a toolbox. Here’s what our logic is going to look like:

An easy GameMaker Studio tutorial for beginners (10)

Adam Sinicki / Android Authority

So, if there is an object at position Y + 2 (two beneath the player) then set the gravity to 0 and set the vertical speed to 0. Else (otherwise), set the gravity to 0.5.

Make sure to tick “relative” so that these positions are relative to the player object.

Build this flow chart yourself by dragging the elements from the right and placing them underneath or next-to the commands they follow on from logically.

Adding gravity force will automatically cause your player to fall. We turn the gravity off when we hit another object but we also need to set the vertical speed back to 0 to get rid of any lingering momentum. Otherwise the G-forces would prevent our player from being able to move!

Adding player controls

Now we need to add events to let our character move. We want to be able to walk left and right and jump up in the air.

Luckily, we have an event called “Key Down” that also lets us pick the key we want to listen for. This will trigger whenever the key is down, which also means the player will be able to simply hold left or right (rather than needing to tap the button).

The logic that goes here is pretty self-explanatory. We check to see if the pixels next to our player are clear. If they are, the player moves one step in that direction:

An easy GameMaker Studio tutorial for beginners (11)

Adam Sinicki / Android Authority

Do the same thing for the other direction.

Jump is slightly different. Here, we’re going to move the player slightly in the air so there is no collision, then apply vertical force and set the direction to “up.” This will give us a nice, natural jump movement. Again, we want to check that the player is on the ground before any of this happens, though:

An easy GameMaker Studio tutorial for beginners (12)

Adam Sinicki / Android Authority

Now hit play and you should find that you can actually control the player, explore the level, and fall into pits. Not bad for about 10 minutes of set-up!

Closing comments

An easy GameMaker Studio tutorial for beginners (13)

Adam Sinicki / Android Authority

And, with that, this GameMaker Studio tutorial is over!

While this isn’t a “full game,” it’s enough to get a good feel for how GameMaker Studio works, and whether it clicks for you. This is a powerful tool if you want to get a 2D game running quickly, and that can only be a good thing for gaming on the Android platform. Let us know what you think of GameMaker Studio in the comments below, and if you would like to see a tutorial for GameMaker Language in future. Happy developing!

For more developer tutorials and news from Android Authority, sign up below!

You might like


An easy GameMaker Studio tutorial for beginners (2024)


Is GameMaker Studio easy to learn? ›

Is GameMaker good for beginners? Yes! GameMaker Studio is relatively easy to learn compared to other game engiens like Unity or Unreal, as you can make a game without very much code or scripting. However, the games made in GameMaker are geneallly not as complex as with other game engines.

Is GameMaker easier to learn than Unity? ›

For a beginner, small 2D games are easier to build in GameMaker Studio than in Unity, yes. Complex, visually-heavy games are better handled with Unity — but it isn't easy at all. (But it's fun.)

Is GML difficult to learn? ›

GML is significantly easier to learn and use than many other languages. However, if you're familiar at all with more complicated languages, GML will most likely be a breeze to learn and implement. The learning curve for GML is thankfully not too steep.

Is it hard to make a game in GameMaker? ›

The difficulty will depend on your requirements. If you just want players to see each other and don't really interact: pretty simple. If you want the to interact: somewhat simple. If you want them to interact and see the same thing happen: moderately difficult.

What is the easiest GameMaker? ›

The Best Game Engine for Beginners in 2024
  1. Unity: Developed by Unity Technologies, Unity is one of the world's most popular game engines and has been used to create some of the biggest titles in gaming. ...
  2. Unreal Engine: Another popular game engine is Unreal. ...
  3. GameMaker: ...
  4. CryEngine: ...
  5. Phaser: ...
  6. Godot:
Jan 11, 2023

Is GameMaker 100% free? ›

Can I download GameMaker for free? Yes - all versions of GameMaker are completely free to download. You'll only need to pay if you plan to release your game commercially or if you'd like to export your games to Console platforms. For more information, check out our Get page .

Is GameMaker still worth it? ›

Overall it a great software to be used by all types of game developers if they want an easy and smooth process. GameMaker is very good for thoes who just started to do game development. One of the best tool for coding. The interface of this tool is very user friendly.

What programming language should I learn for GameMaker? ›

GML did take some influence from them, and others, and has some unique stuff. So basically, if you are referring to scripting for the Gamemaker engine, GML is the language you learn and use.

Is Unreal Engine better than GameMaker? ›

When assessing the two solutions, reviewers found GameMaker easier to use, set up, and administer. However, reviewers preferred doing business with Unreal Engine overall.

Is GML similar to C++? ›

While it has its own scripting language called GameMaker Language (GML), which is similar in syntax to C, GameMaker itself is not primarily programmed using C++. However, GameMaker does provide functionality for more advanced users to extend the capabilities of their games through the use of "extensions".

Is GML like Python? ›

GML is designed specifically for GameMaker and shares some similarities with languages like C and JavaScript, but it is not Python. However, it's possible to use Python or other programming languages for certain tasks within a GameMaker project by using external libraries or DLLs and interfacing them with GML.

Can you make a 3D game in GameMaker? ›

GETTING STARTED WITH 3D IN GAMEMAKER. I got into this rabbit hole through DragoniteSpam's videos on how to set up a 3D environment by setting up a perspective camera, learning about vertex buffers (how 3D models are stored for use), and applying matrix transformations to them so we can put them in the game world.

Is GameMaker Studio beginner friendly? ›

GameMaker Studio by YoYo Games is a popular engine for game development, particularly well-suited for beginners and indie developers due to its user-friendly interface and simple scripting language, GML (GameMaker Language).

Can you sell games made with GameMaker? ›

A one-off charge of $99.99 for the commercial licence (GameMaker Professional) is required to sell your games. This is the only charge. After you've purchased your commercial licence all monies made are yours to keep.

Do game makers make money? ›

For some indie developers, making money off their games is a bonus. For others, developing money-making video games is what puts food on the table. If you're planning on making money from your games, you need to decide how in the earliest stages of the development process.

Is GameMaker Studio difficult? ›

Game Maker Studio is easier to learn, it has been used to make many high quality 2D indie games. It is more limited in what it can accomplish, but that may not matter for you. Unity is harder to learn but can be used to acheive much more intricate games.

Does GameMaker Studio require coding? ›

Does GameMaker require coding? No, not for basic games thanks to its DnD system. However, as your game complexity increases, using GML becomes almost inevitable. It is highly recommended to learn GML to harness the full potential of GameMaker.

Is GameMaker similar to Python? ›

GameMaker Studio primarily uses its own scripting language called GameMaker Language (GML) for game development. GML is designed specifically for GameMaker and shares some similarities with languages like C and JavaScript, but it is not Python.

How long does it take to make a GameMaker game? ›

Some games, like our very own Hero's Trail tutorial, can be created in as little as 30 minutes. Others have taken 15 years, which in Duke Nukem Forever's case was absolutely not worth the wait.

Top Articles
Latest Posts
Article information

Author: Van Hayes

Last Updated:

Views: 5237

Rating: 4.6 / 5 (46 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Van Hayes

Birthday: 1994-06-07

Address: 2004 Kling Rapid, New Destiny, MT 64658-2367

Phone: +512425013758

Job: National Farming Director

Hobby: Reading, Polo, Genealogy, amateur radio, Scouting, Stand-up comedy, Cryptography

Introduction: My name is Van Hayes, I am a thankful, friendly, smiling, calm, powerful, fine, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.