- Home
- Skills
- Game Development
- midev-art-pro: Pixel Art Game Assets from Code
More screenshots
Works with the AI Agents you already use
midev-art-pro: Pixel Art Game Assets from Code
Generate engine-ready 2D pixel art and animations using deterministic Python recipes and midev-tools.
$5
midev-art-pro: Pixel Art Game Assets from Code
Example session with this skill installed
I need a 16px loot icon set for a fantasy game using the ember_dusk palette. Include a gold coin, a red heart, and a blue potion. Save them as a single sheet for a Godot tileset.
- Read your context and instructions
- Compiled the midev-art-pro
I have generated the loot icon recipe. It uses the ember_dusk palette and ensures all colors are mapped to verified aliases. The spritesheet was verified with 0 palette bleeds and 0 alpha violations.
Loot Icon Recipe and Metadata
from midev.art import Canvas, SheetBuilder
from midev.art.generators import icon
def build(ctx):
sb = SheetBuilder(ctx, frame_size=(16, 16))
# Define colors from ember_dusk palette
GOLD = ctx.palette.get("amber_500")
HEART_RED = ctx.palette.get("ruby_600")
POTION_BLUE = ctx.palette.get("azure_400")
OUTLINE = ctx.palette.get("ink_900")
# Gold Coin
with sb.track("coin", frames=1):
c = Canvas(16, 16)
c.draw_circle((8, 8), 6, fill=GOLD, outline=OUTLINE)
sb.add_frame(c)
# Red Heart
with sb.track("heart", frames=1):
c = Canvas(16, 16)
c.draw_rect((4, 6, 12, 10), fill=HEART_RED) # Simplified heart shape
c.draw_pixel([(7,5), (8,5), (5,5), (10,5)], fill=HEART_RED)
sb.add_frame(c)
# Blue Potion
with sb.track("potion_blue", frames=1):
c = Canvas(16, 16)
c.draw_rect((6, 8, 10, 14), fill=POTION_BLUE, outline=OUTLINE)
c.draw_rect((7, 5, 9, 7), fill=POTION_BLUE, outline=OUTLINE)
sb.add_frame(c)
sb.save(ctx.sprites, formats=["png", "godot_tileset"])
sb.preview_gif(ctx.preview)
Next steps
- Run
python midev.py build loot_iconsto generate the PNG and.tresfiles. - Check
projects/fantasy_game/previews/loot_icons.gifto verify the pixel shapes. - Adjust the
GOLDorPOTION_BLUEconstants in the recipe to match specific gameplay rarities.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing 2D game assets usually involves fragile binary files and manual pixel-pushing that breaks version control. This skill replaces manual drawing with deterministic Python recipes using the midev-tools framework to generate engine-ready sprites, tilesets, and UI components.
What it does
- Recipe-based generation creates spritesheets, autotiles, and UI kits via Python code rather than binary image editing.
- Engine integration exports Godot 4 TileSets, Tiled .tsx files, and TexturePacker-ready JSON metadata automatically.
- Automated verification checks every asset for palette compliance, alpha violations, and frame consistency.
- Animation sequencing handles complex pose patterns, frame counts, and origin point alignment for character movement.
- Procedural VFX generates particle-like effects and 9-slice UI elements using specialized generator libraries.
How it works
- Setup the environment by cloning the midev-tools repository and running the doctor command to verify the Python 3.12+ runtime.
- Select a palette from the curated library, such as ember_dusk, to ensure color consistency across all game assets.
- Write or adapt recipes in the projects directory, utilizing the Pose pattern for characters or AutotileGenerator for terrain.
- Execute the verification loop using inspect, build, and validate commands to catch off-palette pixels or motion pops before export.
Frameworks & tools
This tool requires Python 3.12+ and midev-tools. It generates assets specifically for Godot 4, Tiled, and TexturePacker, utilizing the pixelkit API for raster operations.
Why this beats prompting it yourself
Standard LLM prompts for images produce non-deterministic, non-tiling, and unoptimized PNGs that fail technical game engine requirements. This skill writes structured code that guarantees 0 palette bleeds, exact frame multiples, and perfectly aligned collision origins every time.
Use cases
- Generate a full platformer hero spritesheet with idle, run, and jump tracks.
- Create 47-tile Wang blob autotiles for terrain that tile perfectly in Godot.
- Build a cohesive HUD/UI kit with 9-slice buttons and inventory icons.
- Produce animated VFX like explosions or magic effects with strict palette limits.
Known limitations
Requires Python 3.12 or higher. Alpha transparency is strictly binary (0 or 255); semi-transparency requires dithering. High-complexity per-pixel loops in recipes may cause build timeouts.
Requires Python 3.12+. Supports only binary alpha (0 or 255). No support for hand-drawn binary editing; all changes must be made in Python recipes.
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
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 11 days ago
Requires
Permissions
File Scopes
Terminal: runs the midev-tools CLI (build, inspect, validate). Read Files: reads recipes and the inspection images it renders to check its own work. Write Files: writes recipe .py files and build output inside the midev-tools folder. Network Access: only for the one-time git clone of midev-tools and installing its two Python dependencies (Pillow, resvg-py). No API keys, no accounts, no data leaves your machine.