Back to News
Advertisement
ggste about 4 hours ago 4 commentsRead Article on geosona.com

DE version is available. Content is displayed in original English for accuracy.

This started life as a graphics tool for a specific problem: gen AI can make retro-styled sprites but can't follow exact hardware constraints of pixels and colors.

While building this I liked the idea that I can fan-out to any retro videogame console or handheld's specifications.

I then devised my own declarative language - Demotic - to express the game you want to build as concisely and naturally as possible without implementation detail. To work on different machines, you use relative units, like vw, vh, vmin, vmax.

It has a web UI, CLI and NPM package. Still a work in progress.

Advertisement

⚡ Community Insights

Discussion Sentiment

100% Positive

Analyzed from 262 words in the discussion.

Trending Topics

#more#art#pixel#game#specific#cool#edge#aware#pixelation#net

Discussion (4 Comments)Read Original on HackerNews

andai28 minutes ago
I saw this cool article yesterday about edge aware pixelation. That might give better results when pixelizing AI generated pixel art.

https://yogthos.net/posts/2025-12-11-edge-aware-pixelation.h...

More broadly I often find pixel art that has been upscaled and I'm wondering if anyone knows a good way to convert that back into the original?

In theory you just need to sample the middle of each blob, but I haven't found traditional image editors to be very helpful in this process.

bensyversonabout 1 hour ago
This is super cool! I like the idea of expressing the game declaratively, with a language that an LLM can easily understand. Do you have any other demos of what the language is capable of? I'm wondering if this could do a platformer or adventure style game.

Are there any device capability guards, so more capable systems within a tier (like SNES vs NES) could attempt more complex graphics, sounds or interactions? What works on the Game Boy is different enough from what's possible on the SNES that you may want some way to express that. Or to make it dynamic, like "make the number of enemies the number of supported sprites - 2"

gsteabout 1 hour ago
There are more examples on the bottom bar of the screen. I figured it wouldn't be obvious enough.

Yeah, there's the potential for that. I have a concept of a "Demakefile" for implementation specific differences, if you want the art demaker to target specific art styles on specific platforms, etc.

But yeah a future enhancement could be, e.g. display more enemies or more sprites for more powerful systems. That's a grey area as I suppose it has to go in the declarative script (Demotic) and I'd have to make a distinction between more and less powerful consoles. Right now it's one script for everything

benj11143 minutes ago
Interesting. How do you prevent rounding errors etc for different screen sizes? Some things could be 1 pixel in one version and 2x2 or 1x2 in another version.

And why does it play top to bottom when the 'net' suggests it should be side to side?