Repository navigation
[4/4] feat: export stage regions with the docs/13 manifest - #110
Merged
arudaev merged 4 commits intoOct 23, 2026
Merged
Conversation
This was referenced Oct 23, 2026
5 tasks
3 tasks
…-stage # Conflicts: # .github/workflows/art-pipeline.yml # docs/13-PRODUCTION-PIPELINE.md
arudaev
marked this pull request as ready for review
October 23, 2026 20:50
5 tasks
This was referenced Oct 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
python scripts/export_stage.pyturnsart/stages/into what the game loads. It writesgame/public/assets/stages/<region>/stage.json, the docs/13 manifest Vatsal's loader (#24) and collision (#34) read, and copies every layer plate and collision file next to it.z(the docs/04 role),scrollandfile, plus the state's collision file. Draw in list order: Rusty Creek's soft water goes last, exactly ascreek_layers.pycomposes it. docs/13 now spells the shape out.export.json. Rusty Creek: 3 chunks, clean (clean architecture) and anomaly (supports and traversal), with the right chunk reusing the left's shared plates, each copied once. Hidden Garden:hg-0-0fromsplit_layers.py.art/stages/; copying them would add 18 MB of byte-identical files.game/public/assets/stages/is in.gitignore. The export needs only the standard library, so once [1/4] chore(shared): scaffold the phaser game runtime #94 is on main,predev/prebuildingame/package.jsoncan run it. That's a small shared-file PR after the merge.--verifyrebuilds every state from the exported files in manifest order and compares it with the region's composed art. It now runs in the art CI.Issue
Closes #109
Stack
chore/85-hidden-garden-collisionmainMerge bottom up with merge commits; retarget the next PR to
mainbefore merging it.Verification
python scripts/export_stage.py --verify: rusty-creek has 3 chunks, 6 states and 19 files; hidden-garden has 1 chunk, 1 state and 5 files. All 7 states are rebuilt exactly.python -m unittest discover -s scripts -p "test_*.py": 5 new tests (manifest, shared plates copied once, verify catches a wrong draw order, bad config, the committed regions).python scripts/check_docs.py