flip-asset-budget
Installation
SKILL.md
Flip: Asset Budget
Flip measures load and runtime cost in a real browser. Plan for phones first.
| Budget | Target | Hard limit |
|---|---|---|
Playable (signalStart()) |
5 s | 10 s |
| Transfer before SDK connects | 5 MB | 15 MB |
| Build | 24 MiB, 400 files, 8 MiB per file | larger only with an exact-build exception |
| Draw calls per frame (phone) | ≤150 | warning |
| Triangles per frame (phone) | ≤150k | warning |
| Texture size (phone) | ≤2048 px | warning |
flip check prints these numbers for your build before you push; Create shows them on Playtest and in Launch's checklist. The phone rows apply when Plays on includes phones (devices "desktop+phone" or "phone").
Audio: use Opus (.ogg/.opus) or AAC (.m4a/.aac), never WAV or FLAC. Load music after signalStart(); only short effects belong in first load. iOS plays nothing before a user gesture, so start audio from the first input handler (tap, key or controller press).
Images: WebP or AVIF for photos, SVG or PNG for flat art, KTX2 for GPU textures. Use atlases to cut draw calls and requests.