refactor(游戏逻辑): 调整剑士基础攻击滑动参数并移除测试场景的默认缩放

修改剑士基础攻击的滑动配置参数使其更平衡
移除GameMapTestScene中的默认缩放设置
This commit is contained in:
2026-04-05 00:58:12 +08:00
parent 5e80df040b
commit dd67577c80
2 changed files with 4 additions and 4 deletions

View File

@@ -16,9 +16,9 @@ struct AttackSlideConfig {
constexpr AttackSlideConfig kAttackSlideConfigs[] = { constexpr AttackSlideConfig kAttackSlideConfigs[] = {
{0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f},
{16.0f, 28.0f, 0.08f}, {10.0f, 15.0f, 0.15f},
{20.0f, 34.0f, 0.09f}, {10.0f, 15.0f, 0.15f},
{24.0f, 40.0f, 0.10f}, {10.0f, 15.0f, 0.15f},
}; };
} // namespace } // namespace

View File

@@ -40,7 +40,7 @@ void GameMapTestScene::onEnter() {
} }
cameraController_.SetMap(map_.Get()); cameraController_.SetMap(map_.Get());
cameraController_.SetZoom(1.2f); // cameraController_.SetZoom(1.2f);
cameraController_.SetTarget(character_.Get()); cameraController_.SetTarget(character_.Get());
cameraController_.SetDebugEnabled(false); cameraController_.SetDebugEnabled(false);
if (character_) { if (character_) {