Specification v1.0 Standard
SpriteFlow Open Manifest Specification v1.0
The cross-engine JSON schema standard for living game assets and texture atlases.
Standard Execution Pipeline
1. Style DNA Spec Validation
Verifies 16-color palette indexation, pixel scale modulus, and zero prompt hallucination.
2. MaxRects POT Bin Packing
Packs frames into power-of-two (POT) texture boundaries with 2px alpha dilation bleed.
3. Native Engine Code Generation
Emits Godot 4.x AtlasTexture (.tres), Unity 2022+ (.meta), and SpriteFlow JSON manifests.
Specification Overview
The SpriteFlow manifest (`spriteflow.manifest.json`) defines standardized sprite coordinates, UV mappings, 9-slice borders, and animation sequences.JSON Schema Structure
{
"$schema": "https://spriteflow.dev/schemas/v1/manifest.json",
"generator": "SpriteFlow Pipeline Engine v1.0.0",
"meta": {
"image": "atlas.png",
"format": "RGBA8888",
"size": { "w": 512, "h": 512 },
"potSize": { "w": 512, "h": 512 },
"padding": 2
},
"frames": {
"hero_sword": {
"frame": { "x": 2, "y": 2, "w": 32, "h": 32 },
"uv": { "u0": 0.0039, "v0": 0.0039, "u1": 0.0664, "v1": 0.0664 },
"pivot": { "x": 0.5, "y": 0.5 }
}
}
}