Skip to content

Commit f1bc876

Browse files
author
DavidQ
committed
Implement real gameplay sample demonstrating full engine integration including rendering, input, camera, and debug systems.
PR: BUILD_PR_LEVEL_17_38_REAL_GAMEPLAY_SAMPLE
1 parent f87b13d commit f1bc876

9 files changed

Lines changed: 716 additions & 6 deletions

File tree

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: Implement real gameplay sample using existing engine systems and package to <project folder>/tmp/PLAN_PR_LEVEL_17_38_REAL_GAMEPLAY_SAMPLE.zip
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

docs/dev/COMMIT_COMMENT.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Add real gameplay sample demonstrating full engine integration (rendering, input, camera, debug)
1+
Implement real gameplay sample demonstrating full engine integration including rendering, input, camera, and debug systems.
22

3-
PR: PLAN_PR_LEVEL_17_38_REAL_GAMEPLAY_SAMPLE
3+
PR: BUILD_PR_LEVEL_17_38_REAL_GAMEPLAY_SAMPLE
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
- [ ] sample runs
2-
- [ ] input works
1+
- [ ] game runs
2+
- [ ] player movement works
33
- [ ] camera follows
4-
- [ ] debug panels visible
4+
- [ ] scoring/objective works
5+
- [ ] debug panels active
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# BUILD_PR_LEVEL_17_38_REAL_GAMEPLAY_SAMPLE
2+
3+
## Purpose
4+
Build one real, playable Level 17 mini-game sample using existing engine systems only.
5+
6+
## Source of Truth
7+
- `docs/pr/PLAN_PR_LEVEL_17_38_REAL_GAMEPLAY_SAMPLE.md`
8+
- `docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md` (`## 17. 3D Activation, Validation, and Execution (Phase 16)`)
9+
10+
## Exact Build Target
11+
1. Add new sample `samples/phase-17/1708/` with:
12+
- `index.html`
13+
- `main.js`
14+
- one scene file implementing a complete mini-game loop
15+
2. Integrate sample `1708` into `samples/index.html`.
16+
3. Implement gameplay using existing engine systems only:
17+
- rendering, input, scene/camera, and existing debug providers/panels
18+
- player movement in bounded 3D space
19+
- obstacle/enemy interaction
20+
- objective/score and end-state messaging
21+
- camera follow readability
22+
4. Add targeted runtime validation for sample `1708` behavior and launcher link.
23+
24+
## Non-Goals
25+
- no engine-core feature additions
26+
- no new generic debug framework features
27+
- no additional Level 17 samples beyond `1708`
28+
- no roadmap status updates
29+
30+
## Validation
31+
- sample `1708` link exists in `samples/index.html`
32+
- sample scene updates/render path execute without runtime errors in targeted test
33+
- gameplay loop is verifiably complete (movement + interaction + objective/end-state)
34+
- debug panel/provider integration emits visible panel lines
35+
36+
## Packaging Rule
37+
Package only this PR's created/modified files into:
38+
`tmp/BUILD_PR_LEVEL_17_38_REAL_GAMEPLAY_SAMPLE.zip`

samples/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ <h2>Phase 17 - Rendering Technique Expansion</h2>
508508
<a class="live" href="./phase-17/1705/index.html" title="Unreal-style skinned character presentation with image-backed animation frames." data-tags="camera3d, unreal-style, image-skinned, animation, character, scene, themetokens" data-primary="unreal-skinned-mesh">Sample 1705 - Unreal Skinned Mesh Demo</a>
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>
511+
<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>
511512
</div>
512513
</section>
513514
<section>

0 commit comments

Comments
 (0)