完成奖励 物品和英雄碎片奖励界面,todo 技能修改为碎片升级+技能升级+ui奖励碎片ui制作

This commit is contained in:
2024-12-17 16:01:50 +08:00
parent c4cb0e737b
commit 3aca9948f2
10 changed files with 1543 additions and 1278 deletions

View File

@@ -22,14 +22,6 @@ export class SingletonModuleComp extends ecs.Comp {
initialize: Initialize = null!;
/** 游戏地图 */
map: GameMap = null!;
cards: any = [
{uuid:9001,type:1},
];
item_list: any = [
{uuid:6005,type:2},{uuid:6006,type:2},{uuid:6101,type:2},{uuid:6102,type:2}, {uuid:6210,type:2},{uuid:6211,type:2},{uuid:6212,type:2},
// {uuid:6213,type:2},{uuid:6214,type:2},{uuid:6215,type:2},
// {uuid:6216,type:2},{uuid:6217,type:2},{uuid:6218,type:2}
];
mission:any={
play:false,
pause:false,
@@ -55,9 +47,9 @@ export class SingletonModuleComp extends ecs.Comp {
};
/** 游戏主角 */
heros:any={
9001:{uuid:9001,lv:1,exp:0,slv:0,stone:0,num:100,x1:0,x10:0},
9002:{uuid:9002,lv:2,exp:0,slv:1,stone:0,num:80,x1:0,x10:0},
9003:{uuid:9003,lv:3,exp:0,slv:2,stone:0,num:90,x1:0,x10:0},
9001:{uuid:9001,lv:1,exp:0,slv:0,stone:0,num:100,x1:1,x10:0},
9002:{uuid:9002,lv:2,exp:0,slv:1,stone:0,num:80,x1:2,x10:0},
9003:{uuid:9003,lv:3,exp:0,slv:2,stone:0,num:90,x1:3,x10:0},
};
goods:any={
free: [ {uuid:9001,num:100000}, {uuid:1001,num:10}, {uuid:1002,num:10}, {uuid:1007,num:10},],
@@ -66,23 +58,23 @@ export class SingletonModuleComp extends ecs.Comp {
goods3:[ {uuid:1007,num:100}, {uuid:9002,num:1} ],
goods4:[ {uuid:9001,num:100}, {uuid:9002,num:1} ],
};
items:{
1001:{num:1000,x1:1,x10:0},
1002:{num:1000,x1:2,x10:0},
1003:{num:1000,x1:3,x10:0},
1004:{num:1000,x1:0,x10:0},
1005:{num:1000,x1:0,x10:0},
1006:{num:1000,x1:0,x10:0},
1007:{num:1000,x1:0,x10:0},
1008:{num:1000,x1:0,x10:0},
1009:{num:1000,x1:0,x10:0},
1010:{num:1000,x1:0,x10:0},
1011:{num:1000,x1:0,x10:0},
1012:{num:1000,x1:0,x10:0},
1013:{num:1000,x1:0,x10:0},
1014:{num:1000,x1:0,x10:0},
1015:{num:1000,x1:0,x10:0},
1016:{num:1000,x1:0,x10:0},
items:any={
1001:{uuid:1001,num:1000,x1:1,x10:0},
1002:{uuid:1002,num:1000,x1:0,x10:0},
1003:{uuid:1003,num:1000,x1:0,x10:0},
1004:{uuid:1004,num:1000,x1:0,x10:0},
1005:{uuid:1005,num:1000,x1:0,x10:0},
1006:{uuid:1006,num:1000,x1:0,x10:0},
1007:{uuid:1007,num:1000,x1:0,x10:0},
1008:{uuid:1008,num:1000,x1:0,x10:0},
1009:{uuid:1009,num:1000,x1:0,x10:0},
1010:{uuid:1010,num:1000,x1:0,x10:0},
1011:{uuid:1011,num:1000,x1:0,x10:0},
1012:{uuid:1012,num:1000,x1:0,x10:0},
1013:{uuid:1013,num:1000,x1:0,x10:0},
1014:{uuid:1014,num:1000,x1:0,x10:0},
1015:{uuid:1015,num:1000,x1:0,x10:0},
1016:{uuid:1016,num:1000,x1:0,x10:0},
};
fight_heros=[9001,9002]
mheros:any = [];