Skip to content

Commit 90036b0

Browse files
author
DavidQ
committed
Migrates Asteroids assets to required tool-editable structure by adding missing data folders.
BUILD_PR_LEVEL_10_05_ASSET_STRUCTURE_MIGRATION_ASTEROIDS
1 parent a1b0991 commit 90036b0

11 files changed

Lines changed: 45 additions & 15 deletions

File tree

docs/dev/CODEX_COMMANDS.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ MODEL: GPT-5.4
22
REASONING: high
33

44
COMMAND:
5-
- extend Validate-All.ps1
6-
- add checks:
7-
- required folders exist
8-
- scripts in correct directories
9-
- optional asset structure validation
10-
- ensure failures return non-zero exit
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
9+
- do not modify engine code
10+
- commit format:
11+
description first line
12+
PR name last line
13+
- update roadmap status only

docs/dev/COMMIT_COMMENT.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
Extends validation runner with additional repo structure checks.
2-
3-
BUILD_PR_LEVEL_10_04_VALIDATION_EXTENSIONS
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

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_05_ASSET_STRUCTURE_VALIDATION
1+
BUILD_PR_LEVEL_10_06_ASSET_DATA_BOOTSTRAP
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Adds additional validation checks.
1+
Adds required data/ folders for Asteroids assets.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[ ] run validation
2-
[ ] break folder structurefails
3-
[ ] restore → passes
1+
[ ] run Validate-All.ps1 → PASS
2+
[ ] run Validate-All.ps1 -ValidateAssetStructurePASS
3+
[ ] confirm data/ folders exist

docs/dev/roadmaps/MASTER_ROADMAP_HIGH_LEVEL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@
598598
- [x] Expand testing/validation structure
599599

600600
### Repo Operator + Asset Conversion Scripting Lanes
601-
- [ ] Existing games asset folders updated so existing images / vectors / related runtime assets can be transformed into tool-editable `data/` objects, with corresponding project JSON updates
601+
- [.] Existing games asset folders updated so existing images / vectors / related runtime assets can be transformed into tool-editable `data/` objects, with corresponding project JSON updates
602602
- [x] Add the ability for a PowerShell script to create a new game from template, including a project scaffold for the tools
603603
- [x] Add scripts to prep / update / delete the repo so it can be placed on a website
604604
- [x] Add scripts to switch between Pay-as-you-go and Codex plan modes, and scripts to input API key material and validate it
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# BUILD_PR — LEVEL 10_05 — ASSET STRUCTURE MIGRATION (ASTEROIDS)
2+
3+
## Objective
4+
Migrate existing Asteroids game assets into the tool-editable structure required by validation.
5+
6+
## Scope
7+
- add missing `data/` folders under:
8+
- sprites
9+
- tilemaps
10+
- parallax
11+
- vectors
12+
- ensure structure:
13+
assets/<domain>/data/*.json
14+
- do not remove existing runtime assets
15+
- prepare assets for tool editing
16+
17+
## What to Execute
18+
PowerShell:
19+
scripts/PS/validate/Validate-All.ps1 -ValidateAssetStructure
20+
21+
## Expected
22+
- BEFORE: FAIL (missing data folders)
23+
- AFTER: PASS
24+
25+
## Acceptance Criteria
26+
- all required data folders exist
27+
- validator passes with -ValidateAssetStructure
28+
- no runtime assets broken

games/Asteroids/assets/parallax/data/.gitkeep

Whitespace-only changes.

games/Asteroids/assets/sprites/data/.gitkeep

Whitespace-only changes.

games/Asteroids/assets/tilemaps/data/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)