This commit is contained in:
2024-12-02 11:03:15 +08:00
parent 3d03394e50
commit 69ec6c93fc
5 changed files with 870 additions and 1770 deletions

View File

@@ -641,7 +641,7 @@
"defaultSkin": "default",
"defaultAnimation": "Idle",
"_premultipliedAlpha": true,
"_timeScale": 0.8,
"_timeScale": 0.9,
"_preCacheMode": 0,
"_cacheMode": 0,
"_sockets": [],

View File

@@ -61,8 +61,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.7,
"y": 0.7,
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
@@ -170,9 +170,9 @@
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 205,
"g": 255,
"b": 192,
"r": 29,
"g": 180,
"b": 252,
"a": 255
},
"_spriteFrame": {
@@ -291,8 +291,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -5.679,
"y": -18.007,
"x": -1.181,
"y": -14.558,
"z": 0
},
"_lrot": {
@@ -418,7 +418,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 112,
"width": 128,
"height": 120
},
"_anchorPoint": {
@@ -541,7 +541,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": -45.98,
"y": -36.286,
"y": 61.153,
"z": 0
},
"_lrot": {
@@ -1008,7 +1008,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 65.19,
"y": -29.78,
"z": 0
},
"_lrot": {

View File

@@ -1635,10 +1635,10 @@
"height": 107,
"rawWidth": 128,
"rawHeight": 107,
"borderTop": 40,
"borderBottom": 41,
"borderLeft": 30,
"borderRight": 28,
"borderTop": 50,
"borderBottom": 48,
"borderLeft": 52,
"borderRight": 52,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
@@ -3797,10 +3797,10 @@
"height": 62,
"rawWidth": 60,
"rawHeight": 62,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"borderTop": 22,
"borderBottom": 23,
"borderLeft": 24,
"borderRight": 23,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
@@ -8029,10 +8029,10 @@
"height": 56,
"rawWidth": 36,
"rawHeight": 56,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"borderTop": 30,
"borderBottom": 20,
"borderLeft": 16,
"borderRight": 16,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,

File diff suppressed because it is too large Load Diff

View File

@@ -40,22 +40,22 @@ export class CardControllerComp extends CCComp {
}
hh_show(){
this.node.getChildByName("hero_home").setPosition(v3(0,0,0));
this.node.getChildByName("hero_home").active = true;
}
hh_hide(){
this.node.getChildByName("hero_home").setPosition(v3(1000,0,0));
this.node.getChildByName("hero_home").active = false;
}
mh_show(){
this.node.getChildByName("mission_home").setPosition(v3(0,0,0));
this.node.getChildByName("mission_home").active=true;
}
mh_hide(){
this.node.getChildByName("mission_home").setPosition(v3(1000,0,0));
this.node.getChildByName("mission_home").active=false;
}
m_show(){
this.node.getChildByName("mission").setPosition(v3(0,0,0));
this.node.getChildByName("mission").active = true;
}
m_hide(){
this.node.getChildByName("mission").setPosition(v3(1000,0,0));
this.node.getChildByName("mission").active = false;
}
to_mission(){
this.hh_hide()