Show HN: Simple Sprite Sheet Generation
A new web app called AI Game Studio allows users to generate 2D game sprites and animation frames from text prompts. It utilizes xAI / Grok Imagine to create reference sprites and extract PNG frames for use in game engines. The app features a user-friendly interface for saving and loading projects, as well as generating looping animated previews.
- ▪AI Game Studio is a local web app designed for generating 2D game sprites and animations.
- ▪Users can create sprites by typing prompts and generate frames that are automatically chroma-keyed for transparency.
- ▪The app allows for saving and loading projects, and it composes a spritesheet with a looping GIF preview.
Opening excerpt (first ~120 words) tap to expand
AI Game Studio A small local web app for generating 2D game sprites and animation frames from text prompts using xAI / Grok Imagine. Generate a reference sprite → describe motion → get extracted PNG frames → compose a 1×N spritesheet with a looping animated preview. Backgrounds are chroma-keyed to transparency automatically, so frames drop straight into a game engine. Projects can be saved and loaded by name. Full Demo: https://www.youtube.com/watch?v=MijheSPXnDo Requirements Node 20+ ffmpeg on PATH An xAI API key Install git clone <this-repo> cd ai-game-studio npm install cp .env.example .env # then open .env and paste your key: # XAI_API_KEY=xai-... Run npm run dev Open http://localhost:5173. This starts Vite (frontend, :5173) and an Express server (backend, :8787) together.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.