Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    GameMaker Expert

    1

    Expert GameMaker development, project validation, and GML 2.3+ optimization for LTS versions.

    Free

    2 usesSecurity scanned
    GameMaker Expert

    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

    #WhereProblemFix
    1rooms/rm_dungeon/rm_dungeon.yyTile layer Tiles_Walls is missing x and y, so GameMaker refuses to load the roomAdded "x": 0, "y": 0 to the layer
    2rooms/rm_dungeon/rm_dungeon.yyInstance inst_0366BDEF uses obj_chest, which doesn't exist in the projectRemoved the instance and its entry in the room's creation order (create obj_chest first if you want a chest there)
    3tilesets/ts_dungeon/No output_tileset.png: the walls will collide but never drawOpen ts_dungeon in the IDE and press save once; GameMaker regenerates the image
    4objects/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 hpRenamed create.gml → Create_0.gml
    5obj_hero Step, line 4instance_create() was removed from GameMaker: it compiles, then crashes when you press SpaceReplaced it with instance_create_layer(x, y, "Instances", ...)
    6obj_hero Step, line 4It 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
    7obj_hero Create + Collisionhealth is the built-in global, so every instance shares itSwitched to an instance variable hp
    8obj_hero Step, line 2Sets hspeed and does x += hspeed: GameMaker already applies hspeed, so the hero moves twice as fastUses 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

    1. Open the project, double-click ts_dungeon and save, so the walls draw again.
    2. Decide what the attack should be, and I'll create obj_slash with a short lifetime and a collision with obj_slime.
    3. The hero has no wall collision yet. If you want, I'll add tilemap collision on Tiles_Walls with place_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_create with 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

    1. Analyze project structure using gm_read_project to catalog assets, room orders, and version data from the .yyp file.
    2. Modify assets and code by either using specific creation tools or editing .yy files according to the project-format.md reference.
    3. Run local validation with gm_validate_project to catch corruption or GML pitfalls before attempting a build.
    4. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables
    Listed24 days ago

    What's inside

    Frequently Asked Questions

    No. Reading, validating and the references work on any machine with Python. You only need GameMaker to build the game.

    No. All tools in this skill only read. Any changes are made by your assistant, and you can review them as usual.

    Any agent that loads `SKILL.md` skills or MCP servers: Claude Code, Claude Desktop, GitHub Copilot (agent mode), Cursor, Windsurf and other MCP clients.

    The behaviour the docs describe was measured on GameMaker runtime 2026.0.0.23. Every GML snippet is compiled with GameMaker's compiler and checked against the runtime's API in the test suite.

    No. Everything runs locally, and the tools make no network connections.

    New in Game Development