Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Game Sprite Sheet Pipeline: On-Model 2D Sprites & Atlases

    1

    Managing consistent game assets across multiple animations is a manual bottleneck.

    $15

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Game Sprite Sheet Pipeline: On-Model 2D Sprites & Atlases

    Game Sprite Sheet Pipeline: On-Model 2D Sprites & Atlases

    Example session with this skill installed

    Create a sprite sheet pipeline for a 32x32 pixel art protagonist for a Phaser game. I need idle, walk, and jump animations. Style is 4-color GameBoy aesthetic.

    • Read your context and instructions
    • Compiled the game sprite sheet

    I have generated the art bible and technical pipeline for your protagonist. The scripts below will handle the alignment and packing specifically for the Phaser 3 texture packer format.

    Game Sprite Pipeline: Protagonist

    ART BIBLE

    • Palette: #0f380f, #306230, #8bac0f, #9bbc0f (Classic GB)
    • Resolution: 32x32 per frame
    • Pivot: Bottom-center (16, 32)
    • Light Direction: Top-left
    • Naming: hero_{anim}_{frame}.png

    ANIMATION TABLE

    EntityAnimFramesms/frameLoop
    HeroIdle4150Yes
    HeroWalk6100Yes
    HeroJump3100No

    MODEL SHEET PROMPT

    2D pixel art sprite sheet, small protagonist character, 4-color #0f380f #306230 #8bac0f #9bbc0f, 32x32 grid, front view, side view, back view, transparent background, crisp edges, no anti-aliasing.

    PROCESSING SCRIPT

    import json
    from PIL import Image
    import os
    
    def pack_sprites(folder, out_name):
        frames = sorted([f for f in os.listdir(folder) if f.endswith('.png')])
        sheet = Image.new('RGBA', (32 * len(frames), 32))
        atlas = {"frames": {}}
        
        for i, f in enumerate(frames):
            img = Image.open(os.path.join(folder, f))
            sheet.paste(img, (i * 32, 0))
            atlas["frames"][f] = {
                "frame": {"x": i*32, "y": 0, "w": 32, "h": 32},
                "sourceSize": {"w": 32, "h": 32},
                "pivot": {"x": 0.5, "y": 1.0}
            }
        
        sheet.save(f"{out_name}.png")
        with open(f"{out_name}.json", "w") as j:
            json.dump(atlas, j)
    
    # Run: pack_sprites('raw_frames', 'hero_sheet')
    

    PHASER LOADING SNIPPET

    this.load.atlas('hero', 'hero_sheet.png', 'hero_sheet.json');
    // Play animation
    this.anims.create({
        key: 'walk',
        frames: this.anims.generateFrameNames('hero', { prefix: 'hero_walk_', end: 5 }),
        frameRate: 10,
        repeat: -1
    });
    

    Next steps

    1. Use the Model Sheet prompt to generate your base character designs.
    2. Save individual frames into a folder named raw_frames using the naming convention.
    3. Run the pack_sprites.py script to generate the final assets for Phaser.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Managing consistent game assets across multiple animations is a manual bottleneck. A single off-center pivot point or a slight palette shift can break an entire character in-engine. This skill automates the technical pipeline for 2D sprites and sprite sheets.

    What it does

    • Standardizes art bibles by locking hex palettes, resolutions, light directions, and proportions before production starts.
    • Generates animation lists that define frame counts, timing, and looping behavior for every entity.
    • Engineers consistency prompts for AI image tools to keep characters on-model across different poses and actions.
    • Automates sprite packing by writing custom Python or Node scripts to trim, pad, align, and pack frames into sheets.
    • Exports engine metadata in JSON formats compatible with Phaser, Godot, Unity, or PixiJS.
    • Performs QA audits to check for palette drift, stray pixels, and frame jitter.

    How it works

    1. Define the project by providing the target engine, resolution, and art style.
    2. Review the art bible and animation table to ensure the technical constraints match the gameplay needs.
    3. Execute the processing script to transform raw frames into aligned, packed sheets with metadata.
    4. Integrate the output using the provided engine-specific code snippets for loading and playback.

    Frameworks & tools

    Supports Phaser, Godot, Unity, and PixiJS. Generates automation scripts using Python (Pillow) or Node.js.

    Why this beats prompting it yourself

    Generic prompts fail to maintain pixel-perfect alignment and palette consistency across forty separate frames. This skill bridges the gap between raw image generation and engine-ready assets by enforcing strict technical constraints and providing the scripts to handle the math of packing and pivots.

    Use cases

    • Generating a complete hero character sheet with idle, run, and attack cycles.
    • Converting a folder of loose AI-generated frames into a structured JSON atlas.
    • Auditing existing sprite sheets for palette consistency and transparent edge artifacts.
    • Prototyping multi-frame animations for a specific engine like Godot or Phaser.

    Known limitations

    Does not directly generate image files; requires the user to provide raw images or run generated prompts in external tools. Requires a local environment to run the packing scripts.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Game Development.

    It writes prompts but does not generate images itself; you create the frames in your own image tool or by hand. The packing script needs Python with Pillow or Node. AI-generated frames usually need some manual cleanup, especially for pixel art.

    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 buying a skill.

    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

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 17 days ago

    Permissions

    Write Files
    Terminal / Shell
    Read Files
    Listed17 days ago

    What's inside

    Frequently Asked Questions

    Phaser, Godot, Unity and Pixi, or a plain JSON atlas for a custom engine. It includes a snippet to load the atlas and play an animation.

    It writes the prompts for your image tool and the processing script. You generate or draw the frames, and the script packs them.

    A locked art bible sets palette, size, pivot, outline, light direction and proportions, and every prompt repeats the same design words.

    It trims or pads frames to size, aligns them to the pivot, checks palette, packs the sheet with padding, writes the JSON atlas and makes preview GIFs.

    No. It works for pixel art and painted 2D styles.

    No. Source files stay untouched and processed output goes to a new folder.

    New in Game Development