Load stage map into level definition
This commit is contained in:
@@ -5,13 +5,15 @@
|
||||
## 验收范围
|
||||
|
||||
- 场景入口:`WhiteboxScene`
|
||||
- 关卡数据:`CreateWhiteboxLevel()`
|
||||
- 关卡数据:`game/assets/map/stage_01.map`
|
||||
- 关卡 fallback:`CreateWhiteboxLevel()` 内置 C++ 白盒数据
|
||||
- 世界尺寸:`3200 x 720`
|
||||
- 玩家出生点:`(160, 380)`
|
||||
- 关卡边界:`0 -> 3200`
|
||||
- 视口:`1280 x 720`
|
||||
- Battle zones:`zone_01_intro`、`zone_02_platform`、`zone_03_exit`
|
||||
- 资源槽位:`game/assets/stage/stage_01/`
|
||||
- 地图资源:`game/assets/map/stage_01.map`
|
||||
|
||||
## 构建检查
|
||||
|
||||
@@ -31,6 +33,12 @@ Start-Sleep -Seconds 3
|
||||
if (!$p.HasExited) { Stop-Process -Id $p.Id -Force }
|
||||
```
|
||||
|
||||
资源路径检查:
|
||||
|
||||
```powershell
|
||||
Test-Path build\windows\x64\release\assets\map\stage_01.map
|
||||
```
|
||||
|
||||
### Switch
|
||||
|
||||
```powershell
|
||||
@@ -44,6 +52,12 @@ if (!$p.HasExited) { Stop-Process -Id $p.Id -Force }
|
||||
build\switch\aarch64\release\switch_game\NSUnknownGame.nro
|
||||
```
|
||||
|
||||
RomFS 地图检查:
|
||||
|
||||
```powershell
|
||||
Test-Path build\switch\aarch64\release\switch_game\romfs\assets\map\stage_01.map
|
||||
```
|
||||
|
||||
## 手动跑图检查
|
||||
|
||||
操作映射见 `controls.md`。
|
||||
@@ -66,7 +80,8 @@ build\switch\aarch64\release\switch_game\NSUnknownGame.nro
|
||||
- Windows release 构建:通过。
|
||||
- Windows 3 秒短启动:通过。
|
||||
- Switch `Frostbite2DGameSwitch` 构建:通过。
|
||||
- Switch RomFS:已包含 character、shader 和 `stage_01` 资源槽位。
|
||||
- Switch RomFS:已包含 character、shader、`stage_01` 资源槽位和 `assets/map/stage_01.map`。
|
||||
- 地图加载:`stage_01.map` 已作为第一关主数据源;C++ 白盒数据仅作为 fallback。
|
||||
- 手动跑图:未在本轮执行,等待后续素材/战斗区域进一步接入时复测。
|
||||
|
||||
## 后续补充
|
||||
|
||||
Reference in New Issue
Block a user