英雄成长页面开始
This commit is contained in:
116
assets/resources/game/heros/herois.plist
Normal file
116
assets/resources/game/heros/herois.plist
Normal file
@@ -0,0 +1,116 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>frames</key>
|
||||||
|
<dict>
|
||||||
|
<key>a1.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{7,2}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{92,114}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{180,144}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{247,146},{92,114}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>a2.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{13,5}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{96,120}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{180,144}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{1,146},{96,120}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>a3.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{9,6}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{92,122}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{180,144}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{123,146},{92,122}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>k1.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{5,2}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{130,143}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{234,171}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{1,1},{130,143}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>k2.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{5,2}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{130,143}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{234,171}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{133,1},{130,143}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>k3.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{5,2}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{130,143}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{234,171}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{265,1},{130,143}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
<key>metadata</key>
|
||||||
|
<dict>
|
||||||
|
<key>format</key>
|
||||||
|
<integer>3</integer>
|
||||||
|
<key>pixelFormat</key>
|
||||||
|
<string>RGBA8888</string>
|
||||||
|
<key>premultiplyAlpha</key>
|
||||||
|
<false/>
|
||||||
|
<key>realTextureFileName</key>
|
||||||
|
<string>herois.png</string>
|
||||||
|
<key>size</key>
|
||||||
|
<string>{396,243}</string>
|
||||||
|
<key>smartupdate</key>
|
||||||
|
<string>$TexturePacker:SmartUpdate:3644c5476e6ef56d26fa97dc4382d772:156b7df819ef5f4513212d0a9ac11dda:93964f5048646c99da4e4e399b4d643e$</string>
|
||||||
|
<key>textureFileName</key>
|
||||||
|
<string>herois.png</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
293
assets/resources/game/heros/herois.plist.meta
Normal file
293
assets/resources/game/heros/herois.plist.meta
Normal file
@@ -0,0 +1,293 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.8",
|
||||||
|
"importer": "sprite-atlas",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d",
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"8c932": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d@8c932",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "8c932",
|
||||||
|
"name": "a1",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": true,
|
||||||
|
"offsetX": 7,
|
||||||
|
"offsetY": 2,
|
||||||
|
"trimX": 247,
|
||||||
|
"trimY": 146,
|
||||||
|
"width": 92,
|
||||||
|
"height": 114,
|
||||||
|
"rawWidth": 180,
|
||||||
|
"rawHeight": 144,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [],
|
||||||
|
"indexes": [],
|
||||||
|
"uv": [],
|
||||||
|
"nuv": [],
|
||||||
|
"minPos": [],
|
||||||
|
"maxPos": []
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "ff2de696-adce-4f5d-8fca-d6d66d3746a7@6c48a",
|
||||||
|
"atlasUuid": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"6d000": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d@6d000",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "6d000",
|
||||||
|
"name": "a2",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": true,
|
||||||
|
"offsetX": 13,
|
||||||
|
"offsetY": 5,
|
||||||
|
"trimX": 1,
|
||||||
|
"trimY": 146,
|
||||||
|
"width": 96,
|
||||||
|
"height": 120,
|
||||||
|
"rawWidth": 180,
|
||||||
|
"rawHeight": 144,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [],
|
||||||
|
"indexes": [],
|
||||||
|
"uv": [],
|
||||||
|
"nuv": [],
|
||||||
|
"minPos": [],
|
||||||
|
"maxPos": []
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "ff2de696-adce-4f5d-8fca-d6d66d3746a7@6c48a",
|
||||||
|
"atlasUuid": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"9692c": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d@9692c",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "9692c",
|
||||||
|
"name": "a3",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": true,
|
||||||
|
"offsetX": 9,
|
||||||
|
"offsetY": 6,
|
||||||
|
"trimX": 123,
|
||||||
|
"trimY": 146,
|
||||||
|
"width": 92,
|
||||||
|
"height": 122,
|
||||||
|
"rawWidth": 180,
|
||||||
|
"rawHeight": 144,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [],
|
||||||
|
"indexes": [],
|
||||||
|
"uv": [],
|
||||||
|
"nuv": [],
|
||||||
|
"minPos": [],
|
||||||
|
"maxPos": []
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "ff2de696-adce-4f5d-8fca-d6d66d3746a7@6c48a",
|
||||||
|
"atlasUuid": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"b78da": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d@b78da",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "b78da",
|
||||||
|
"name": "k1",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 5,
|
||||||
|
"offsetY": 2,
|
||||||
|
"trimX": 1,
|
||||||
|
"trimY": 1,
|
||||||
|
"width": 130,
|
||||||
|
"height": 143,
|
||||||
|
"rawWidth": 234,
|
||||||
|
"rawHeight": 171,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [],
|
||||||
|
"indexes": [],
|
||||||
|
"uv": [],
|
||||||
|
"nuv": [],
|
||||||
|
"minPos": [],
|
||||||
|
"maxPos": []
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "ff2de696-adce-4f5d-8fca-d6d66d3746a7@6c48a",
|
||||||
|
"atlasUuid": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"656aa": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d@656aa",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "656aa",
|
||||||
|
"name": "k2",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 5,
|
||||||
|
"offsetY": 2,
|
||||||
|
"trimX": 133,
|
||||||
|
"trimY": 1,
|
||||||
|
"width": 130,
|
||||||
|
"height": 143,
|
||||||
|
"rawWidth": 234,
|
||||||
|
"rawHeight": 171,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [],
|
||||||
|
"indexes": [],
|
||||||
|
"uv": [],
|
||||||
|
"nuv": [],
|
||||||
|
"minPos": [],
|
||||||
|
"maxPos": []
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "ff2de696-adce-4f5d-8fca-d6d66d3746a7@6c48a",
|
||||||
|
"atlasUuid": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"f9fc4": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d@f9fc4",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "f9fc4",
|
||||||
|
"name": "k3",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 5,
|
||||||
|
"offsetY": 2,
|
||||||
|
"trimX": 265,
|
||||||
|
"trimY": 1,
|
||||||
|
"width": 130,
|
||||||
|
"height": 143,
|
||||||
|
"rawWidth": 234,
|
||||||
|
"rawHeight": 171,
|
||||||
|
"borderTop": 0,
|
||||||
|
"borderBottom": 0,
|
||||||
|
"borderLeft": 0,
|
||||||
|
"borderRight": 0,
|
||||||
|
"packable": true,
|
||||||
|
"pixelsToUnit": 100,
|
||||||
|
"pivotX": 0.5,
|
||||||
|
"pivotY": 0.5,
|
||||||
|
"meshType": 0,
|
||||||
|
"vertices": {
|
||||||
|
"rawPosition": [],
|
||||||
|
"indexes": [],
|
||||||
|
"uv": [],
|
||||||
|
"nuv": [],
|
||||||
|
"minPos": [],
|
||||||
|
"maxPos": []
|
||||||
|
},
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "ff2de696-adce-4f5d-8fca-d6d66d3746a7@6c48a",
|
||||||
|
"atlasUuid": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"atlasTextureName": "herois.png",
|
||||||
|
"format": 3,
|
||||||
|
"uuid": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d",
|
||||||
|
"textureUuid": "ff2de696-adce-4f5d-8fca-d6d66d3746a7@6c48a"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/resources/game/heros/herois.png
Normal file
BIN
assets/resources/game/heros/herois.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
42
assets/resources/game/heros/herois.png.meta
Normal file
42
assets/resources/game/heros/herois.png.meta
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "ff2de696-adce-4f5d-8fca-d6d66d3746a7",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "ff2de696-adce-4f5d-8fca-d6d66d3746a7@6c48a",
|
||||||
|
"displayName": "herois",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "repeat",
|
||||||
|
"wrapModeT": "repeat",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "ff2de696-adce-4f5d-8fca-d6d66d3746a7",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": true,
|
||||||
|
"type": "texture",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "ff2de696-adce-4f5d-8fca-d6d66d3746a7@6c48a"
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -117,7 +117,7 @@
|
|||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0,
|
"y": -8.744,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 1,
|
"x": 1,
|
||||||
"y": 1,
|
"y": -1,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
"_mobility": 0,
|
"_mobility": 0,
|
||||||
@@ -158,7 +158,7 @@
|
|||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 700,
|
"width": 700,
|
||||||
"height": 500
|
"height": 520
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
@@ -252,8 +252,8 @@
|
|||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -270,
|
"x": -278.1,
|
||||||
"y": 163.185,
|
"y": 169.665,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -388,8 +388,8 @@
|
|||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -270,
|
"x": -278.1,
|
||||||
"y": 163.185,
|
"y": 169.665,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -524,8 +524,8 @@
|
|||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -270,
|
"x": -278.1,
|
||||||
"y": 163.185,
|
"y": 169.665,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -660,8 +660,8 @@
|
|||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -270,
|
"x": -278.1,
|
||||||
"y": 163.185,
|
"y": 169.665,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -796,8 +796,8 @@
|
|||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -270,
|
"x": -278.1,
|
||||||
"y": 163.185,
|
"y": 169.665,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -932,8 +932,8 @@
|
|||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -270,
|
"x": -278.1,
|
||||||
"y": 163.18499999999995,
|
"y": 169.665,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -1041,8 +1041,6 @@
|
|||||||
"__id__": 0
|
"__id__": 0
|
||||||
},
|
},
|
||||||
"fileId": "8e1IRM125CG58Vuf8pEptA",
|
"fileId": "8e1IRM125CG58Vuf8pEptA",
|
||||||
"instance": null,
|
|
||||||
"targetOverrides": null,
|
|
||||||
"nestedPrefabInstanceRoots": null
|
"nestedPrefabInstanceRoots": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1109,7 +1107,7 @@
|
|||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 630,
|
"width": 650,
|
||||||
"height": 240
|
"height": 240
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
@@ -1212,7 +1210,7 @@
|
|||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": -182.246,
|
"y": -187.243,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -1224,8 +1222,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,
|
||||||
@@ -1576,8 +1574,8 @@
|
|||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -200,
|
"x": -217.488,
|
||||||
"y": 161.461,
|
"y": 175.201,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -39,13 +39,29 @@ export class CardControllerComp extends CCComp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
hh_show(){
|
||||||
|
this.node.getChildByName("hero_home").setPosition(v3(0,0,0));
|
||||||
|
}
|
||||||
|
hh_hide(){
|
||||||
|
this.node.getChildByName("hero_home").setPosition(v3(1000,0,0));
|
||||||
|
}
|
||||||
|
mh_show(){
|
||||||
|
this.node.getChildByName("mission_home").setPosition(v3(0,0,0));
|
||||||
|
}
|
||||||
|
mh_hide(){
|
||||||
|
this.node.getChildByName("mission_home").setPosition(v3(1000,0,0));
|
||||||
|
}
|
||||||
|
m_show(){
|
||||||
|
this.node.getChildByName("mission").setPosition(v3(0,0,0));
|
||||||
|
}
|
||||||
|
m_hide(){
|
||||||
|
this.node.getChildByName("mission").setPosition(v3(1000,0,0));
|
||||||
|
}
|
||||||
to_mission(){
|
to_mission(){
|
||||||
this.node.getChildByName("mission_home").active=true
|
this.hh_hide()
|
||||||
this.node.getChildByName("mission").active=false
|
this.mh_show()
|
||||||
|
this.m_hide()
|
||||||
this.node.getChildByName("bar").active=true;
|
this.node.getChildByName("bar").active=true;
|
||||||
this.node.getChildByName("hero_home").active=false
|
|
||||||
this.node.getChildByName("shop_home").active=false
|
|
||||||
this.node.getChildByName("bar").getChildByName("mission_btn").getChildByName("bg").active=true
|
this.node.getChildByName("bar").getChildByName("mission_btn").getChildByName("bg").active=true
|
||||||
this.node.getChildByName("bar").getChildByName("hero_btn").getChildByName("bg").active=false
|
this.node.getChildByName("bar").getChildByName("hero_btn").getChildByName("bg").active=false
|
||||||
this.node.getChildByName("bar").getChildByName("home_btn").getChildByName("bg").active=false
|
this.node.getChildByName("bar").getChildByName("home_btn").getChildByName("bg").active=false
|
||||||
@@ -53,23 +69,23 @@ export class CardControllerComp extends CCComp {
|
|||||||
}
|
}
|
||||||
mission_start(){
|
mission_start(){
|
||||||
this.node.getChildByName("bar").active=false;
|
this.node.getChildByName("bar").active=false;
|
||||||
this.node.getChildByName("mission_home").active=false
|
this.mh_hide()
|
||||||
this.node.getChildByName("mission").active=true
|
this.m_show();
|
||||||
smc.vmdata.mission.play = true;
|
smc.vmdata.mission.play = true;
|
||||||
// oops.message.dispatchEvent("mission_start")
|
// oops.message.dispatchEvent("mission_start")
|
||||||
}
|
}
|
||||||
to_home(){
|
to_home(){
|
||||||
this.node.getChildByName("mission_home").active=false
|
this.mh_hide()
|
||||||
this.node.getChildByName("hero_home").active=false
|
this.hh_hide()
|
||||||
this.node.getChildByName("shop_home").active=true
|
this.m_hide()
|
||||||
this.node.getChildByName("bar").getChildByName("mission_btn").getChildByName("bg").active=false
|
this.node.getChildByName("bar").getChildByName("mission_btn").getChildByName("bg").active=false
|
||||||
this.node.getChildByName("bar").getChildByName("hero_btn").getChildByName("bg").active=false
|
this.node.getChildByName("bar").getChildByName("hero_btn").getChildByName("bg").active=false
|
||||||
this.node.getChildByName("bar").getChildByName("home_btn").getChildByName("bg").active=true
|
this.node.getChildByName("bar").getChildByName("home_btn").getChildByName("bg").active=true
|
||||||
}
|
}
|
||||||
to_hero(){
|
to_hero(){
|
||||||
this.node.getChildByName("mission_home").active=false
|
this.mh_hide()
|
||||||
this.node.getChildByName("hero_home").active=true
|
this.hh_show()
|
||||||
this.node.getChildByName("shop_home").active=false
|
this.m_hide()
|
||||||
this.node.getChildByName("bar").getChildByName("mission_btn").getChildByName("bg").active=false
|
this.node.getChildByName("bar").getChildByName("mission_btn").getChildByName("bg").active=false
|
||||||
this.node.getChildByName("bar").getChildByName("hero_btn").getChildByName("bg").active=true
|
this.node.getChildByName("bar").getChildByName("hero_btn").getChildByName("bg").active=true
|
||||||
this.node.getChildByName("bar").getChildByName("home_btn").getChildByName("bg").active=false
|
this.node.getChildByName("bar").getChildByName("home_btn").getChildByName("bg").active=false
|
||||||
|
|||||||
Reference in New Issue
Block a user