S5.1: 1280x720 display, camera and grid alignment #5

Merged
Devin merged 2 commits from slice/s5-1-display-camera-grid into main 2026-10-01 19:28:15 +00:00
2 changed files with 14 additions and 0 deletions
Showing only changes of commit 7c2c08e180 - Show all commits
+4
View File
@@ -18,6 +18,10 @@ The project reference viewport is **1280×720**, with canvas-item stretching and
`Camera2D` follows the player after each valid action and is bounded to the map's world rectangle. The public HUD nodes stay below `HUD` (`CanvasLayer`, layer 1), so they remain viewport-anchored rather than moving with the camera.
### S5.1 verification note
The S5.1 contract—1280×720 reference viewport, actor rectangle, and camera behavior—is covered by the dedicated tests and visual capture check. This note records coverage only; it does not assert an execution result.
## Optional ASCII audio layout
Audio is optional presentation. Its absence, unknown requests, missing folders, bad files, and unsupported codecs never affect a turn or game startup. No audio files ship with this repository.
+10
View File
@@ -16,3 +16,13 @@ The S4 prototype may discover admitted audio filenames under the configured ASCI
## Verification coverage
Unit and E2E coverage create both a structurally nominal WAV and a truncated/invalid WAV in the external layout. They assert discovery remains diagnostic-only, neither file is playable through the public API, and combat still resolves normally. The README now states that discovery does not promise readability or playback.
## S5.1 RED evidence reconstruction
On base `515cf72`, a test referencing `Game.REFERENCE_VIEWPORT` produced:
```text
SCRIPT ERROR: Parse Error: Cannot find member REFERENCE_VIEWPORT in base Game
```
The runner exited with status `1`.