<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kalle Hiitola</title>
    <description>The latest articles on DEV Community by Kalle Hiitola (@kalle_hiitola_3845831aa4c).</description>
    <link>https://dev.to/kalle_hiitola_3845831aa4c</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4268646%2F5c296722-e92d-46b0-85a6-e1b2ba7eef31.png</url>
      <title>DEV Community: Kalle Hiitola</title>
      <link>https://dev.to/kalle_hiitola_3845831aa4c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kalle_hiitola_3845831aa4c"/>
    <language>en</language>
    <item>
      <title>Why AI Coding Agents Break Pixel Art (And How a 1:1 Indexed MCP Server Fixes It)</title>
      <dc:creator>Kalle Hiitola</dc:creator>
      <pubDate>Fri, 27 Nov 2026 13:04:29 +0000</pubDate>
      <link>https://dev.to/kalle_hiitola_3845831aa4c/why-ai-coding-agents-break-pixel-art-and-how-a-11-indexed-mcp-server-fixes-it-gkn</link>
      <guid>https://dev.to/kalle_hiitola_3845831aa4c/why-ai-coding-agents-break-pixel-art-and-how-a-11-indexed-mcp-server-fixes-it-gkn</guid>
      <description>&lt;p&gt;Ask Claude Code, Cursor, or Codex to scaffold a 2D dungeon platformer in Godot 4, Unity, or Phaser 3 and it will write working movement, collisions, and camera code in five minutes.&lt;/p&gt;

&lt;p&gt;Then look at the sprites.&lt;/p&gt;

&lt;p&gt;You either get colored placeholder rectangles or 1024x1024 diffusion PNGs downscaled into blurry soup: uneven pixel widths ("mixels"), hundreds of off-palette shades, and semi-transparent alpha halos that bleed ugly edges the moment you enable &lt;code&gt;pixelArt: true&lt;/code&gt; or &lt;code&gt;texture_filter = 1&lt;/code&gt; in your game engine.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Root Problem: Continuous Pixels vs. Indexed Grids
&lt;/h2&gt;

&lt;p&gt;Real 2D pixel art is not a low-resolution photo. Every pixel sits on a strict integer lattice (such as &lt;code&gt;16x16&lt;/code&gt; or &lt;code&gt;24x24&lt;/code&gt;), picks from a small locked palette (such as 11 to 16 opaque colors), and uses crisp 1-bit transparency (&lt;code&gt;alpha = 0&lt;/code&gt; or &lt;code&gt;255&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;When you take a continuous image and bilinearly downsample it to &lt;code&gt;24x24&lt;/code&gt;, color count explodes and semi-transparent border pixels appear on every silhouette edge. Once you animate 6 frames, each frame drifts by half a pixel and flickers in motion.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building a Pixel-Native Pipeline for Humans and AI Agents
&lt;/h2&gt;

&lt;p&gt;We built &lt;a href="https://celgrid.ai" rel="noopener noreferrer"&gt;Celgrid&lt;/a&gt; around a strict grid-locked representation instead of post-hoc downscaling:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Direct integer pixel matrices:&lt;/strong&gt; Sprites live as exact indexed matrices locked to an explicit palette (such as Dungeon Apollo, Sweetie 16, Endesga 16, PICO-8, or your own &lt;code&gt;.gpl&lt;/code&gt;/&lt;code&gt;.hex&lt;/code&gt;/&lt;code&gt;.pal&lt;/code&gt; file) with 0 semi-transparent halo pixels.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;3-pass Vision self-critique:&lt;/strong&gt; Each generated animation is rendered onto a contact sheet and checked for silhouette drift, stray pixels, and cycle smoothness before saving.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Ripple Edit (human control + AI propagation):&lt;/strong&gt; Hand-paint a helmet crest, visor glow, or outline tweak on Frame 1 in Celgrid's free browser editor (&lt;a href="https://celgrid.ai/studio" rel="noopener noreferrer"&gt;celgrid.ai/studio&lt;/a&gt;), then let Celgrid diff your exact pixel edits and ripple them across the remaining animation frames.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-friction engine packs:&lt;/strong&gt; Every sprite exports losslessly for &lt;strong&gt;Godot 4&lt;/strong&gt; (&lt;code&gt;animation.tres&lt;/code&gt; + &lt;code&gt;sprite.tscn&lt;/code&gt; with &lt;code&gt;texture_filter = 1&lt;/code&gt;), &lt;strong&gt;Unity 2D&lt;/strong&gt; (&lt;code&gt;sprite.json&lt;/code&gt; + &lt;code&gt;frames/*.png&lt;/code&gt; + &lt;code&gt;CelgridImporter.cs&lt;/code&gt; setting &lt;code&gt;FilterMode.Point&lt;/code&gt; and uncompressed textures), &lt;strong&gt;Phaser 3&lt;/strong&gt; (JSON atlas), and &lt;strong&gt;Aseprite&lt;/strong&gt; (RGBA8888 JSON).&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Giving Claude Code, Cursor, or Codex 10 Pixel-Native Tools in One Command
&lt;/h2&gt;

&lt;p&gt;Celgrid ships both a hosted Streamable HTTP MCP endpoint (&lt;code&gt;https://celgrid.ai/mcp&lt;/code&gt;, published on the Official MCP Registry as &lt;code&gt;ai.celgrid/celgrid&lt;/code&gt;) and a zero-dependency MIT stdio package (&lt;code&gt;npx -y celgrid-mcp&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Hosted Streamable HTTP (Claude Code)&lt;/span&gt;
claude mcp add celgrid --transport http https://celgrid.ai/mcp

&lt;span class="c"&gt;# Or stdio bridge via npm&lt;/span&gt;
claude mcp add celgrid -e &lt;span class="nv"&gt;CELGRID_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;cg_live_your_key -- npx -y celgrid-mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two tools (&lt;code&gt;celgrid_guide&lt;/code&gt; and &lt;code&gt;celgrid_library&lt;/code&gt;) work with zero API key so agents can inspect built-in starter packs immediately. Authenticated calls unlock generation, frame revision, AI Ripple Edit (&lt;code&gt;celgrid_propagate_edit&lt;/code&gt;), and lossless pack exports across every verified account tier (Starter includes 25 free AI credits and $0.50 BYOK fee credit; BYOK runs at $0/mo + flat 15% orchestration fee).&lt;/p&gt;

&lt;h2&gt;
  
  
  Three Free MIT Playable Starter Repos
&lt;/h2&gt;

&lt;p&gt;If you want to test crisp 24x24 sprites inside your engine right away (every repo includes &lt;code&gt;.mcp.json&lt;/code&gt;, &lt;code&gt;CLAUDE.md&lt;/code&gt;, and &lt;code&gt;.cursor/rules/celgrid-pixel-art.mdc&lt;/code&gt;):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Godot 4.3+ Starter:&lt;/strong&gt; &lt;a href="https://github.com/kallehiitola/celgrid-mcp-godot-starter" rel="noopener noreferrer"&gt;github.com/kallehiitola/celgrid-mcp-godot-starter&lt;/a&gt; (&lt;code&gt;project.godot&lt;/code&gt; configured for integer pixel scaling + pre-wired &lt;code&gt;SpriteFrames&lt;/code&gt; &lt;code&gt;.tres&lt;/code&gt; scenes)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unity 2D Starter:&lt;/strong&gt; &lt;a href="https://github.com/kallehiitola/celgrid-mcp-unity-starter" rel="noopener noreferrer"&gt;github.com/kallehiitola/celgrid-mcp-unity-starter&lt;/a&gt; (includes &lt;code&gt;Assets/Editor/CelgridImporter.cs&lt;/code&gt; one-click &lt;code&gt;.anim&lt;/code&gt; importer + &lt;code&gt;CryptboundPlayer2D.cs&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Phaser 3 Starter:&lt;/strong&gt; &lt;a href="https://github.com/kallehiitola/celgrid-mcp-phaser-starter" rel="noopener noreferrer"&gt;github.com/kallehiitola/celgrid-mcp-phaser-starter&lt;/a&gt; (playable in 10 seconds with &lt;code&gt;npm run dev&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can also try the manual pixel editor (0 credits, no login required, free lossless &lt;code&gt;.zip&lt;/code&gt; engine exports, 100% commercial rights on hand-drawn art) right in your browser at &lt;a href="https://celgrid.ai/studio" rel="noopener noreferrer"&gt;celgrid.ai/studio&lt;/a&gt;, or grab MCP client configs at &lt;a href="https://celgrid.ai/agents" rel="noopener noreferrer"&gt;celgrid.ai/agents&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>gamedev</category>
      <category>pixelart</category>
      <category>mcp</category>
      <category>claudecode</category>
    </item>
  </channel>
</rss>
