2026-11-03 · 3 min read
Merge Demon: a cyberpunk drawn in code
On 13 October Merge Demon: Cyber Idle was at version 52, 38 milestones. Between 10 and 13 October we built it in layers, choosing to draw almost everything in code in Godot 4.7.
A game built in layers
Merge Demon: Cyber Idle is the game we worked on most these days. On 13 October it was at version 52, with 38 milestones completed. Between 10 and 13 October we laid down layer after layer: the economy, the arena, the panels, the background. One choice comes back in almost every milestone, and it's worth telling: drawing things in code instead of importing them.
No textures: shapes are born in _draw()
The Cyber-Demons are not images. On 10 October we closed the procedural rendering milestone: every demon is drawn entirely in code, in the node's _draw() method, with no imported texture. Clean geometric shapes making up a dark silhouette with a visor. The same goes for the backgrounds: vector scenes in Godot 4.7, built with Polygon2D, Line2D and _draw(). On 13 October two sectors were ready, Sector 0: The Glitched Slums and the Neon-Acheron District, each with its own palette.
The direction started from a Theme resource and a high-contrast palette decided on 10 October: obsidian-black background #05050A, neon lines. Keeping the colours in one place makes every screen consistent without having to go back over it.
Neon glow without per-frame blur
Neon is the easiest thing to get wrong. The comfortable path is a blur computed every frame, and on a phone you pay for it. On 11 October we closed the Neon Glow milestone with pre-rendered halos: no per-frame blur, just halo sprites already prepared. The glow shows, the phone doesn't struggle. It's a choice you only notice when it's missing.
The same day we gave the buttons their three visual states — purchasable with the glow on, off and desaturated when you can't, recharging — and glitch micro-animations on press. Small things, but they're what tell you whether a button responds.
Five panels from the bottom
The interface slides up from the bottom. On 11 October we built the panel framework with animated open and close, then filled them one at a time: the demon Codex and the Objectives panel on 12 October, the Settings panel the same day. The big numbers on the Dark-Coin counter use a monospace font with abbreviated notation, like 1.2K and 3.4M, so they don't jitter as they climb. The damage numbers over enemies are aggregated every 0.25 seconds, so they don't fill the screen with figures; crits come out larger.
360x640, and the contrast check
On 13 October we did a milestone that adds nothing new: a check. All information has to stay readable on a 360x640 screen, with enough contrast between text and background and touch areas large enough. It's the kind of work you don't see in a video, and that you notice right away when it hasn't been done. We put it on the list like any other milestone, because to us it is one.
Merge Demon is published, and you'll find it on its page. The layer that writes and tests these milestones has a name and its own page.
What we take away
- Drawing in code costs more lines up front, but keeps everything in one place: change the palette and the game changes.
- The pre-rendered halo trick gave us neon without making the phone struggle. Comfortable shortcuts aren't always the lightest.
- The readability check is a milestone like the others. If it doesn't make the list, it doesn't happen.