Expand handpainted tactical maps
38
docs/battle-map-terrain-atlas-pipeline.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# Hand-Painted Tactical Map Pipeline
|
||||
|
||||
## Scope
|
||||
|
||||
The first three campaign battles now use the same hand-painted tactical map pipeline. The renderer still reads the original scenario tile coordinates and battle logic; only the map texture asset changes from flat/vector map art to low-contrast raster terrain.
|
||||
|
||||
## Art Direction
|
||||
|
||||
- Units must read before the terrain at 100% desktop browser scale.
|
||||
- Terrain uses muted greens, ochre roads, dark blue-green water, and compact structure markers.
|
||||
- Roads, forests, rivers, camps, villages, cliffs, and forts should be recognizable by silhouette and texture, not by high saturation.
|
||||
- The grid remains subtle and embedded in the paint grade, so it helps targeting without becoming the main visual layer.
|
||||
|
||||
## Generator
|
||||
|
||||
`scripts/generate-handpaint-map-sample.py` reads terrain and unit positions from `src/game/data/scenario.ts`, then outputs a WebP map and documentation previews.
|
||||
|
||||
Example:
|
||||
|
||||
```powershell
|
||||
python scripts/generate-handpaint-map-sample.py --map second --webp-quality 90
|
||||
python scripts/generate-handpaint-map-sample.py --map third --webp-quality 90
|
||||
```
|
||||
|
||||
## Current Assets
|
||||
|
||||
- `src/assets/images/battle/first-battle-map.webp`
|
||||
- `src/assets/images/battle/second-battle-map.webp`
|
||||
- `src/assets/images/battle/third-battle-map.webp`
|
||||
|
||||
## QA Outputs
|
||||
|
||||
- `docs/second-battle-map-handpaint-before-after.png`
|
||||
- `docs/second-battle-map-handpaint-preview.png`
|
||||
- `docs/third-battle-map-handpaint-before-after.png`
|
||||
- `docs/third-battle-map-handpaint-preview.png`
|
||||
|
||||
Browser screenshots are saved per verification run after build/deploy.
|
||||
BIN
docs/second-battle-map-handpaint-before-after.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
docs/second-battle-map-handpaint-local-active-check.png
Normal file
|
After Width: | Height: | Size: 101 KiB |
BIN
docs/second-battle-map-handpaint-local-battle-check.png
Normal file
|
After Width: | Height: | Size: 99 KiB |
BIN
docs/second-battle-map-handpaint-preview.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
docs/second-battle-map-handpaint-prod-active-check.png
Normal file
|
After Width: | Height: | Size: 91 KiB |
BIN
docs/third-battle-map-handpaint-before-after.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
docs/third-battle-map-handpaint-local-active-check.png
Normal file
|
After Width: | Height: | Size: 104 KiB |
BIN
docs/third-battle-map-handpaint-local-battle-check.png
Normal file
|
After Width: | Height: | Size: 102 KiB |
BIN
docs/third-battle-map-handpaint-preview.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
docs/third-battle-map-handpaint-prod-active-check.png
Normal file
|
After Width: | Height: | Size: 104 KiB |