fix: 调整英雄升级所需数量,优化战斗和UI细节
1. 将英雄升级所需数量从2改为3 2. 调整UI3.plist的边框参数 3. 修改地图精灵帧和图集绑定 4. 优化技能提示框动画:减少停留时间并简化漂移淡出逻辑 5. 修改任务卡牌组件:战斗阶段不再隐藏面板,新增战斗阶段无法召唤英雄的限制,注释掉战斗阶段隐藏抽卡面板的代码 6. 重构hnode.prefab的层级和UI组件,调整等级显示样式
This commit is contained in:
@@ -100,7 +100,7 @@ export class TooltipCom extends CCComp {
|
||||
break;
|
||||
case TooltipTypes.skill:
|
||||
const skillConfig = SkillSet[this.s_uuid];
|
||||
const skillName = skillConfig ? "<" + skillConfig.name + ">" : "";
|
||||
const skillName = skillConfig ? skillConfig.name : "";
|
||||
this.setupLabel("skill", "name", skillName+this.value);
|
||||
// this.node.setPosition(v3(this.node.position.x, currentY));
|
||||
this.node.setSiblingIndex(topSiblingIndex);
|
||||
@@ -156,12 +156,11 @@ export class TooltipCom extends CCComp {
|
||||
const isSkill = this.stype === TooltipTypes.skill;
|
||||
|
||||
if (isSkill) {
|
||||
// 技能类型的提示:回弹后停留 0.5 秒,然后向上淡出
|
||||
// 技能类型的提示:回弹后稍作停留,然后原地快速淡出
|
||||
t.to(this.popDuration, { scale: v3(sx * 1.2, 1.2, 1) });
|
||||
t.delay(0.5);
|
||||
t.delay(0.2);
|
||||
t.parallel(
|
||||
tween(this.node).by(this.driftDuration, { position: v3(0, moveY, 0) }, { easing: 'sineOut' }),
|
||||
tween(this._uiOpacity).delay(this.driftDuration - this.fadeDuration).to(this.fadeDuration, { opacity: 0 })
|
||||
tween(this._uiOpacity).to(this.fadeDuration, { opacity: 0 })
|
||||
);
|
||||
} else {
|
||||
// 2. 漂移阶段 (Drift) & 3. 淡出 (Fade)
|
||||
|
||||
Reference in New Issue
Block a user