👉 The episode explained + sources : https://et-si.xyz/en/repo-of-the-day/what-if-a-prompt-became-a-playable-game-character/
📚 The whole series : https://et-si.xyz/en/repo-of-the-day/
🌐 Every « What if… » : https://et-si.xyz/en/

One sentence, one pixel-art knight, twenty playable poses. My agent installed sprite-gen, an open-source tool by Alex Kim (Apache-2.0), then started from a single text prompt. An image model, outside the tool, draws one row of four poses per action on magenta; sprite-gen removes the magenta, cuts each row into four poses and packs everything into a transparent atlas plus a manifest your game engine can read. On my PC, everything after the drawing took under four seconds. Not perfect: in the attack, the slash floats loose from the sword, so that frame needs a redo. Link in the comments. Inspired-by notices (hatch-pet, perfectpixel-studio, MIT) are in the repo NOTICE. (AI-generated voice and images.)

Sources :
• sprite-gen — https://github.com/aldegad/sprite-gen

#whatif #didyouknow #opensource #github #gamedev #pixelart #aiagents #indiedev #RepoOfTheDay

Category

🤖
Tech

Recommended