Skip to content

Commit dc25ce7

Browse files
author
DavidQ
committed
Add Sample 1709 Movement Models Lab to compare direct movement, tank controls, and optional weighted movement with camera follow and visible mode labels.
PR: BUILD_PR_LEVEL_17_39_SAMPLE_1709_MOVEMENT_MODELS_LAB
1 parent f1bc876 commit dc25ce7

10 files changed

Lines changed: 585 additions & 8 deletions

docs/dev/CODEX_COMMANDS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
MODEL: GPT-5.3-codex
22
REASONING: high
3-
COMMAND: Build full mini-game sample using existing engine systems and package to <project folder>/tmp/BUILD_PR_LEVEL_17_38_REAL_GAMEPLAY_SAMPLE.zip
3+
COMMAND: Create Sample 1709 Movement Models Lab using existing engine systems only. Demonstrate direct x/y movement, rotation/tank controls, and optionally weighted movement if already supportable. Add camera follow, visible mode labels, register the sample in samples/index.html, and package the repo-structured result to <project folder>/tmp/BUILD_PR_LEVEL_17_39_SAMPLE_1709_MOVEMENT_MODELS_LAB.zip

docs/dev/COMMIT_COMMENT.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Implement real gameplay sample demonstrating full engine integration including rendering, input, camera, and debug systems.
1+
Add Sample 1709 Movement Models Lab to compare direct movement, tank controls, and optional weighted movement with camera follow and visible mode labels.
22

3-
PR: BUILD_PR_LEVEL_17_38_REAL_GAMEPLAY_SAMPLE
3+
PR: BUILD_PR_LEVEL_17_39_SAMPLE_1709_MOVEMENT_MODELS_LAB
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
- [ ] game runs
2-
- [ ] player movement works
3-
- [ ] camera follows
4-
- [ ] scoring/objective works
5-
- [ ] debug panels active
1+
- [ ] sample loads from samples/index.html
2+
- [ ] direct x/y movement works
3+
- [ ] tank/rotation movement works
4+
- [ ] optional weighted movement works if implemented
5+
- [ ] camera follows correctly in all active modes
6+
- [ ] active mode label/instructions visible
7+
- [ ] no console errors
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# BUILD_PR_LEVEL_17_39_SAMPLE_1709_MOVEMENT_MODELS_LAB
2+
3+
## Purpose
4+
Implement Sample 1709 as a movement-models lab using existing engine systems only.
5+
6+
## Source of Truth
7+
- `docs/pr/PLAN_PR_LEVEL_17_39_SAMPLE_1709_MOVEMENT_MODELS_LAB.md`
8+
- existing Level 17 sample structure (`samples/phase-17/1701` to `1708`)
9+
10+
## Exact Build Target
11+
1. Add sample `samples/phase-17/1709/` with:
12+
- `index.html`
13+
- `main.js`
14+
- one scene file for movement models lab
15+
2. Demonstrate in-scene movement models:
16+
- direct axis movement
17+
- rotation/tank controls
18+
- weighted movement (if supportable within sample scope)
19+
3. Include:
20+
- camera follow behavior
21+
- visible active-mode labeling and concise control hints
22+
- deterministic mode switching controls
23+
4. Register `1709` in `samples/index.html`.
24+
5. Add targeted runtime validation for:
25+
- launcher link presence
26+
- distinct behavior across movement modes
27+
- camera follow updates and mode label visibility
28+
29+
## Non-Goals
30+
- no engine-core changes
31+
- no new shared debug framework features
32+
- no refactors to existing Level 17 samples
33+
- no roadmap status updates
34+
35+
## Packaging Rule
36+
Package only this PR's created/modified files into:
37+
`tmp/BUILD_PR_LEVEL_17_39_SAMPLE_1709_MOVEMENT_MODELS_LAB.zip`
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# PLAN_PR_LEVEL_17_39_SAMPLE_1709_MOVEMENT_MODELS_LAB
2+
3+
## Purpose
4+
Add a focused Level 17 sample that compares movement models without polluting Sample 1708.
5+
6+
## Scope
7+
Create Sample 1709 - Movement Models Lab demonstrating:
8+
- direct x/y movement
9+
- rotation/tank-style movement
10+
- optional physics-weighted movement
11+
12+
## Requirements
13+
- camera follows controlled entity
14+
- on-screen label shows active movement mode
15+
- movement mode switching is obvious and testable
16+
- sample remains educational and isolated
17+
18+
## Out of Scope
19+
- new engine systems
20+
- changes to Sample 1708
21+
- broad control refactors

samples/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,7 @@ <h2>Phase 17 - Rendering Technique Expansion</h2>
509509
<a class="live" href="./phase-17/1706/index.html" title="Minecraft-style filled voxel terrain blocks with visible height variation." data-tags="camera3d, minecraft-style, voxel, terrain, filled-render, scene, themetokens" data-primary="minecraft-voxel-terrain">Sample 1706 - Minecraft Voxel Terrain</a>
510510
<a class="live" href="./phase-17/1707/index.html" title="Minecraft-style voxel chunk-window streaming around a movable camera anchor." data-tags="camera3d, minecraft-style, voxel, chunk-streaming, filled-render, scene, themetokens" data-primary="minecraft-chunk-streaming">Sample 1707 - Minecraft Chunk Streaming</a>
511511
<a class="live" href="./phase-17/1708/index.html" title="Real 3D mini-game loop with movement, hazard interaction, objective scoring, camera follow, and standard 3D debug panels." data-tags="camera3d, gameplay, objective, hazards, debug-panels, scene, themetokens" data-primary="real-gameplay-mini-game">Sample 1708 - Real Gameplay Mini-Game</a>
512+
<a class="live" href="./phase-17/1709/index.html" title="Compares direct axis movement, tank rotation controls, and weighted movement with follow-camera framing." data-tags="camera3d, movement-models, direct-controls, tank-controls, weighted-motion, scene, themetokens" data-primary="movement-models-lab">Sample 1709 - Movement Models Lab</a>
512513
</div>
513514
</section>
514515
<section>

0 commit comments

Comments
 (0)