
This is the course promo you see on the landing page.
In this lecture, we make ourselves familiar with the GameMaker interface, and learn about its components.
GameMaker games are structured around events, which are an integral part of objects -- so let's see what they're all about!
Our first step to coding in GameMaker is to learn about functions, which are used to give commands to the engine!
Math is an important part of coding, but you don't want raw values floating around your code! Let's use variables to clean up our arithmetic operations.
Functions are used to give commands to the engine, but you don't want to be running all functions all the time! Let's use conditions to control when a block of code runs.
This lecture guides building a player in game maker, creating a sprite and object, setting up a room, and implementing arrow-key (and wasd) movement with speed-based x and y axes.
The v2.3 update to GameMaker Studio brought a major change to how Scripts work, so here's what you need to do in order to avoid errors
Learn to implement pixel-perfect collisions in GameMaker by designing a collision mask for the player, creating a collision object, and scripting axis-specific checks to stop movement.
Master depth ordering in game maker by using the end step to set each instance's depth to minus its bounding box bottom, making lower y render in front.
Learn to make the player face the mouse by comparing x positions, flipping the sprite, and adjusting animation when moving backward, then prepare for breakable objects.
Create a breakable category and assign bushes, trees, and rocks as children of an all breakable parent to enable unified interaction and collisions.
Set up collectible resources (apple, orange, sword) with a global items array and an init function that runs before the first room, enabling drops when breaking bushes and trees.
Develop the item drop animation by applying gravity on the z axis, drawing items with a z-based position, and initializing z from object height so items fall to the ground.
Add resources stone and iron, update item data and sprites, duplicate trees to create breakable stone and iron ore, and fix health bar overflow by adjusting masks for the inventory.
learn to implement inventory limiting in game maker by creating a macro iron size of 12 and updating the add script to return true when added and false when full.
Create title buttons in GameMaker by duplicating the UI font, displaying the title text in a centered, overridden draw method, and using scripts to generate and manage them.
Implement vertical scrolling for the crafting menu in GameMaker by tracking scroll with a scroll variable, adjusting button positions, handling mouse wheel input, and enforcing limits.
Learn to define and display item recipes in a crafting game using a recipe array of ingredients and counts, and render the recipe UI with item sprites.
Learn manual item dropping by scripting removal from inventory on right-click. Spawn dropped items at calculated positions and update the inventory arrays.
Develop a hearts-based hp hud in GameMaker, displaying full and half hearts from the top-left, looping for each hp unit and updating hp with left/right arrows until zero.
Learn to implement item usage in a crafting game by wiring left-click to use items from the inventory, right-click to drop them, and handle effects with a switch.
Create a blessing block in a GameMaker crafting game by crafting from five wood, placing it, and enabling breakable behavior within a breakable parent hierarchy.
Learn to enforce placeable collisions by checking for collisions with the environment, the player, and enemies before placing items in empty spaces, using a collision function and red visual feedback.
Learn to implement juicy feedback by scaling objects in GameMaker with scripts, using x/y scale, scale target, and drawing logic to animate breakables and items.
Develop a chest system to store items and a new desk interface, enabling moving items between the inventory and desks, opened with the e key.
Hi there!
This course is all about developing a crafting game, in GameMaker. We'll learn to code with GameMaker Language and develop our game from the ground up!
About the Instructor
Hi, I'm Gurpreet S. Matharoo! I've been teaching game development for years, and making games for longer. I've taught over 5 courses on Udemy, published numerous tutorial posts on my blog, and regularly create free tutorials on my YouTube channel, GameMakerStation. I also work at YoYo Games as the Technical Writer for GameMaker.
About the Course
Whether you're a beginner with no coding background, or a game developer looking to gain more experience; this course will help you get where you need to be. We're gonna go through many practical lessons, learning something new at each step!
Here are some things we'll be learning in this course:
GameMaker Language basics
Player movement with pickaxe
Resolution handling
Breaking objects with pickaxe
Setting up data with arrays and enums
Stacking inventory using data structures
User interfaces
Crafting systems
and more!
This course is based on v2.2 of GameMaker Studio, but includes updated lectures communicating the structural changes introduced in v2.3.
Support
You'll be given a download to the finished project, along with all the resource files used. You can simply use the given images to build the game, so that you don't have to create your own sprites.
I'm looking forward to you joining the course. Let's start our journey!