Skip to content

Raise the survey camera to 60° and export the embed scene - #5

Merged
Gizmotronn merged 1 commit into
claude/rover-game-module-eq347ofrom
cursor/survey-scene-view-369e
Oct 13, 2026
Merged

Gizmotronn merged 1 commit into
claude/rover-game-module-eq347ofrom
cursor/survey-scene-view-369e

Conversation

@Gizmotronn

Copy link
Copy Markdown
Member

The field survey is now a closer three-quarter scene the host can embed, instead of the steep isometric view with equal SCAN / HUB / LASER buttons.

Camera and art

  • Projection follows a 60° elevation (TILE_W 32, TILE_H 28, TILE_Z 8). Default zoom is 3.2 and the rover is drawn larger. The camera still follows the rover.
  • Existing icy terrain, rocks, and crystal spires stay. Crystal clusters are pale ice, with a cyan ring on the nearest formation in scan range. The opening stand parks beside that crystal.
  • Ambient creatures and grass tufts are gone. The rover tank and the remaining warm accents on the iso rover (insulation, beacon, mining flash, meteor streak) are blue-grey or cyan.

Controls

Stock chrome in @takeon/ui: cream d-pad bottom-left (pointer and WASD/arrows on window), one large SCAN button that pulses while a formation is in range, and SCAN / HUB / LASER as small pills. LASER calls mine(). HUB calls the host onHub or opens a local sheet.

Preview at /survey (web/app/survey/page.tsx).

Embed API

  • createSurveyScene — canvas handle: start, move, scan, laser, hub, snapshot, destroy
  • <TakeOnSurvey> — React host (SurveyScreen is a replaceable slot)
  • mountSurveyScene — Pixi mount plus the same verbs
  • SURVEY_CHROME and surveySnapshot for native chrome that draws its own buttons

docs/INTEGRATION.md documents the three entry points. Default body is Europa; pass body / spec to survey another world. Resume skips the formation teleport so a save is not moved.

Checks

Engine tests: 152 passed. In the browser, the d-pad and ArrowRight changed the canvas, and SCAN stayed the primary control with data-hot set beside the crystal.

Phone portrait 402×874
Landscape 874×402
Desktop 1280×800

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

@Gizmotronn
Gizmotronn marked this pull request as ready for review October 13, 2026 19:39
@Gizmotronn
Gizmotronn merged commit 22caf90 into claude/rover-game-module-eq347o Oct 13, 2026
3 checks passed
@Gizmotronn
Gizmotronn deleted the cursor/survey-scene-view-369e branch October 13, 2026 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants