技能低风险未认领
Game Universe Studio
Use when building a browser game prototype (Canvas, WebGL, Three.js, PixiJS, Babylon) and its character turnaround sheet, sprite set, procedural Web Audio sound effects or showcase card. Checks the game's asset manifest with game_manifest_validator.py before you ship it.
alirezarezvanialirezarezvani/game-universe-studio
说明
Plan the assets of a small browser game as one JSON manifest, then check that manifest before any art is generated or any code is wired up. The manifest holds the viewport, the main character's turnaround sheet and palette, the sprite animations, the procedural sound cues and the showcase card. A mismatch found here costs a JSON edit; found after the sprites are drawn, it costs a redraw.
Camera moves and shot language are out of scope; use cinematic-shot-prompting for those.
Workflow
- Write the manifest. Start from
examples/indie-game-showcase-manifest.json. Field rules are inreferences/game-manifest-schema.md. - Lock the character. Fill
characterwith all four turnaround views, the sheet size and 3 to 6 palette colors, and write the image prompt fromreferences/character-ortho-spec.md(head-unit proportions, HEX palette, invariant features, no perspective change between views). - Define the sounds. Each
audio_cuesentry is one oscillator sweep. Build them with the recipes inreferences/web-audio-synth-primitives.md, resume theAudioContexton the first user gesture, and keep peak gain at or below 0.4. - Validate. Fix every BLOCKER; read each WARN and fix it or keep it on purpose:
Exit 0 means valid, 1 means BLOCKERs (or WARNs underpython3 scripts/game_manifest_validator.py --manifest game-manifest.json python3 scripts/game_manifest_validator.py --manifest game-manifest.json --strict --format json--strict), 2 means the file is missing or not a JSON object. Run--sampleto see a passing report. - Only then generate. Generate the turnaround sheet first, then sprites from it, so every frame inherits the locked palette and proportions.
What the validator checks
| Area | BLOCKER | WARN |
|---|---|---|
| Meta | missing title, unknown engine |
game_id not kebab-case |
| Viewport | width or height missing or not positive | aspect_ratio disagrees with width:height |
| Character | missing turnaround view, palette outside 3 to 6 colors, invalid HEX | |
| Sprites | frames, fps or tile_size not positive, no action |
no sprites defined |
| Audio | gain outside (0, 1], frequency outside 20 Hz to 20 kHz, duration not positive | unknown oscillator type, gain above 0.4 |
| Showcase card | contrast_ratio below 4.5 (WCAG 2.2 AA body text) |
invalid theme_accent HEX |
The validator checks numbers it is given. It does not measure contrast from colors or listen to audio; contrast_ratio is the value you measured.
权限
python检查
低风险 · 没有发现需要提醒的地方。
未经人工审核 · 已做规则检查;模型审核尚未开启。
文件6 个文件 · 21.0 KB
- SKILL.md2.8 KB
examples/1
- indie-game-showcase-manifest.json1.6 KB
references/3
- character-ortho-spec.md1.9 KB
- game-manifest-schema.md2.6 KB
- web-audio-synth-primitives.md2.2 KB
scripts/1
- game_manifest_validator.pyx9.9 KB
版本
- #12.14.15最新2026年11月21日