You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes Object Vector Studio V2 centered viewport behavior, palette swatch rendering, Asteroids object-vector manifest validation, and the shared game audio path/playback regression.
6
+
7
+
## Changes
8
+
9
+
- Object Vector Studio V2 now treats canvas origin `0,0` as the center of the SVG work surface.
10
+
- Reset View restores the viewport origin to `0,0` and logs the exact reset state.
11
+
- A visible center-origin dot is drawn at `0,0` in loaded, empty, and palette-blocked render states.
12
+
- Primitive default geometry now lands inside the centered viewport.
13
+
- Palette colors render as square swatches only, with hover/title and aria details for the color label/value.
14
+
- The Object Vector work-area row sizing was tightened so render summary text does not overlap or intercept SVG shape clicks.
15
+
- Asteroids audio now resolves current `asset-manager-v2` manifest IDs directly.
16
+
- Shared game asset catalog loading now reads `game.workspace.tools.asset-manager-v2.assets` and resolves `assets/...` paths against `game.workspace.assetsPath`.
17
+
- Gapless loop playback now records actionable load/play errors instead of failing silently.
18
+
19
+
## Asteroids Object Assets
20
+
21
+
Reviewed `games/Asteroids/game.manifest.json` Object Vector Studio V2 payload:
22
+
23
+
-`object.asteroids.ship`
24
+
-`object.asteroids.asteroid.large`
25
+
-`object.asteroids.asteroid.medium`
26
+
-`object.asteroids.asteroid.small`
27
+
-`object.asteroids.ufo.large`
28
+
-`object.asteroids.ufo.small`
29
+
30
+
Schema check passed against `tools/schemas/tools/object-vector-studio-v2.schema.json` with 6 objects and no validation errors.
-`npx playwright test tests/playwright/tools/WorkspaceManagerV2.spec.mjs --project=playwright --workers=1 --reporter=list -g "shows Object Vector Studio V2 layout shell and schema-only palette gate"`
44
+
-`npm run test:workspace-v2`
45
+
- Object Vector Studio V2 Asteroids manifest schema validation via `ObjectVectorStudioV2SchemaService`
46
+
47
+
Result:
48
+
49
+
-`npm run test:workspace-v2`: 40 passed.
50
+
- Targeted audio/game validation passed for wav playback and wav/mp3 manifest path resolution.
51
+
- Full samples smoke test skipped because this PR is scoped to Workspace Manager V2/Object Vector Studio V2 and affected Asteroids audio path validation; broad sample-loader behavior was not changed.
52
+
53
+
## Manual Validation
54
+
55
+
1. Open Object Vector Studio V2, load a valid object payload and runtime palette, and confirm Reset View returns the work surface to centered origin `0,0`.
56
+
2. Confirm the center dot remains visible and shape clicks work near the center of the surface.
57
+
3. Hover palette swatches and confirm color details are visible.
58
+
4. Launch Asteroids and verify fire/loop sounds play from `game.manifest.json` asset-manager-v2 audio entries.
0 commit comments