Skip to content

Commit 3c77f9d

Browse files
author
DavidQ
committed
Bootstraps real tool-editable Asteroids asset data objects so the new data folders contain usable editor/project JSON instead of only placeholders.
BUILD_PR_LEVEL_10_06_ASSET_DATA_BOOTSTRAP_ASTEROIDS
1 parent 90036b0 commit 3c77f9d

12 files changed

Lines changed: 156 additions & 11 deletions

docs/dev/CODEX_COMMANDS.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@ MODEL: GPT-5.4
22
REASONING: high
33

44
COMMAND:
5-
- create missing data/ folders under:
6-
games/Asteroids/assets/{sprites,tilemaps,parallax,vectors}/data
7-
- ensure structure exists even if empty (.gitkeep allowed)
8-
- do not delete or move runtime assets
5+
- add initial real tool-editable JSON bootstrap objects under:
6+
- games/Asteroids/assets/sprites/data/
7+
- games/Asteroids/assets/tilemaps/data/
8+
- games/Asteroids/assets/parallax/data/
9+
- games/Asteroids/assets/vectors/data/
10+
- keep runtime assets untouched
11+
- use minimal but real JSON objects, not placeholders only
12+
- align names with current Asteroids asset intent where practical
913
- do not modify engine code
1014
- commit format:
1115
description first line

docs/dev/COMMIT_COMMENT.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Create missing Asteroids asset data folders with .gitkeep placeholders while preserving runtime assets and existing structure.
2-
BUILD_PR_LEVEL_10_05_ASSET_STRUCTURE_MIGRATION_ASTEROIDS
1+
Add real Asteroids tool-editable bootstrap JSON objects across sprites/tilemaps/parallax/vectors data folders while keeping runtime assets untouched.
2+
BUILD_PR_LEVEL_10_06_ASSET_DATA_BOOTSTRAP_ASTEROIDS

docs/dev/NEXT_COMMAND.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
BUILD_PR_LEVEL_10_06_ASSET_DATA_BOOTSTRAP
1+
BUILD_PR_LEVEL_10_07_ASTEROIDS_PROJECT_JSON_ALIGNMENT
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Adds required data/ folders for Asteroids assets.
1+
Adds real bootstrap JSON objects under the Asteroids asset data folders.
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
[ ] run Validate-All.ps1 → PASS
21
[ ] run Validate-All.ps1 -ValidateAssetStructure → PASS
3-
[ ] confirm data/ folders exist
2+
[ ] confirm sprites/data contains real JSON
3+
[ ] confirm tilemaps/data contains real JSON
4+
[ ] confirm parallax/data contains real JSON
5+
[ ] confirm vectors/data contains real JSON
6+
[ ] confirm runtime assets were not moved/deleted

docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@
460460

461461
## 10. Assets & Data Policy
462462
- [.] shared asset policy defined at planning level
463-
- [ ] game asset ownership normalized
463+
- [.] game asset ownership normalized
464464
- [ ] sample asset ownership normalized
465465
- [ ] tool demo asset ownership normalized
466466
- [ ] promotion criteria for shared assets enforced
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# BUILD_PR — LEVEL 10_06 — ASSET DATA BOOTSTRAP (ASTEROIDS)
2+
3+
## Objective
4+
Bootstrap real tool-editable data objects for Asteroids assets so the new `data/` folders stop being placeholders and begin serving as actual editor/project surfaces.
5+
6+
## Scope
7+
- add initial tool-editable JSON objects under:
8+
- `games/Asteroids/assets/sprites/data/`
9+
- `games/Asteroids/assets/tilemaps/data/`
10+
- `games/Asteroids/assets/parallax/data/`
11+
- `games/Asteroids/assets/vectors/data/`
12+
- align bootstrap data with the current runtime assets where practical
13+
- keep runtime assets untouched
14+
- prepare the repo for the next lane where project/manifests can point to real editable data
15+
16+
## Out of Scope
17+
- no engine changes
18+
- no runtime asset moves/deletes
19+
- no gameplay changes
20+
- no tool UI changes
21+
- no broad multi-game rollout yet
22+
23+
## Bootstrap Direction
24+
The bootstrap objects should be minimal but real:
25+
- valid JSON
26+
- named to match actual Asteroids asset intent
27+
- structured so tools can evolve them later
28+
- clearly tool/editor-facing, not runtime-facing
29+
30+
Where practical:
31+
- vector data objects should reflect current vector asset identities
32+
- parallax data objects should reflect current parallax asset identities
33+
- sprite/tilemap data objects should provide a starter project surface even if runtime assets remain primary for now
34+
35+
## Roadmap Instruction
36+
Update roadmap status only where this PR clearly advances tracked work.
37+
Do not change roadmap prose except for previously approved additions already in flight.
38+
39+
## What to Execute
40+
PowerShell:
41+
scripts/PS/validate/Validate-All.ps1 -ValidateAssetStructure
42+
43+
Then manually verify:
44+
- the four Asteroids `data/` folders contain real JSON files, not only `.gitkeep`
45+
- names are aligned with Asteroids asset intent
46+
47+
## Expected
48+
- validation remains PASS
49+
- real bootstrap JSON files exist in all four Asteroids asset data folders
50+
51+
## Acceptance Criteria
52+
- all four Asteroids asset `data/` folders contain at least one real JSON bootstrap file
53+
- runtime assets remain untouched
54+
- validation still passes
55+
- roadmap receives status-only updates where applicable
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"schema": "html-js-gaming.tool-data.parallax-layer",
3+
"version": 1,
4+
"id": "tooldata.asteroids.parallax.overlay",
5+
"name": "Asteroids Overlay Parallax Layer",
6+
"runtimeSource": "games/Asteroids/assets/parallax/asteroids-overlay.parallax.json",
7+
"role": "gameplay-overlay",
8+
"imageId": "image.asteroids-bezel",
9+
"enabled": true
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"schema": "html-js-gaming.tool-data.parallax-layer",
3+
"version": 1,
4+
"id": "tooldata.asteroids.parallax.title",
5+
"name": "Asteroids Title Parallax Layer",
6+
"runtimeSource": "games/Asteroids/assets/parallax/asteroids-title.parallax.json",
7+
"role": "title-frame",
8+
"imageId": "image.asteroids-preview",
9+
"enabled": true
10+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"schema": "html-js-gaming.tool-data.sprite-project",
3+
"version": 1,
4+
"id": "tooldata.asteroids.sprites.demo",
5+
"name": "Asteroids Demo Sprite Project",
6+
"runtimeSource": "games/Asteroids/assets/sprites/asteroids-demo.sprite.json",
7+
"frames": [
8+
{ "id": "player-ship", "label": "Player Ship" },
9+
{ "id": "player-bullet", "label": "Player Bullet" },
10+
{ "id": "asteroid-large", "label": "Asteroid Large" },
11+
{ "id": "asteroid-medium", "label": "Asteroid Medium" },
12+
{ "id": "asteroid-small", "label": "Asteroid Small" },
13+
{ "id": "title-logo", "label": "Title Logo" },
14+
{ "id": "lives-icon", "label": "Lives Icon" },
15+
{ "id": "game-over-label", "label": "Game Over Label" }
16+
]
17+
}

0 commit comments

Comments
 (0)