Discover and explore top open-source AI tools and projects—updated daily.
aldegadAI generates game-ready sprite atlases
Top 66.1% on SourcePulse
Summary
aldegad/sprite-gen addresses the common problem of AI-generated sprite sheets being unusable in game engines due to inconsistencies and poor asset quality. It provides a pipeline to transform a single base image and action prompts into clean, game-ready sprite atlases with real alpha channels and machine-readable manifests. This benefits game developers by automating the tedious process of cleaning up and preparing generated sprites for integration.
How It Works
The project employs a component-row pipeline: generating state rows, cleaning alpha channels, extracting individual frames, and composing runtime atlases. It ensures character identity consistency across frames, converts chroma key backgrounds to true alpha, and outputs a transparent sprite sheet (sprite-sheet-alpha.png) alongside a manifest.json.frame_layout detailing absolute frame rectangles. This approach guarantees engine-consumable assets without guesswork.
Quick Start & Requirements
pip install -e . after cloning.venv setup fails.prepare_sprite_run.py), generating raw state images, extracting frames (extract_sprite_row_frames.py), optional curation (serve_curation.py), and baking the atlas (compose_sprite_atlas.py).docs/architecture.md.python3 scripts/serve_curation.py --run-dir <run-dir> --lang en|ko.Highlighted Details
sprite-sheet-alpha.png) with verified alpha and a runtime manifest (manifest.json.frame_layout) specifying exact frame rectangles for engine sampling.unpack_atlas_run.py script can process any folder of image candidates (icons, logos) for selection and refinement.Maintenance & Community
No specific details regarding maintainers, community channels (e.g., Discord, Slack), sponsorships, or active development roadmaps are provided in the README.
Licensing & Compatibility
The project is licensed under the Apache-2.0 license. This license is permissive and generally allows for commercial use and integration into closed-source projects.
Limitations & Caveats
The project explicitly marks cyclic locomotion states (walk/run) as experimental unless motion quality assurance passes. While generation achieves approximately 90% of the desired result, the remaining 10% necessitates human curation via the provided webview. Setup requires careful attention to Python virtual environment configuration.
1 day ago
Inactive
heygen-com