feat(关卡系统): 添加关卡解锁和免广告功能

- 在MissionComp和SCDSystem中添加stop_mon_action检查逻辑
- 修改SingletonModuleComp数据结构,添加noStop和unlockCoin字段
- 为MissionCardComp添加金币解锁和免广告功能
- 调整ubtns.plist的边框值
This commit is contained in:
walkpan
2026-01-06 19:47:11 +08:00
parent bb28492550
commit 0febe02ecc
6 changed files with 4322 additions and 986 deletions

View File

@@ -44,8 +44,6 @@ export class SingletonModuleComp extends ecs.Comp {
in_fight:false,
stop_mon_action:false,
};
guides:any=[0,0,0,0,0]
current_guide:number=0
data:any={
score:0,
mission:1,
@@ -53,8 +51,10 @@ export class SingletonModuleComp extends ecs.Comp {
meat:0,
exp:0,
task:0,
coin:0,
noStop:false,
}
guides:any=[0,0,0,0,0]
current_guide:number=0
fight_hero: number = 5001; // 单个出战英雄
heros:any= [5001,5002]
monsters:any = [];
@@ -71,6 +71,7 @@ export class SingletonModuleComp extends ecs.Comp {
max_mission:4,//最大关卡
coin:0,
time:15*60,//游戏时间
unlockCoin: 20,
},
scores: {
score: 0, // 基础得分