- Home
- Skills
- Game Development
- GameMaker Expert
Works with the AI Agents you already use
GameMaker Expert
Expert GameMaker development, project validation, and GML 2.3+ optimization for LTS versions.
Free
GameMaker Expert
Example session with this skill installed
My GameMaker project "DungeonCrawler" won't open the room anymore. GameMaker says "Field "x": expected" when it loads rm_dungeon, and before that the hero's health was getting weird whenever any slime got hit. I had an AI write most of the objects. Can you find everything that's broken and fix it? Project is in C:\Games\DungeonCrawler.
- Read your context and instructions
- Compiled the gamemaker expert
I ran gm_validate_project on C:\Games\DungeonCrawler and read the objects it flagged. The project has
6 errors and 4 warnings, and I found one more problem in the hero's code. The Field "x": expected message comes
from the tile layer in rm_dungeon. The "weird health" comes from health, which in GameMaker is a single global
shared by every instance, so it isn't really the hero's.
What's broken and how I fixed it
| # | Where | Problem | Fix |
|---|---|---|---|
| 1 | rooms/rm_dungeon/rm_dungeon.yy | Tile layer Tiles_Walls is missing x and y, so GameMaker refuses to load the room | Added "x": 0, "y": 0 to the layer |
| 2 | rooms/rm_dungeon/rm_dungeon.yy | Instance inst_0366BDEF uses obj_chest, which doesn't exist in the project | Removed the instance and its entry in the room's creation order (create obj_chest first if you want a chest there) |
| 3 | tilesets/ts_dungeon/ | No output_tileset.png: the walls will collide but never draw | Open ts_dungeon in the IDE and press save once; GameMaker regenerates the image |
| 4 | objects/obj_slime/ | The Create event points to Create_0.gml, but the code was saved as create.gml, so it never runs and slimes have no hp | Renamed create.gml → Create_0.gml |
| 5 | obj_hero Step, line 4 | instance_create() was removed from GameMaker: it compiles, then crashes when you press Space | Replaced it with instance_create_layer(x, y, "Instances", ...) |
| 6 | obj_hero Step, line 4 | It creates obj_slash, which doesn't exist in the project (found by reading the code; it would crash too) | Left as a TODO: tell me how the attack should look and I'll add the object |
| 7 | obj_hero Create + Collision | health is the built-in global, so every instance shares it | Switched to an instance variable hp |
| 8 | obj_hero Step, line 2 | Sets hspeed and does x += hspeed: GameMaker already applies hspeed, so the hero moves twice as fast | Uses its own hsp variable |
obj_hero after the fix
// Create
hp = 5;
hsp = 0;
// Step
hsp = (keyboard_check(vk_right) - keyboard_check(vk_left)) * 2;
x += hsp;
if (keyboard_check_pressed(vk_space)) {
// TODO: obj_slash doesn't exist yet
// instance_create_layer(x, y, "Instances", obj_slash);
}
// Collision with obj_slime
hp -= 1;
if (hp <= 0) instance_destroy();
After these changes I ran gm_validate_project again. It is down to 1 error and 0 warnings: the missing tileset
image (item 3), which goes away after the one save in the IDE.
Next steps
- Open the project, double-click
ts_dungeonand save, so the walls draw again. - Decide what the attack should be, and I'll create
obj_slashwith a short lifetime and a collision withobj_slime. - The hero has no wall collision yet. If you want, I'll add tilemap collision on
Tiles_Wallswithplace_meeting.
Connects securely to your tools. The creator never sees your data.
About this skill
GameMaker development involves managing complex JSON-based project files and GML scripts that lack strict compile-time checks for many common errors. This skill manages the heavy lifting of project structure, asset validation, and GML optimization for modern GameMaker LTS versions. It handles the nuances of the .yyp and .yy formats, ensuring that manual edits don't corrupt the project or lead to silent crashes at runtime.
What it does
- Project validation runs deep checks for broken references, missing asset files, and mandatory fields required by the compiler.
- Asset auditing inspects art folders to determine frame counts, tile grid dimensions, and asset tags for game planning.
- Code migration updates legacy GML to modern standards, replacing deprecated functions like
instance_createwith modern layer-based equivalents. - Collision implementation scaffolds robust movement systems using custom variables instead of built-in motion variables to prevent jitter and tunneling.
- Memory management audits script files and objects to ensure data structures and surfaces are freed in the Clean Up event.
How it works
- Analyze project structure using
gm_read_projectto catalog assets, room orders, and version data from the.yypfile. - Modify assets and code by either using specific creation tools or editing
.yyfiles according to theproject-format.mdreference. - Run local validation with
gm_validate_projectto catch corruption or GML pitfalls before attempting a build. - Execute headless tests by injecting test-only objects and reading debug markers from the output stream.
Frameworks & tools
Specifically designed for GameMaker LTS 2024/2026 and GML 2.3+. It utilizes an MCP server, Python-based CLI scripts, and the Igor build tool for project management.
Why this beats prompting it yourself
Generic AI often suggests deprecated GML functions or creates malformed .yy JSON that crashes the IDE. This skill is grounded in the specific requirements of the GameMaker compiler, enforcing modern best practices like constructor usage and static scoping that generic models often overlook.
Use cases
- Scaffold a complete game prototype from a folder of raw art assets.
- Fix "resourceType: expected" errors and other common project corruption issues.
- Implement a pixel-perfect collision system for tilemaps and objects.
- Audit a project for memory leaks in dynamic resources like buffers and surfaces.
Known limitations
Does not support GameMaker versions older than 2.3. Requires the project to follow the standard .yyp file structure. GML validation is limited to known pitfalls and documented runtime functions.
- The validator does not parse GML syntax. Syntax errors show up when you compile in GameMaker.
- References to assets inside GML code (e.g.
instance_create_layer(..., obj_missing)) are not checked against the project. The assistant has to read the code for those. - It checks GameMaker LTS 2024/2026 projects (Format 2.0). Older 2.3/2022 projects mostly work, but they aren't tested.
- It does not cover extensions (Steamworks, FMOD), shaders, sequences or particle systems in depth.
- The skill reads and validates. Creating assets or building the game is up to you, the IDE, or the extended edition.
- It needs Python 3.9+ with Pillow.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
2 uses
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 23 days ago
- Free with an Agensi account
Requires