This commit is contained in:
pan@work
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", "defaultSkin": "default",
"defaultAnimation": "Idle", "defaultAnimation": "Idle",
"_premultipliedAlpha": true, "_premultipliedAlpha": true,
"_timeScale": 0.8, "_timeScale": 0.9,
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"_sockets": [], "_sockets": [],

View File

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

View File

@@ -1635,10 +1635,10 @@
"height": 107, "height": 107,
"rawWidth": 128, "rawWidth": 128,
"rawHeight": 107, "rawHeight": 107,
"borderTop": 40, "borderTop": 50,
"borderBottom": 41, "borderBottom": 48,
"borderLeft": 30, "borderLeft": 52,
"borderRight": 28, "borderRight": 52,
"packable": true, "packable": true,
"pixelsToUnit": 100, "pixelsToUnit": 100,
"pivotX": 0.5, "pivotX": 0.5,
@@ -3797,10 +3797,10 @@
"height": 62, "height": 62,
"rawWidth": 60, "rawWidth": 60,
"rawHeight": 62, "rawHeight": 62,
"borderTop": 0, "borderTop": 22,
"borderBottom": 0, "borderBottom": 23,
"borderLeft": 0, "borderLeft": 24,
"borderRight": 0, "borderRight": 23,
"packable": true, "packable": true,
"pixelsToUnit": 100, "pixelsToUnit": 100,
"pivotX": 0.5, "pivotX": 0.5,
@@ -8029,10 +8029,10 @@
"height": 56, "height": 56,
"rawWidth": 36, "rawWidth": 36,
"rawHeight": 56, "rawHeight": 56,
"borderTop": 0, "borderTop": 30,
"borderBottom": 0, "borderBottom": 20,
"borderLeft": 0, "borderLeft": 16,
"borderRight": 0, "borderRight": 16,
"packable": true, "packable": true,
"pixelsToUnit": 100, "pixelsToUnit": 100,
"pivotX": 0.5, "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(){ hh_show(){
this.node.getChildByName("hero_home").setPosition(v3(0,0,0)); this.node.getChildByName("hero_home").active = true;
} }
hh_hide(){ hh_hide(){
this.node.getChildByName("hero_home").setPosition(v3(1000,0,0)); this.node.getChildByName("hero_home").active = false;
} }
mh_show(){ mh_show(){
this.node.getChildByName("mission_home").setPosition(v3(0,0,0)); this.node.getChildByName("mission_home").active=true;
} }
mh_hide(){ mh_hide(){
this.node.getChildByName("mission_home").setPosition(v3(1000,0,0)); this.node.getChildByName("mission_home").active=false;
} }
m_show(){ m_show(){
this.node.getChildByName("mission").setPosition(v3(0,0,0)); this.node.getChildByName("mission").active = true;
} }
m_hide(){ m_hide(){
this.node.getChildByName("mission").setPosition(v3(1000,0,0)); this.node.getChildByName("mission").active = false;
} }
to_mission(){ to_mission(){
this.hh_hide() this.hh_hide()