diff --git a/assets/script/game/map/MissionComp.ts b/assets/script/game/map/MissionComp.ts index 2faff639..93c7c619 100644 --- a/assets/script/game/map/MissionComp.ts +++ b/assets/script/game/map/MissionComp.ts @@ -382,15 +382,12 @@ export class MissionComp extends CCComp { label.string = `第 ${wave}/20 波`; } - // 阶段切换动感表现:针对阶段变化加入缩放与回弹动画,让流程充满心流体验 - if (targetPhase === MissionPhase.PrepareStart || - targetPhase === MissionPhase.PrepareEnd || - targetPhase === MissionPhase.BattleStart || - targetPhase === MissionPhase.BattleEnd) { - Tween.stopAllByTarget(phaseNode); - phaseNode.scale = v3(0.5, 0.5, 1); - tween(phaseNode) - .to(0.3, { scale: v3(1.5, 1.5, 1) }, { easing: "backOut" }) + // 阶段切换动感表现:只在进入战斗阶段跳动一下,让流程充满心流体验 + if (targetPhase === MissionPhase.BattleStart) { + Tween.stopAllByTarget(this.time_node); + this.time_node.scale = v3(1, 1, 1); + tween(this.time_node) + .to(0.3, { scale: v3(1.2, 1.2, 1) }, { easing: "backOut" }) .to(0.2, { scale: v3(1, 1, 1) }, { easing: "sineInOut" }) .start(); }