๐ŸŽฏ My First GameMaker Game ยท Episode 5 of 5 ยท See All Episodes
๐ŸŽฎ Episode 5 ยท Series Finale ยท Top-Down RPG

Quest On!
GML RPG Basics

The GameMaker finale: a top-down RPG with 8-direction movement, an NPC with a dialogue box, state-based enemies, hearts-and-hits combat, and a saved game, the Undertale-shaped skill set.

๐Ÿ‘ถ Ages 10+ โฑ๏ธ ~2 Hours ๐ŸŽฏ GameMaker โœ“ Free
๐ŸŽฎ 8-way movement ๐Ÿ’ฌ Dialogue box ๐Ÿง  Enemy states โš”๏ธ Combat & hearts ๐Ÿšช Room warps ๐Ÿ’พ Save & load
โญ
0 XP
Level 1
๐Ÿ”ฅ0
Your Progress 0 / 6 steps
Build it in our GameMaker Studio too: lay out your game, add real GML behaviours and export Create, Step and Draw event code in the browser. Open the GameMaker Mod Studio →
๐Ÿ“ฆ
Reference project: download the finished code files used in this workshop: โฌ‡ gml-rpg-workshop-reference.zip. Every code block also has a Copy button.
๐Ÿ’ป
How to run: Open GameMaker, load your project, and press F5 to run!
๐Ÿงฉ
Need the game setup? Each episode builds a new game on the same GameMaker setup: a room, objects, and their Create / Step / Draw events. New here or need a refresher? Episode 1 setup โ†’ ยท GML Cheatsheet โ†’
๐ŸŒ
How it works: write the code in each step, and the canvas on the right shows what your code does. It is a live preview that builds the game as you go. Type to see it update, or press Apply to Canvas to test it straight away.
๐ŸฆŠ
Lumo says: every step adds one feature to the same game. Type a little, click Apply to Canvas, and test it straight away. There is no wrong answer you can't undo.

Build RPG Step by Step

Each step adds one feature. Write the code, watch it come alive in the canvas, then make it your own.

Step 1 / 6
A top-down hero exploring and battling
๐ŸŽ‰๐Ÿ†๐ŸŽฎโœจ๐ŸŽ‰
Workshop Complete!
Dialogue, enemy AI states, combat and real save files, five episodes from Pong to an RPG. GameMaker is officially your engine. ๐ŸŽฏ๐Ÿ†
0
Total XP
1
Level
0
Best Streak
0%
Accuracy
โญ View My Progress & Certificates

This workshop was free and took many hours to build. If it helped you learn something new, consider supporting the project.

☕ Support on Ko-fi
๐Ÿงฉ
Code Order: GML Step Event
+20 XP
Drag these GML lines into the correct order for a Step event that moves a player and checks collisions.
if (place_meeting(x + hsp, y, obj_wall)) hsp = 0;
var hsp = 0;
x += hsp;
if (keyboard_check(vk_right)) hsp = move_speed;
if (place_meeting(x, y + 1, obj_wall)) and (keyboard_check_pressed(vk_up)) vsp = -jump_force;