Skip to content

[3/3] art: draw Rusty Creek's parallax layers from region-wide plates - #151

Merged
arudaev merged 2 commits into
mainfrom
art/150-creek-region-plates
Oct 24, 2026
Merged

arudaev merged 2 commits into
mainfrom
art/150-creek-region-plates

Conversation

@arudaev

@arudaev arudaev commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

What and why

Rusty Creek's 01-distance (scroll 0.2), 06-near-rails (1.1) and 07-foliage (1.15) were drawn per chunk. In the game each layer sits at its chunk's origin and moves at its scroll. The 0.2 sky of the next chunk then slides over this one's with a hard vertical edge, and the foreground copies drift apart, leaving holes. Each is now one region-wide plate, quilted with depth_layers.py region (the method from #148). Shared plates ("= left") resolve through media-sources.json. The plates are cut into 2160 px tiles, tile j carried by chunk j, so lane B's loader needs no change. export_stage.py --verify still rebuilds all six chunk states exactly at rest from their own plates.

Comparison (AGENTS.md rule 4)

parallax.png shows the anomaly creek at camera x = 0, 1500, 3000, 4400 and 5200, as the game draws it. The sky and trees run through with no edges; rails and foliage have no gaps.

How to test

python scripts/compare.py parallax art/stages/rusty-creek --state clean --at 0 1000 2000 3000 4000 5200 --out tmp/rc.png
python scripts/export_stage.py art/stages/rusty-creek --out tmp/stages --verify

In the game, once lane B's loader is in: walk through ?region=rusty-creek and watch the sky across the chunk borders at x = 2160 and 4320.

Issue

Closes #150

Stack

Verification

  • export_stage.py --verify: rc-0-0 to rc-2-0, both states, exact at rest
  • script tests and check_docs.py

@arudaev arudaev self-assigned this Oct 24, 2026
@vercel

vercel Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
wincs Ready Ready Preview Oct 24, 2026 12:39am UTC

Request Review

@github-actions github-actions Bot added area:art Sprite sheets, stage plates, direction pack area:stage Chunks, layers, collision, clean/anomaly states area:pipeline Rerunnable art and export scripts area:docs Design docs, README, contributor guides labels Oct 24, 2026
@arudaev
arudaev added this pull request to stack #152 October 24, 2026 00:37
Base automatically changed from art/50-prologue-chunks to main October 24, 2026 00:39
@arudaev
arudaev force-pushed the art/150-creek-region-plates branch from 374f004 to a0cc2dd Compare October 24, 2026 00:39
@arudaev
arudaev merged commit 35e9111 into main Oct 24, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:art Sprite sheets, stage plates, direction pack area:docs Design docs, README, contributor guides area:pipeline Rerunnable art and export scripts area:stage Chunks, layers, collision, clean/anomaly states

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[M4-S0] Rusty Creek: region-wide plates for its parallax layers

1 participant