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
This change makes Asteroids runtime Object Vector lookup role/tag driven so duplicated or recreated objects can keep rendering even when their object ids change.
8
+
9
+
## Runtime Resolution
10
+
11
+
- Added Asteroids runtime role metadata for ship, large/medium/small asteroids, and large/small UFOs.
12
+
- Asteroids rendering now passes `runtimeRole` and required tags into the Object Vector runtime instead of selecting ship/UFO/asteroids with scene-local hardcoded object ids.
13
+
- Asteroid collision profiles now resolve asteroid objects by role tags before extracting polygon geometry.
14
+
- Explicit `game.gameData.objectVectorRuntime.objectIds` values are preserved as optional binding hints, but tag matches win when a binding points at a stale or old object.
15
+
- Multiple tag matches are ranked by non-old candidates first, then newest manifest order, and an actionable warning lists candidates and the selected object.
16
+
17
+
## Required Tags
18
+
19
+
- Large asteroid: `["asteroid", "large"]`
20
+
- Medium asteroid: `["asteroid", "medium"]`
21
+
- Small asteroid: `["asteroid", "small"]`
22
+
- Ship: `["player", "ship"]`
23
+
- Large UFO: `["ufo", "large"]`
24
+
- Small UFO: `["ufo", "small"]`
25
+
26
+
## Manifest Data
27
+
28
+
- Current Asteroids manifest object metadata already contains the required tags for all runtime roles.
29
+
- No renamed old Medium Asteroid entry is present in the current manifest data.
30
+
- Targeted tests construct a recreated Medium Asteroid with id `object.asteroids.asteroid.medium-recreated` and an old stale medium candidate to verify the active tag-correct object is selected.
31
+
- No vector-map-editor fallback geometry was added or restored.
32
+
33
+
## Validation
34
+
35
+
- PASS - `npm run test:workspace-v2` -> 49 passed.
36
+
- PASS - targeted Asteroids Asset Reference Adoption test for recreated/stale medium asteroid collision profile selection.
37
+
- PASS - targeted Asteroids Platform Demo test for Object Vector runtime tag resolution and stale explicit binding warning.
@@ -40,4 +37,4 @@ PASS - Coverage reporting was generated during `npm run test:workspace-v2`.
40
37
41
38
## PR-Specific Note
42
39
43
-
The Workspace V2 run exercised Object Vector Studio V2 launch, schema loading, schema-driven shape creation, generated Asteroids object-vector payload validation, and Asteroids runtime object-vector loading. Coverage remains advisory only.
40
+
The Workspace V2 run exercised Asteroids gameplay Object Vector runtime loading and rendering with role/tag cache diagnostics, plus Object Vector Studio V2 launch/save flows. Coverage remains advisory only.
PASS - Targeted recreated Medium Asteroid resolution tests confirmed `["asteroid", "medium"]` tags select the recreated object even when an explicit stale medium object id is present.
25
+
26
+
PASS - Targeted Asteroids collision timing/stress checks still load asteroid collision profiles from Object Vector Studio V2 geometry.
this.recordObjectVectorRenderFailure(renderKey,options.assetId||options.objectId,"validated Object Vector runtime assets are not loaded");
856
+
this.recordObjectVectorRenderFailure(renderKey,options.assetId||options.objectId||options.runtimeRole,"validated Object Vector runtime assets are not loaded");
0 commit comments