加入 等级系统 开始
This commit is contained in:
@@ -51,8 +51,9 @@ export class MissionComp extends CCComp {
|
||||
smc.vmdata.mission_data.current_wave++
|
||||
let wave=smc.vmdata.mission_data.current_wave
|
||||
if(wave==FightSet.FRIEND_WAVE_UP){
|
||||
console.log("[任务系统] FRIEND_WAVE_UP 伙伴选择 :",wave,FightSet.FRIEND_WAVE_UP)
|
||||
let node= this.node.getChildByName("new_hero")
|
||||
tween(node).to(0.3, {position:v3(node.position.x-200,node.position.y,1)}).start()
|
||||
tween(node).to(0.3, {position:v3(280,node.position.y,1)}).start()
|
||||
}
|
||||
if(wave==FightSet.BOSS_WAVE_UP_1){
|
||||
console.log("[任务系统] BOSS_WAVE_UP_1 装备选择 :",wave,FightSet.BOSS_WAVE_UP_1)
|
||||
@@ -217,7 +218,7 @@ export class MissionComp extends CCComp {
|
||||
}
|
||||
hide_call_friend(){
|
||||
let node =this.node.getChildByName("new_hero")
|
||||
tween(node).to(0.3, {position:v3(node.position.x+200,node.position.y,1)}).start()
|
||||
tween(node).to(0.3, {position:v3(480,node.position.y,1)}).start()
|
||||
}
|
||||
/** 视图层逻辑代码分离演示 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user