调整 LightGame 平台碰撞与门尺寸,修复测试编译
- LightPlatform / ShadowPlatform:移除单向板碰撞逻辑,改为完整 tile 碰撞体 - Door:碰撞箱从 32x64 改为 32x32,与单 tile 素材匹配 - 修复 game_engine_tests 编译:补全 LevelData 初始化字段,增加缺失的 include path
This commit is contained in:
@@ -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}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user