How to Make Tile Based Platform Games in Gamemaker Studio 2
4.7 (718 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,166 students enrolled

How to Make Tile Based Platform Games in Gamemaker Studio 2

Learn the basics to build fun and creative platform games, including tricks to add polished and professional features.
Highest Rated
4.7 (718 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,166 students enrolled
Created by Peter Morgan
Last updated 6/2020
English [Auto]
Current price: $104.99 Original price: $149.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 11 hours on-demand video
  • 6 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • You will develop a robust platform engine that you can use for future games you make.
  • You will learn how to do fast tile based collisions, and have the skills to incorporate it into your own games.
  • You will learn how to implement a customizable lighting system that any object in the game can use.
  • You will learn how to build custom particles that interact with the environment.
  • You will learn how to build a Finite State Machine, and use it to efficiently control your player and enemies.
  • You will learn how to implement wave based attacks, player traps, cameras, fade transitions, highscore saving, custom tooltips, screenshake and more.
Course content
Expand all 89 lectures 10:59:56
+ Introduction
4 lectures 25:45

Welcome to the first lecture where I introduce the game we will be making, and the concepts you will be learning throughout the course.

If you would like to play the final game, you can download the source code in the final lecture of the course.

The first time you will need to use the game sprites is in Lecture 4, so I've added the resource file with all the sprites, sounds, etc to that lecture.

Good luck!

NOTE: As of June 2019 Yoyo Games changed how the trial version of Gamemaker works.  They now only off a 30 day fully functional version, which has no limitations.  If you are using the trial version to complete the course, you do not need to follow the trial version specific instructions some of the course lectures discuss, as you will have no limits for those 30 days.

May 2020 Update: I've kept the trial sections in for one year for legacy reasons, to allow people who started as trial users, to finish the course that way.  Now though I'm working on converting the course so it does not refer to the trial version anymore.  The process is on going, so please ignore any trial version only references you may hear, while I complete the changes.

Preview 04:16
Moving the Player
Player Animations

Basic knowledge test on work covered during the course Introduction.

4 questions
+ Finite State Machines
4 lectures 34:46

Change Script Colour Instructions

If you would like to change your script colour from the default of orange to something else, you can go to File > Preferences > Text Editors > Code Editor, then under Script Names change the colour.  I am using hex value 8882C1 if you would like the same.


If you have the trial version of Gamemaker, you no longer need to follow the trial only method.  The trial version was changed by Yoyo games, and now only works for 30 days.  Other then that it is fully functional, so you do not need to follow the trial version specific instructions.  I have left them in though, as there may be someone working through it that way, and removing them would mean they can't continue if they want to do it that way.

State Arrays
Attack State
Finite State Machines
4 questions
+ Collisions
3 lectures 22:27
Tile Collision Setup
Horizontal Tile Collisions
Vertical Tile Collisions
2 questions
+ Jump and Block
2 lectures 11:17

We set the jump_spd to -5, which is not quite enough to jump up 2 tiles.  If you would like your game to allow that, change jump_spd to -5.25 instead.  Up to you though.

Jump State
Block State
Jump and Block
2 questions
+ Improving Jump
3 lectures 15:36
Controlled Jumps
Double Jumps
Jump Effects
Improving Jump
1 question
+ Player Improvements
3 lectures 13:24
Crouch and Block
Mask Array
Controller Support
Player Improvements
1 question
+ Cameras
1 lecture 15:40
1 question
+ Tiles
5 lectures 36:21
Laying Tiles
Layering Tiles
Animated Tiles
Parallax Background
One Way Platforms
3 questions
+ Frog Enemy
8 lectures 52:56
Frog Enemy
Frog Idle State
Frog Jump State
Frog Jump Start State
Frog Jump Land State
Check for Ledges
Frog Attack State
Enemy Frog
3 questions
+ Player Attack
6 lectures 33:55
Player Attack
Hurting the Enemy
Showing Damage
Player Attack
6 questions
  • Gamemaker Studio 2 Full or Trial version
  • PC or Mac capable of running Gamemaker Studio 2

Here are a few quotes from the reviews for the course:

  • "This is by far the BEST GameMaker Studio 2 tutorial I've ever taken!  ... this course is SO. MUCH. FUN."  - Frank

  • "Without a doubt, this is the best content I have found on learning GMS2: the instructor is obviously an expert in both GM and programming; the pacing is spot-on, the material is excellent and really teaches best practices. It really stands out as the best of all the paid and free tutorials on Gamemaker." - Craig

  • "Without a doubt one of the best Game Maker courses I've seen across all online learning websites. - Jason"

  • "This is a COMPLETE Course and its not just another introduction or beginners guide." - Ashanthra

  • "I was very impressed with this course. The engine design is elegant and well thought out." - Jonathon

Well have you always wanted to make your own game, but didn't know how?

This course will teach you how to build a very polished and professional looking game, in a short time.  You will learn many tricks and techniques that can then be applied to making your own games.  The possibilities are endless once you've gained these programming skills and you'll be experienced enough to start the process of turning your own ideas into actual working games.

The game you will learn to build here is very slick and professional and is a great platform from which to grow your skills.  This could be the start of your game development career, or just a fun hobby, but either way I look forward to assisting you in your journey.

Within the course you will learn:

  • Finite State Machines (The absolute best way to structure your code)

  • Tile Based Collisions (Extremely fast collision method)

  • Cool looking psuedo particles (That interact with the environment)

  • Lighting Systems (That service multiple objects)

  • Scripted enemies and sequences (including enemy spawning)

  • Room Fade Transitions, highscore saving, custom tooltips and much more!

All the graphics and code is supplied, all you need to do is start learning and you could be making and releasing your own games sooner then you think.  Every lecture is also presented in 1080p/60fps for maximum clarity while learning.

The course is compatible with the full or trial version of Gamemaker Studio 2, but the trial version is limited to 30 days use only.

The course is taught by Peter Morgan.  A former Mathematics and Computer High School Teacher who has studied the game making process, and products, for many years.  I have previously used Gamemaker to release my first mobile game and currently work on assisting others to do the same.

Who this course is for:
  • Beginner/Intermediate who is interested in learning an efficient method of coding platform games using tile collisions
  • Someone who is interested in publishing games on Windows or mobile platforms
  • Someone curious how a video game is made
  • Someone who has dabbled in gamemaking, but would like to extend their skill set.