调整 LightGame 平台碰撞与门尺寸,修复测试编译

- LightPlatform / ShadowPlatform:移除单向板碰撞逻辑,改为完整 tile 碰撞体
- Door:碰撞箱从 32x64 改为 32x32,与单 tile 素材匹配
- 修复 game_engine_tests 编译:补全 LevelData 初始化字段,增加缺失的 include path
This commit is contained in:
2026-06-11 15:27:57 +08:00
parent 48fd7818d7
commit d49aef8c0f
5 changed files with 25 additions and 20 deletions
+2
View File
@@ -159,6 +159,8 @@ if(BUILD_TESTING AND NOT USE_FRAMEBUFFER)
target_include_directories(game_engine_tests PRIVATE
src/Apps/LightGame/src/engine
src/Apps/LightGame/src/systems
src/Apps/LightGame/src/levels
src/Apps/LightGame/generated
${CORE_INCLUDE_DIRS}
)