|
Фаза 4: TallSpec.height в мировых юнитах
- плейсхолдер-колонна: h = tall.height * iso.tileW (вместо px); - удалён устаревший map.screenSize (остался worldBounds в юнитах); - data/map.ts: высота дерева 1.5 юнита (те же 48 px на экране); - .map-файлы перегенерированы (diff — только height: 48 -> 1.5); - parseMap отвергает tall.height > 16 как высоту в px (защита от протухших карт-файлов); - тесты: 186/186. Co-Authored-By: Claude Code <noreply@anthropic.com> |
|---|
|
|
| apps/game/assets/maps/meadows.map |
|---|
| apps/game/assets/maps/ponds.map |
|---|
| apps/game/src/data/map.ts |
|---|
| packages/engine/src/map/IsometricTileMap.ts |
|---|
| packages/engine/src/map/__tests__/mapFormat.test.ts |
|---|
| packages/engine/src/map/mapFormat.ts |
|---|