dd
@@ -163,10 +163,7 @@
|
|||||||
"b": 255,
|
"b": 255,
|
||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": null,
|
||||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@e39fb",
|
|
||||||
"__expectedType__": "cc.SpriteFrame"
|
|
||||||
},
|
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
"_sizeMode": 0,
|
"_sizeMode": 0,
|
||||||
|
|||||||
13
assets/resources/game/heros/knight/1106112.atlas
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
|
||||||
|
1106112.png
|
||||||
|
size: 24, 23
|
||||||
|
format: RGBA8888
|
||||||
|
filter: Linear, Linear
|
||||||
|
repeat: none
|
||||||
|
jia_a1
|
||||||
|
rotate: false
|
||||||
|
xy: 2, 2
|
||||||
|
size: 20, 19
|
||||||
|
orig: 20, 20
|
||||||
|
offset: 0, 1
|
||||||
|
index: -1
|
||||||
12
assets/resources/game/heros/knight/1106112.atlas.meta
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.1",
|
||||||
|
"importer": "*",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "e7cf9980-f27e-42f7-8c52-117c6bc09701",
|
||||||
|
"files": [
|
||||||
|
".atlas",
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
121
assets/resources/game/heros/knight/1106112.json
Normal file
@@ -0,0 +1,121 @@
|
|||||||
|
{
|
||||||
|
"skeleton": { "hash": "tMktZB2MRHg", "spine": "3.8-from-4.0-from-4.1-from-4.2.35", "images": "D:/BaiduNetdiskDownload/1010-Q版日式手游SPINE特效300套/Q版日式手游SPINE特效300套/Q版日式手游SPINE特效300套/010-1106112/0/", "audio": "D:/BaiduNetdiskDownload/1010-Q版日式手游SPINE特效300套/Q版日式手游SPINE特效300套/Q版日式手游SPINE特效300套/010-1106112" },
|
||||||
|
"bones": [
|
||||||
|
{ "name": "root" },
|
||||||
|
{ "name": "zl", "parent": "root" },
|
||||||
|
{ "name": "jia", "parent": "zl" },
|
||||||
|
{ "name": "jia_a1", "parent": "jia" },
|
||||||
|
{ "name": "jia_b1", "parent": "jia" },
|
||||||
|
{ "name": "jia_c1", "parent": "jia" }
|
||||||
|
],
|
||||||
|
"slots": [
|
||||||
|
{ "name": "jia_a1", "bone": "jia_a1", "blend": "additive" },
|
||||||
|
{ "name": "jia_b1", "bone": "jia_b1", "blend": "additive" },
|
||||||
|
{ "name": "jia_c1", "bone": "jia_c1", "blend": "additive" }
|
||||||
|
],
|
||||||
|
"skins": [
|
||||||
|
{
|
||||||
|
"name": "default",
|
||||||
|
"attachments": {
|
||||||
|
"jia_a1": {
|
||||||
|
"jia_a1": { "width": 39, "height": 39 }
|
||||||
|
},
|
||||||
|
"jia_b1": {
|
||||||
|
"jia_a1": { "width": 39, "height": 39 }
|
||||||
|
},
|
||||||
|
"jia_c1": {
|
||||||
|
"jia_a1": { "width": 39, "height": 39 }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"events": {
|
||||||
|
"OnCreateMagicHarm": {},
|
||||||
|
"Skill_Complete": {}
|
||||||
|
},
|
||||||
|
"animations": {
|
||||||
|
"animation": {
|
||||||
|
"slots": {
|
||||||
|
"jia_a1": {
|
||||||
|
"color": [
|
||||||
|
{ "color": "11ff1f00" },
|
||||||
|
{ "time": 0.1667, "color": "4aff55ff", "curve": "stepped" },
|
||||||
|
{ "time": 0.3333, "color": "4aff55ff" },
|
||||||
|
{ "time": 0.6667, "color": "49ff5500" }
|
||||||
|
],
|
||||||
|
"attachment": [
|
||||||
|
{ "name": "jia_a1" },
|
||||||
|
{ "time": 0.6667, "name": null }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"jia_b1": {
|
||||||
|
"color": [
|
||||||
|
{ "color": "ffffffff", "curve": "stepped" },
|
||||||
|
{ "time": 0.0667, "color": "11ff1f00" },
|
||||||
|
{ "time": 0.2333, "color": "4aff55ff", "curve": "stepped" },
|
||||||
|
{ "time": 0.4, "color": "4aff55ff" },
|
||||||
|
{ "time": 0.7333, "color": "49ff5500" }
|
||||||
|
],
|
||||||
|
"attachment": [
|
||||||
|
{ "name": null },
|
||||||
|
{ "time": 0.0667, "name": "jia_a1" },
|
||||||
|
{ "time": 0.7333, "name": null }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"jia_c1": {
|
||||||
|
"color": [
|
||||||
|
{ "color": "ffffffff", "curve": "stepped" },
|
||||||
|
{ "time": 0.0333, "color": "11ff1f00" },
|
||||||
|
{ "time": 0.2, "color": "4aff55ff", "curve": "stepped" },
|
||||||
|
{ "time": 0.3333, "color": "4aff55ff" },
|
||||||
|
{ "time": 0.6333, "color": "49ff5500" }
|
||||||
|
],
|
||||||
|
"attachment": [
|
||||||
|
{ "name": null },
|
||||||
|
{ "time": 0.0333, "name": "jia_a1" },
|
||||||
|
{ "time": 0.6333, "name": null }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"bones": {
|
||||||
|
"jia_a1": {
|
||||||
|
"translate": [
|
||||||
|
{ "x": -11.35, "y": 13.52 },
|
||||||
|
{ "time": 0.6667, "x": -12.35, "y": 37.32 }
|
||||||
|
],
|
||||||
|
"scale": [
|
||||||
|
{ "x": 0.575, "y": 0.575 }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"jia_b1": {
|
||||||
|
"translate": [
|
||||||
|
{ "curve": "stepped" },
|
||||||
|
{ "time": 0.0667, "x": 7.96, "y": 4.61 },
|
||||||
|
{ "time": 0.7333, "x": 15.57, "y": 25.15 }
|
||||||
|
],
|
||||||
|
"scale": [
|
||||||
|
{ "curve": "stepped" },
|
||||||
|
{ "time": 0.0667, "x": 0.575, "y": 0.575 },
|
||||||
|
{ "time": 0.7333, "x": 0.8, "y": 0.8 }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"jia_c1": {
|
||||||
|
"translate": [
|
||||||
|
{ "curve": "stepped" },
|
||||||
|
{ "time": 0.0333, "x": 0.97, "y": 20.65 },
|
||||||
|
{ "time": 0.6333, "x": 1.17, "y": 42.01 }
|
||||||
|
],
|
||||||
|
"scale": [
|
||||||
|
{ "curve": "stepped" },
|
||||||
|
{ "time": 0.0333, "x": 0.2, "y": 0.2 },
|
||||||
|
{ "time": 0.6333, "x": 0.4, "y": 0.4 }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"events": [
|
||||||
|
{ "time": 0.3333, "name": "OnCreateMagicHarm" },
|
||||||
|
{ "time": 1.0333, "name": "Skill_Complete" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
11
assets/resources/game/heros/knight/1106112.json.meta
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.6",
|
||||||
|
"importer": "spine-data",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "34c6d2a6-a6d7-4da3-8e68-f14fe3cda005",
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
BIN
assets/resources/game/heros/knight/1106112.png
Normal file
|
After Width: | Height: | Size: 358 B |
42
assets/resources/game/heros/knight/1106112.png.meta
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "0ff8c958-49f0-4ee3-9c33-3a19bfed5ac4",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "0ff8c958-49f0-4ee3-9c33-3a19bfed5ac4@6c48a",
|
||||||
|
"displayName": "1106112",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "repeat",
|
||||||
|
"wrapModeT": "repeat",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "0ff8c958-49f0-4ee3-9c33-3a19bfed5ac4",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": true,
|
||||||
|
"type": "texture",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "0ff8c958-49f0-4ee3-9c33-3a19bfed5ac4@6c48a"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -942,7 +942,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.PrefabInstance",
|
"__type__": "cc.PrefabInstance",
|
||||||
"fileId": "d2UN4QO+BNroH7L+nRaD81",
|
"fileId": "72SYc3yaFLNq01X46TqgOP",
|
||||||
"prefabRootNode": {
|
"prefabRootNode": {
|
||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
@@ -1142,7 +1142,6 @@
|
|||||||
"__uuid__": "adc4e674-6203-42dd-8224-dffb471648a2",
|
"__uuid__": "adc4e674-6203-42dd-8224-dffb471648a2",
|
||||||
"__expectedType__": "cc.Material"
|
"__expectedType__": "cc.Material"
|
||||||
},
|
},
|
||||||
"BoxRang": null,
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -15,9 +15,9 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{72,75}</string>
|
<string>{72,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{78,1},{72,75}}</string>
|
<string>{{86,69},{72,75}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>1002.png</key>
|
<key>1002.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -30,9 +30,9 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{72,75}</string>
|
<string>{72,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{152,1},{72,75}}</string>
|
<string>{{1,83},{72,75}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>1011.png</key>
|
<key>1011.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -45,9 +45,9 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{72,75}</string>
|
<string>{72,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{226,1},{72,75}}</string>
|
<string>{{78,143},{72,75}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>1012.png</key>
|
<key>1012.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -60,97 +60,7 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{72,75}</string>
|
<string>{72,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{300,1},{72,75}}</string>
|
<string>{{1,157},{72,75}}</string>
|
||||||
<key>textureRotated</key>
|
|
||||||
<false/>
|
|
||||||
</dict>
|
|
||||||
<key>6001.png</key>
|
|
||||||
<dict>
|
|
||||||
<key>aliases</key>
|
|
||||||
<array/>
|
|
||||||
<key>spriteOffset</key>
|
|
||||||
<string>{-1,-1}</string>
|
|
||||||
<key>spriteSize</key>
|
|
||||||
<string>{71,73}</string>
|
|
||||||
<key>spriteSourceSize</key>
|
|
||||||
<string>{75,75}</string>
|
|
||||||
<key>textureRect</key>
|
|
||||||
<string>{{374,1},{71,73}}</string>
|
|
||||||
<key>textureRotated</key>
|
|
||||||
<false/>
|
|
||||||
</dict>
|
|
||||||
<key>6002.png</key>
|
|
||||||
<dict>
|
|
||||||
<key>aliases</key>
|
|
||||||
<array/>
|
|
||||||
<key>spriteOffset</key>
|
|
||||||
<string>{0,0}</string>
|
|
||||||
<key>spriteSize</key>
|
|
||||||
<string>{75,75}</string>
|
|
||||||
<key>spriteSourceSize</key>
|
|
||||||
<string>{75,75}</string>
|
|
||||||
<key>textureRect</key>
|
|
||||||
<string>{{1,1},{75,75}}</string>
|
|
||||||
<key>textureRotated</key>
|
|
||||||
<false/>
|
|
||||||
</dict>
|
|
||||||
<key>6003.png</key>
|
|
||||||
<dict>
|
|
||||||
<key>aliases</key>
|
|
||||||
<array/>
|
|
||||||
<key>spriteOffset</key>
|
|
||||||
<string>{-1,-1}</string>
|
|
||||||
<key>spriteSize</key>
|
|
||||||
<string>{71,73}</string>
|
|
||||||
<key>spriteSourceSize</key>
|
|
||||||
<string>{75,75}</string>
|
|
||||||
<key>textureRect</key>
|
|
||||||
<string>{{447,1},{71,73}}</string>
|
|
||||||
<key>textureRotated</key>
|
|
||||||
<false/>
|
|
||||||
</dict>
|
|
||||||
<key>6004.png</key>
|
|
||||||
<dict>
|
|
||||||
<key>aliases</key>
|
|
||||||
<array/>
|
|
||||||
<key>spriteOffset</key>
|
|
||||||
<string>{0,-1}</string>
|
|
||||||
<key>spriteSize</key>
|
|
||||||
<string>{39,65}</string>
|
|
||||||
<key>spriteSourceSize</key>
|
|
||||||
<string>{75,75}</string>
|
|
||||||
<key>textureRect</key>
|
|
||||||
<string>{{149,78},{39,65}}</string>
|
|
||||||
<key>textureRotated</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
<key>6005.png</key>
|
|
||||||
<dict>
|
|
||||||
<key>aliases</key>
|
|
||||||
<array/>
|
|
||||||
<key>spriteOffset</key>
|
|
||||||
<string>{0,-2}</string>
|
|
||||||
<key>spriteSize</key>
|
|
||||||
<string>{51,67}</string>
|
|
||||||
<key>spriteSourceSize</key>
|
|
||||||
<string>{75,75}</string>
|
|
||||||
<key>textureRect</key>
|
|
||||||
<string>{{447,76},{51,67}}</string>
|
|
||||||
<key>textureRotated</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
<key>6006.png</key>
|
|
||||||
<dict>
|
|
||||||
<key>aliases</key>
|
|
||||||
<array/>
|
|
||||||
<key>spriteOffset</key>
|
|
||||||
<string>{0,-2}</string>
|
|
||||||
<key>spriteSize</key>
|
|
||||||
<string>{51,71}</string>
|
|
||||||
<key>spriteSourceSize</key>
|
|
||||||
<string>{75,75}</string>
|
|
||||||
<key>textureRect</key>
|
|
||||||
<string>{{374,76},{51,71}}</string>
|
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<true/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
@@ -165,7 +75,7 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{216,78},{25,69}}</string>
|
<string>{{153,227},{25,69}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<true/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
@@ -180,7 +90,7 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{1,78},{45,73}}</string>
|
<string>{{78,217},{45,73}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<true/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
@@ -195,7 +105,7 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{76,78},{41,71}}</string>
|
<string>{{1,231},{41,71}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<true/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
@@ -210,7 +120,7 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{955,1},{51,57}}</string>
|
<string>{{1,382},{51,57}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<true/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
@@ -225,7 +135,7 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{516,76},{51,59}}</string>
|
<string>{{163,111},{51,59}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<true/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
@@ -240,9 +150,9 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{577,69},{53,57}}</string>
|
<string>{{164,1},{53,57}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>6213.png</key>
|
<key>6213.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -255,9 +165,9 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{976,54},{51,57}}</string>
|
<string>{{1,435},{51,57}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>6214.png</key>
|
<key>6214.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -270,7 +180,7 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{833,1},{51,59}}</string>
|
<string>{{74,264},{51,59}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<true/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
@@ -285,9 +195,9 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{723,1},{53,57}}</string>
|
<string>{{164,56},{53,57}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>6216.png</key>
|
<key>6216.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -300,9 +210,9 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{1014,1},{51,57}}</string>
|
<string>{{60,425},{51,57}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<true/>
|
<false/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>6217.png</key>
|
<key>6217.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -315,9 +225,9 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{870,54},{51,59}}</string>
|
<string>{{1,274},{51,59}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>6218.png</key>
|
<key>6218.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -330,9 +240,9 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{760,60},{53,57}}</string>
|
<string>{{1,327},{53,57}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>6219.png</key>
|
<key>6219.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -345,7 +255,7 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{1073,1},{51,57}}</string>
|
<string>{{113,425},{51,57}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<false/>
|
||||||
</dict>
|
</dict>
|
||||||
@@ -360,7 +270,7 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{894,1},{51,59}}</string>
|
<string>{{135,316},{51,59}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<true/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
@@ -375,9 +285,9 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{778,1},{53,57}}</string>
|
<string>{{123,369},{53,57}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>6222.png</key>
|
<key>6222.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -390,7 +300,7 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{1029,60},{51,57}}</string>
|
<string>{{166,424},{51,57}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<false/>
|
||||||
</dict>
|
</dict>
|
||||||
@@ -405,9 +315,9 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{923,54},{51,59}}</string>
|
<string>{{62,317},{51,59}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>6224.png</key>
|
<key>6224.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -420,9 +330,9 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{75,75}</string>
|
<string>{75,75}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{815,60},{53,57}}</string>
|
<string>{{60,370},{53,57}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>7002.png</key>
|
<key>7002.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -435,24 +345,24 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{60,62}</string>
|
<string>{60,62}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{661,1},{60,62}}</string>
|
<string>{{153,254},{60,62}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>7003.png</key>
|
<key>baohushijian.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>aliases</key>
|
<key>aliases</key>
|
||||||
<array/>
|
<array/>
|
||||||
<key>spriteOffset</key>
|
<key>spriteOffset</key>
|
||||||
<string>{0,0}</string>
|
<string>{0,0}</string>
|
||||||
<key>spriteSize</key>
|
<key>spriteSize</key>
|
||||||
<string>{65,60}</string>
|
<string>{80,83}</string>
|
||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{65,60}</string>
|
<string>{82,85}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{632,67},{65,60}}</string>
|
<string>{{1,1},{80,83}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>userinfo_icon_boss.png</key>
|
<key>userinfo_icon_boss.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
@@ -465,25 +375,10 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{66,76}</string>
|
<string>{66,76}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{520,1},{66,76}}</string>
|
<string>{{86,1},{66,76}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<true/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
<key>userinfo_icon_crown.png</key>
|
|
||||||
<dict>
|
|
||||||
<key>aliases</key>
|
|
||||||
<array/>
|
|
||||||
<key>spriteOffset</key>
|
|
||||||
<string>{0,0}</string>
|
|
||||||
<key>spriteSize</key>
|
|
||||||
<string>{59,60}</string>
|
|
||||||
<key>spriteSourceSize</key>
|
|
||||||
<string>{59,60}</string>
|
|
||||||
<key>textureRect</key>
|
|
||||||
<string>{{699,65},{59,60}}</string>
|
|
||||||
<key>textureRotated</key>
|
|
||||||
<false/>
|
|
||||||
</dict>
|
|
||||||
<key>userinfo_icon_skull.png</key>
|
<key>userinfo_icon_skull.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>aliases</key>
|
<key>aliases</key>
|
||||||
@@ -495,9 +390,9 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{61,64}</string>
|
<string>{61,64}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{598,1},{61,64}}</string>
|
<string>{{155,164},{61,64}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
<key>metadata</key>
|
<key>metadata</key>
|
||||||
@@ -511,9 +406,9 @@
|
|||||||
<key>realTextureFileName</key>
|
<key>realTextureFileName</key>
|
||||||
<string>skill.png</string>
|
<string>skill.png</string>
|
||||||
<key>size</key>
|
<key>size</key>
|
||||||
<string>{1125,128}</string>
|
<string>{223,487}</string>
|
||||||
<key>smartupdate</key>
|
<key>smartupdate</key>
|
||||||
<string>$TexturePacker:SmartUpdate:69aaeb1954079ef28c8d5fc85512e7a8:95bec2c1daec1ac198c64efdfdb078d9:de628d2eabb1e43115cf8c86336e45f6$</string>
|
<string>$TexturePacker:SmartUpdate:e1c9bb756b40bd5a99769955c4d1dc68:6db29f4ee07387dc1e8bd735d3c61a8f:de628d2eabb1e43115cf8c86336e45f6$</string>
|
||||||
<key>textureFileName</key>
|
<key>textureFileName</key>
|
||||||
<string>skill.png</string>
|
<string>skill.png</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
|||||||
@@ -16,11 +16,11 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": 0,
|
"offsetY": 0,
|
||||||
"trimX": 661,
|
"trimX": 153,
|
||||||
"trimY": 1,
|
"trimY": 254,
|
||||||
"width": 60,
|
"width": 60,
|
||||||
"height": 62,
|
"height": 62,
|
||||||
"rawWidth": 60,
|
"rawWidth": 60,
|
||||||
@@ -65,8 +65,8 @@
|
|||||||
"rotated": false,
|
"rotated": false,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 1029,
|
"trimX": 166,
|
||||||
"trimY": 60,
|
"trimY": 424,
|
||||||
"width": 51,
|
"width": 51,
|
||||||
"height": 57,
|
"height": 57,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -111,8 +111,8 @@
|
|||||||
"rotated": false,
|
"rotated": false,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 1073,
|
"trimX": 113,
|
||||||
"trimY": 1,
|
"trimY": 425,
|
||||||
"width": 51,
|
"width": 51,
|
||||||
"height": 57,
|
"height": 57,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -157,8 +157,8 @@
|
|||||||
"rotated": true,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 894,
|
"trimX": 135,
|
||||||
"trimY": 1,
|
"trimY": 316,
|
||||||
"width": 51,
|
"width": 51,
|
||||||
"height": 59,
|
"height": 59,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -200,11 +200,11 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": 0,
|
"offsetY": 0,
|
||||||
"trimX": 598,
|
"trimX": 155,
|
||||||
"trimY": 1,
|
"trimY": 164,
|
||||||
"width": 61,
|
"width": 61,
|
||||||
"height": 64,
|
"height": 64,
|
||||||
"rawWidth": 61,
|
"rawWidth": 61,
|
||||||
@@ -246,11 +246,11 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": 0,
|
"offsetY": 0,
|
||||||
"trimX": 78,
|
"trimX": 86,
|
||||||
"trimY": 1,
|
"trimY": 69,
|
||||||
"width": 72,
|
"width": 72,
|
||||||
"height": 75,
|
"height": 75,
|
||||||
"rawWidth": 72,
|
"rawWidth": 72,
|
||||||
@@ -292,11 +292,11 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": 0,
|
"offsetY": 0,
|
||||||
"trimX": 152,
|
"trimX": 1,
|
||||||
"trimY": 1,
|
"trimY": 83,
|
||||||
"width": 72,
|
"width": 72,
|
||||||
"height": 75,
|
"height": 75,
|
||||||
"rawWidth": 72,
|
"rawWidth": 72,
|
||||||
@@ -338,11 +338,11 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": 0,
|
"offsetY": 0,
|
||||||
"trimX": 226,
|
"trimX": 78,
|
||||||
"trimY": 1,
|
"trimY": 143,
|
||||||
"width": 72,
|
"width": 72,
|
||||||
"height": 75,
|
"height": 75,
|
||||||
"rawWidth": 72,
|
"rawWidth": 72,
|
||||||
@@ -384,290 +384,14 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
|
||||||
"offsetY": 0,
|
|
||||||
"trimX": 300,
|
|
||||||
"trimY": 1,
|
|
||||||
"width": 72,
|
|
||||||
"height": 75,
|
|
||||||
"rawWidth": 72,
|
|
||||||
"rawHeight": 75,
|
|
||||||
"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": "d359dffc-1087-4d3b-bce7-f80eaaeacb1a@6c48a",
|
|
||||||
"atlasUuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1"
|
|
||||||
},
|
|
||||||
"ver": "1.0.12",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"ec0a2": {
|
|
||||||
"importer": "sprite-frame",
|
|
||||||
"uuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1@ec0a2",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "ec0a2",
|
|
||||||
"name": "6001",
|
|
||||||
"userData": {
|
|
||||||
"trimType": "auto",
|
|
||||||
"trimThreshold": 1,
|
|
||||||
"rotated": false,
|
|
||||||
"offsetX": -1,
|
|
||||||
"offsetY": -1,
|
|
||||||
"trimX": 374,
|
|
||||||
"trimY": 1,
|
|
||||||
"width": 71,
|
|
||||||
"height": 73,
|
|
||||||
"rawWidth": 75,
|
|
||||||
"rawHeight": 75,
|
|
||||||
"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": "d359dffc-1087-4d3b-bce7-f80eaaeacb1a@6c48a",
|
|
||||||
"atlasUuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1"
|
|
||||||
},
|
|
||||||
"ver": "1.0.12",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"48ded": {
|
|
||||||
"importer": "sprite-frame",
|
|
||||||
"uuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1@48ded",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "48ded",
|
|
||||||
"name": "6002",
|
|
||||||
"userData": {
|
|
||||||
"trimType": "auto",
|
|
||||||
"trimThreshold": 1,
|
|
||||||
"rotated": false,
|
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": 0,
|
"offsetY": 0,
|
||||||
"trimX": 1,
|
"trimX": 1,
|
||||||
"trimY": 1,
|
"trimY": 157,
|
||||||
"width": 75,
|
"width": 72,
|
||||||
"height": 75,
|
"height": 75,
|
||||||
"rawWidth": 75,
|
"rawWidth": 72,
|
||||||
"rawHeight": 75,
|
|
||||||
"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": "d359dffc-1087-4d3b-bce7-f80eaaeacb1a@6c48a",
|
|
||||||
"atlasUuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1"
|
|
||||||
},
|
|
||||||
"ver": "1.0.12",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"71e54": {
|
|
||||||
"importer": "sprite-frame",
|
|
||||||
"uuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1@71e54",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "71e54",
|
|
||||||
"name": "6003",
|
|
||||||
"userData": {
|
|
||||||
"trimType": "auto",
|
|
||||||
"trimThreshold": 1,
|
|
||||||
"rotated": false,
|
|
||||||
"offsetX": -1,
|
|
||||||
"offsetY": -1,
|
|
||||||
"trimX": 447,
|
|
||||||
"trimY": 1,
|
|
||||||
"width": 71,
|
|
||||||
"height": 73,
|
|
||||||
"rawWidth": 75,
|
|
||||||
"rawHeight": 75,
|
|
||||||
"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": "d359dffc-1087-4d3b-bce7-f80eaaeacb1a@6c48a",
|
|
||||||
"atlasUuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1"
|
|
||||||
},
|
|
||||||
"ver": "1.0.12",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"64ed2": {
|
|
||||||
"importer": "sprite-frame",
|
|
||||||
"uuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1@64ed2",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "64ed2",
|
|
||||||
"name": "6004",
|
|
||||||
"userData": {
|
|
||||||
"trimType": "auto",
|
|
||||||
"trimThreshold": 1,
|
|
||||||
"rotated": true,
|
|
||||||
"offsetX": 0,
|
|
||||||
"offsetY": -1,
|
|
||||||
"trimX": 149,
|
|
||||||
"trimY": 78,
|
|
||||||
"width": 39,
|
|
||||||
"height": 65,
|
|
||||||
"rawWidth": 75,
|
|
||||||
"rawHeight": 75,
|
|
||||||
"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": "d359dffc-1087-4d3b-bce7-f80eaaeacb1a@6c48a",
|
|
||||||
"atlasUuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1"
|
|
||||||
},
|
|
||||||
"ver": "1.0.12",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"54f93": {
|
|
||||||
"importer": "sprite-frame",
|
|
||||||
"uuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1@54f93",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "54f93",
|
|
||||||
"name": "6005",
|
|
||||||
"userData": {
|
|
||||||
"trimType": "auto",
|
|
||||||
"trimThreshold": 1,
|
|
||||||
"rotated": true,
|
|
||||||
"offsetX": 0,
|
|
||||||
"offsetY": -2,
|
|
||||||
"trimX": 447,
|
|
||||||
"trimY": 76,
|
|
||||||
"width": 51,
|
|
||||||
"height": 67,
|
|
||||||
"rawWidth": 75,
|
|
||||||
"rawHeight": 75,
|
|
||||||
"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": "d359dffc-1087-4d3b-bce7-f80eaaeacb1a@6c48a",
|
|
||||||
"atlasUuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1"
|
|
||||||
},
|
|
||||||
"ver": "1.0.12",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
},
|
|
||||||
"949bb": {
|
|
||||||
"importer": "sprite-frame",
|
|
||||||
"uuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1@949bb",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "949bb",
|
|
||||||
"name": "6006",
|
|
||||||
"userData": {
|
|
||||||
"trimType": "auto",
|
|
||||||
"trimThreshold": 1,
|
|
||||||
"rotated": true,
|
|
||||||
"offsetX": 0,
|
|
||||||
"offsetY": -2,
|
|
||||||
"trimX": 374,
|
|
||||||
"trimY": 76,
|
|
||||||
"width": 51,
|
|
||||||
"height": 71,
|
|
||||||
"rawWidth": 75,
|
|
||||||
"rawHeight": 75,
|
"rawHeight": 75,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
"borderBottom": 0,
|
"borderBottom": 0,
|
||||||
@@ -709,8 +433,8 @@
|
|||||||
"rotated": true,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 216,
|
"trimX": 153,
|
||||||
"trimY": 78,
|
"trimY": 227,
|
||||||
"width": 25,
|
"width": 25,
|
||||||
"height": 69,
|
"height": 69,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -755,8 +479,8 @@
|
|||||||
"rotated": true,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -1,
|
"offsetY": -1,
|
||||||
"trimX": 1,
|
"trimX": 78,
|
||||||
"trimY": 78,
|
"trimY": 217,
|
||||||
"width": 45,
|
"width": 45,
|
||||||
"height": 73,
|
"height": 73,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -801,8 +525,8 @@
|
|||||||
"rotated": true,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 76,
|
"trimX": 1,
|
||||||
"trimY": 78,
|
"trimY": 231,
|
||||||
"width": 41,
|
"width": 41,
|
||||||
"height": 71,
|
"height": 71,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -847,8 +571,8 @@
|
|||||||
"rotated": true,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 955,
|
"trimX": 1,
|
||||||
"trimY": 1,
|
"trimY": 382,
|
||||||
"width": 51,
|
"width": 51,
|
||||||
"height": 57,
|
"height": 57,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -893,8 +617,8 @@
|
|||||||
"rotated": true,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 516,
|
"trimX": 163,
|
||||||
"trimY": 76,
|
"trimY": 111,
|
||||||
"width": 51,
|
"width": 51,
|
||||||
"height": 59,
|
"height": 59,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -936,11 +660,11 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 577,
|
"trimX": 164,
|
||||||
"trimY": 69,
|
"trimY": 1,
|
||||||
"width": 53,
|
"width": 53,
|
||||||
"height": 57,
|
"height": 57,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -982,11 +706,11 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 976,
|
"trimX": 1,
|
||||||
"trimY": 54,
|
"trimY": 435,
|
||||||
"width": 51,
|
"width": 51,
|
||||||
"height": 57,
|
"height": 57,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -1031,8 +755,8 @@
|
|||||||
"rotated": true,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 833,
|
"trimX": 74,
|
||||||
"trimY": 1,
|
"trimY": 264,
|
||||||
"width": 51,
|
"width": 51,
|
||||||
"height": 59,
|
"height": 59,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -1074,11 +798,11 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 723,
|
"trimX": 164,
|
||||||
"trimY": 1,
|
"trimY": 56,
|
||||||
"width": 53,
|
"width": 53,
|
||||||
"height": 57,
|
"height": 57,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -1120,11 +844,11 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": true,
|
"rotated": false,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 1014,
|
"trimX": 60,
|
||||||
"trimY": 1,
|
"trimY": 425,
|
||||||
"width": 51,
|
"width": 51,
|
||||||
"height": 57,
|
"height": 57,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -1166,11 +890,11 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 870,
|
"trimX": 1,
|
||||||
"trimY": 54,
|
"trimY": 274,
|
||||||
"width": 51,
|
"width": 51,
|
||||||
"height": 59,
|
"height": 59,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -1212,11 +936,11 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 760,
|
"trimX": 1,
|
||||||
"trimY": 60,
|
"trimY": 327,
|
||||||
"width": 53,
|
"width": 53,
|
||||||
"height": 57,
|
"height": 57,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -1258,11 +982,11 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 778,
|
"trimX": 123,
|
||||||
"trimY": 1,
|
"trimY": 369,
|
||||||
"width": 53,
|
"width": 53,
|
||||||
"height": 57,
|
"height": 57,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -1304,11 +1028,11 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 923,
|
"trimX": 62,
|
||||||
"trimY": 54,
|
"trimY": 317,
|
||||||
"width": 51,
|
"width": 51,
|
||||||
"height": 59,
|
"height": 59,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -1350,11 +1074,11 @@
|
|||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": -2,
|
"offsetY": -2,
|
||||||
"trimX": 815,
|
"trimX": 60,
|
||||||
"trimY": 60,
|
"trimY": 370,
|
||||||
"width": 53,
|
"width": 53,
|
||||||
"height": 57,
|
"height": 57,
|
||||||
"rawWidth": 75,
|
"rawWidth": 75,
|
||||||
@@ -1387,24 +1111,24 @@
|
|||||||
],
|
],
|
||||||
"subMetas": {}
|
"subMetas": {}
|
||||||
},
|
},
|
||||||
"2e51f": {
|
"97bba": {
|
||||||
"importer": "sprite-frame",
|
"importer": "sprite-frame",
|
||||||
"uuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1@2e51f",
|
"uuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1@97bba",
|
||||||
"displayName": "",
|
"displayName": "",
|
||||||
"id": "2e51f",
|
"id": "97bba",
|
||||||
"name": "7003",
|
"name": "baohushijian",
|
||||||
"userData": {
|
"userData": {
|
||||||
"trimType": "auto",
|
"trimType": "auto",
|
||||||
"trimThreshold": 1,
|
"trimThreshold": 1,
|
||||||
"rotated": false,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": 0,
|
"offsetY": 0,
|
||||||
"trimX": 632,
|
"trimX": 1,
|
||||||
"trimY": 67,
|
"trimY": 1,
|
||||||
"width": 65,
|
"width": 80,
|
||||||
"height": 60,
|
"height": 83,
|
||||||
"rawWidth": 65,
|
"rawWidth": 82,
|
||||||
"rawHeight": 60,
|
"rawHeight": 85,
|
||||||
"borderTop": 0,
|
"borderTop": 0,
|
||||||
"borderBottom": 0,
|
"borderBottom": 0,
|
||||||
"borderLeft": 0,
|
"borderLeft": 0,
|
||||||
@@ -1445,7 +1169,7 @@
|
|||||||
"rotated": true,
|
"rotated": true,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": 0,
|
"offsetY": 0,
|
||||||
"trimX": 520,
|
"trimX": 86,
|
||||||
"trimY": 1,
|
"trimY": 1,
|
||||||
"width": 66,
|
"width": 66,
|
||||||
"height": 76,
|
"height": 76,
|
||||||
@@ -1478,52 +1202,6 @@
|
|||||||
".json"
|
".json"
|
||||||
],
|
],
|
||||||
"subMetas": {}
|
"subMetas": {}
|
||||||
},
|
|
||||||
"8e30d": {
|
|
||||||
"importer": "sprite-frame",
|
|
||||||
"uuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1@8e30d",
|
|
||||||
"displayName": "",
|
|
||||||
"id": "8e30d",
|
|
||||||
"name": "userinfo_icon_crown",
|
|
||||||
"userData": {
|
|
||||||
"trimType": "auto",
|
|
||||||
"trimThreshold": 1,
|
|
||||||
"rotated": false,
|
|
||||||
"offsetX": 0,
|
|
||||||
"offsetY": 0,
|
|
||||||
"trimX": 699,
|
|
||||||
"trimY": 65,
|
|
||||||
"width": 59,
|
|
||||||
"height": 60,
|
|
||||||
"rawWidth": 59,
|
|
||||||
"rawHeight": 60,
|
|
||||||
"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": "d359dffc-1087-4d3b-bce7-f80eaaeacb1a@6c48a",
|
|
||||||
"atlasUuid": "56fae78e-4db4-4ef1-be24-d030fc909ed1"
|
|
||||||
},
|
|
||||||
"ver": "1.0.12",
|
|
||||||
"imported": true,
|
|
||||||
"files": [
|
|
||||||
".json"
|
|
||||||
],
|
|
||||||
"subMetas": {}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"userData": {
|
"userData": {
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 34 KiB |
356
assets/resources/game/map/maps.plist
Normal file
@@ -0,0 +1,356 @@
|
|||||||
|
<?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>Top-Down Forest Tileset_Building - Archer Tower Back.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,-12}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{146,194}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{256,256}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{385,259},{146,194}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Building - Archer Tower Front.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,-12}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{146,194}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{256,256}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{691,250},{146,194}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Building - Villager House Back.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,-10}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{190,202}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{256,256}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{1,259},{190,202}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Building - Villager House Front.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,-10}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{190,202}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{256,256}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{193,259},{190,202}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Fence 01.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,3}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{122,50}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,64}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{845,63},{122,50}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Grass 01.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{1,-2}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{124,48}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,64}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{897,1},{124,48}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Grass 02.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,2}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{62,34}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{64,64}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{1027,235},{62,34}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Grass 03.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{-1,0}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{58,34}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{64,64}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{1027,299},{58,34}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Ground 01.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,0}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{234,98}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{256,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{745,1},{234,98}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Ground 02.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,2}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{124,98}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{1063,231},{124,98}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Ground 03.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,1}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{120,106}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{845,115},{120,106}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Log.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{-1,1}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{112,124}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{1027,1},{112,124}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Rock 01.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,0}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{98,116}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{1027,359},{98,116}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Rock 02.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,0}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{118,108}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{953,115},{118,108}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Stump 01.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,0}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{60,50}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{64,64}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{845,1},{60,50}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Stump 03.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{1,-6}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{62,40}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{64,64}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{1127,357},{62,40}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Tree 01.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,0}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{226,247}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{256,257}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{517,1},{226,247}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Tree 02.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,-6}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{186,230}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{256,256}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{839,237},{186,230}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Tree 03.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,-6}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{156,226}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{256,256}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{533,250},{156,226}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Environment - Well.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,-6}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{100,114}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{1063,115},{100,114}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Ground 08.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,0}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{256,256}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{256,256}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{1,1},{256,256}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>Top-Down Forest Tileset_Ground 52.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,0}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{256,256}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{256,256}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{259,1},{256,256}}</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>maps.png</string>
|
||||||
|
<key>size</key>
|
||||||
|
<string>{1168,477}</string>
|
||||||
|
<key>smartupdate</key>
|
||||||
|
<string>$TexturePacker:SmartUpdate:8e5010e467b9be6b28c599a84211bc6f:082b15eb95505d1b6bcc63f30ad6e9e4:cff09cdbcaccc8bde4d9623bee080541$</string>
|
||||||
|
<key>textureFileName</key>
|
||||||
|
<string>maps.png</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
1029
assets/resources/game/map/maps.plist.meta
Normal file
BIN
assets/resources/game/map/maps.png
Normal file
|
After Width: | Height: | Size: 160 KiB |
42
assets/resources/game/map/maps.png.meta
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "4786354a-2b91-4c04-9e32-92163b4c1892",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "4786354a-2b91-4c04-9e32-92163b4c1892@6c48a",
|
||||||
|
"displayName": "maps",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "repeat",
|
||||||
|
"wrapModeT": "repeat",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "4786354a-2b91-4c04-9e32-92163b4c1892",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": true,
|
||||||
|
"type": "texture",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "4786354a-2b91-4c04-9e32-92163b4c1892@6c48a"
|
||||||
|
}
|
||||||
|
}
|
||||||
104
assets/resources/game/monster/boss/boss1/skeleton.atlas
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
|
||||||
|
skeleton.png
|
||||||
|
size: 878, 523
|
||||||
|
format: RGBA8888
|
||||||
|
filter: Linear, Linear
|
||||||
|
repeat: none
|
||||||
|
Body
|
||||||
|
rotate: false
|
||||||
|
xy: 504, 6
|
||||||
|
size: 113, 162
|
||||||
|
orig: 113, 162
|
||||||
|
offset: 0, 0
|
||||||
|
index: -1
|
||||||
|
Box
|
||||||
|
rotate: false
|
||||||
|
xy: 2, 21
|
||||||
|
size: 500, 500
|
||||||
|
orig: 500, 500
|
||||||
|
offset: 0, 0
|
||||||
|
index: -1
|
||||||
|
Hand-B
|
||||||
|
rotate: true
|
||||||
|
xy: 504, 170
|
||||||
|
size: 184, 185
|
||||||
|
orig: 184, 185
|
||||||
|
offset: 0, 0
|
||||||
|
index: -1
|
||||||
|
Hand-F
|
||||||
|
rotate: true
|
||||||
|
xy: 679, 41
|
||||||
|
size: 74, 123
|
||||||
|
orig: 74, 123
|
||||||
|
offset: 0, 0
|
||||||
|
index: -1
|
||||||
|
Head
|
||||||
|
rotate: true
|
||||||
|
xy: 774, 400
|
||||||
|
size: 121, 102
|
||||||
|
orig: 121, 102
|
||||||
|
offset: 0, 0
|
||||||
|
index: -1
|
||||||
|
Head-2
|
||||||
|
rotate: true
|
||||||
|
xy: 774, 291
|
||||||
|
size: 107, 102
|
||||||
|
orig: 107, 102
|
||||||
|
offset: 0, 0
|
||||||
|
index: -1
|
||||||
|
Ice
|
||||||
|
rotate: true
|
||||||
|
xy: 691, 117
|
||||||
|
size: 169, 172
|
||||||
|
orig: 169, 172
|
||||||
|
offset: 0, 0
|
||||||
|
index: -1
|
||||||
|
Leg-B
|
||||||
|
rotate: true
|
||||||
|
xy: 722, 10
|
||||||
|
size: 29, 39
|
||||||
|
orig: 29, 39
|
||||||
|
offset: 0, 0
|
||||||
|
index: -1
|
||||||
|
Leg-F
|
||||||
|
rotate: true
|
||||||
|
xy: 679, 10
|
||||||
|
size: 29, 41
|
||||||
|
orig: 29, 42
|
||||||
|
offset: 0, 1
|
||||||
|
index: -1
|
||||||
|
Poisoned
|
||||||
|
rotate: false
|
||||||
|
xy: 691, 288
|
||||||
|
size: 78, 66
|
||||||
|
orig: 78, 66
|
||||||
|
offset: 0, 0
|
||||||
|
index: -1
|
||||||
|
Smoke1
|
||||||
|
rotate: true
|
||||||
|
xy: 619, 24
|
||||||
|
size: 144, 58
|
||||||
|
orig: 146, 58
|
||||||
|
offset: 2, 0
|
||||||
|
index: -1
|
||||||
|
Smoke2
|
||||||
|
rotate: false
|
||||||
|
xy: 804, 70
|
||||||
|
size: 45, 45
|
||||||
|
orig: 45, 45
|
||||||
|
offset: 0, 0
|
||||||
|
index: -1
|
||||||
|
Splash
|
||||||
|
rotate: false
|
||||||
|
xy: 504, 356
|
||||||
|
size: 268, 165
|
||||||
|
orig: 268, 165
|
||||||
|
offset: 0, 0
|
||||||
|
index: -1
|
||||||
|
shadow
|
||||||
|
rotate: false
|
||||||
|
xy: 2, 2
|
||||||
|
size: 82, 17
|
||||||
|
orig: 85, 17
|
||||||
|
offset: 1, 0
|
||||||
|
index: -1
|
||||||
12
assets/resources/game/monster/boss/boss1/skeleton.atlas.meta
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.1",
|
||||||
|
"importer": "*",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "5b245996-883b-41ee-bb6c-916c1be800ff",
|
||||||
|
"files": [
|
||||||
|
".atlas",
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
2570
assets/resources/game/monster/boss/boss1/skeleton.json
Normal file
11
assets/resources/game/monster/boss/boss1/skeleton.json.meta
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.6",
|
||||||
|
"importer": "spine-data",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "0fe5f4d1-2157-4403-a333-a35162b316ce",
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
BIN
assets/resources/game/monster/boss/boss1/skeleton.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
42
assets/resources/game/monster/boss/boss1/skeleton.png.meta
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "63183ac8-430c-4b56-b9c5-fd803c0a75ac",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "63183ac8-430c-4b56-b9c5-fd803c0a75ac@6c48a",
|
||||||
|
"displayName": "skeleton",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "repeat",
|
||||||
|
"wrapModeT": "repeat",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "63183ac8-430c-4b56-b9c5-fd803c0a75ac",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": true,
|
||||||
|
"type": "texture",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "63183ac8-430c-4b56-b9c5-fd803c0a75ac@6c48a"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -108,7 +108,7 @@
|
|||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0,
|
"y": -10.151,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -120,8 +120,8 @@
|
|||||||
},
|
},
|
||||||
"_lscale": {
|
"_lscale": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": -0.5,
|
"x": 0.8,
|
||||||
"y": 0.5,
|
"y": 0.8,
|
||||||
"z": 1
|
"z": 1
|
||||||
},
|
},
|
||||||
"_mobility": 0,
|
"_mobility": 0,
|
||||||
@@ -148,13 +148,13 @@
|
|||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 603.2100219726562,
|
"width": 500,
|
||||||
"height": 586.3599853515625
|
"height": 500
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.436067039610369,
|
"x": 0.5694199829101563,
|
||||||
"y": 0.32326558391959465
|
"y": 0.10233999633789062
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
@@ -185,7 +185,7 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_skeletonData": {
|
"_skeletonData": {
|
||||||
"__uuid__": "64860037-562b-43dd-867f-6f04dc02b195",
|
"__uuid__": "0fe5f4d1-2157-4403-a333-a35162b316ce",
|
||||||
"__expectedType__": "sp.SkeletonData"
|
"__expectedType__": "sp.SkeletonData"
|
||||||
},
|
},
|
||||||
"defaultSkin": "default",
|
"defaultSkin": "default",
|
||||||
|
|||||||
@@ -163,10 +163,7 @@
|
|||||||
"b": 255,
|
"b": 255,
|
||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": null,
|
||||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@e39fb",
|
|
||||||
"__expectedType__": "cc.SpriteFrame"
|
|
||||||
},
|
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
"_fillType": 0,
|
"_fillType": 0,
|
||||||
"_sizeMode": 0,
|
"_sizeMode": 0,
|
||||||
|
|||||||
@@ -25,14 +25,14 @@
|
|||||||
"_active": false,
|
"_active": false,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 10
|
"__id__": 8
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 12
|
"__id__": 10
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 14
|
"__id__": 12
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
@@ -79,18 +79,15 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 5
|
"__id__": 5
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 7
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": {
|
"_prefab": {
|
||||||
"__id__": 9
|
"__id__": 7
|
||||||
},
|
},
|
||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 15,
|
"y": 20,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -145,7 +142,7 @@
|
|||||||
"fileId": "b4sNQPJWFKha7x75SWXmRj"
|
"fileId": "b4sNQPJWFKha7x75SWXmRj"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.Sprite",
|
"__type__": "sp.Skeleton",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
@@ -164,59 +161,30 @@
|
|||||||
"r": 255,
|
"r": 255,
|
||||||
"g": 255,
|
"g": 255,
|
||||||
"b": 255,
|
"b": 255,
|
||||||
"a": 189
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_skeletonData": {
|
||||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@fe592",
|
"__uuid__": "2b3e4b0f-2c6b-4e36-b35e-6a1e5564c1ef",
|
||||||
"__expectedType__": "cc.SpriteFrame"
|
"__expectedType__": "sp.SkeletonData"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"defaultSkin": "default",
|
||||||
"_fillType": 0,
|
"defaultAnimation": "animation",
|
||||||
"_sizeMode": 0,
|
"_premultipliedAlpha": true,
|
||||||
"_fillCenter": {
|
"_timeScale": 1,
|
||||||
"__type__": "cc.Vec2",
|
"_preCacheMode": 1,
|
||||||
"x": 0,
|
"_cacheMode": 1,
|
||||||
"y": 0
|
"_sockets": [],
|
||||||
},
|
"_useTint": false,
|
||||||
"_fillStart": 0,
|
"_debugMesh": false,
|
||||||
"_fillRange": 0,
|
"_debugBones": false,
|
||||||
"_isTrimmedMode": true,
|
"_debugSlots": false,
|
||||||
"_useGrayscale": false,
|
"_enableBatch": false,
|
||||||
"_atlas": null,
|
"loop": true,
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
"fileId": "9a+65VIghBm4HQxuHPQ/mg"
|
"fileId": "19bfqDKVVABp98vs44D9nn"
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.Animation",
|
|
||||||
"_name": "",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"__editorExtras__": {},
|
|
||||||
"node": {
|
|
||||||
"__id__": 2
|
|
||||||
},
|
|
||||||
"_enabled": true,
|
|
||||||
"__prefab": {
|
|
||||||
"__id__": 8
|
|
||||||
},
|
|
||||||
"playOnLoad": true,
|
|
||||||
"_clips": [
|
|
||||||
{
|
|
||||||
"__uuid__": "e0c4f819-15df-490b-b85b-bb5c5ec1e33b",
|
|
||||||
"__expectedType__": "cc.AnimationClip"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_defaultClip": {
|
|
||||||
"__uuid__": "e0c4f819-15df-490b-b85b-bb5c5ec1e33b",
|
|
||||||
"__expectedType__": "cc.AnimationClip"
|
|
||||||
},
|
|
||||||
"_id": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.CompPrefabInfo",
|
|
||||||
"fileId": "cc1FBbHhlBirJkBcBIHROd"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.PrefabInfo",
|
"__type__": "cc.PrefabInfo",
|
||||||
@@ -241,7 +209,7 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 11
|
"__id__": 9
|
||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
@@ -260,7 +228,7 @@
|
|||||||
"fileId": "63NP9yq3hEUKD/OZZZ5t7x"
|
"fileId": "63NP9yq3hEUKD/OZZZ5t7x"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "9df17PD7tBNSJwn4urZqfaP",
|
"__type__": "6e0a9ldFsFFVI+AKTlPJCE7",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"__editorExtras__": {},
|
"__editorExtras__": {},
|
||||||
@@ -269,13 +237,13 @@
|
|||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"__prefab": {
|
"__prefab": {
|
||||||
"__id__": 13
|
"__id__": 11
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.CompPrefabInfo",
|
"__type__": "cc.CompPrefabInfo",
|
||||||
"fileId": "9ascdecXpHsbT6oFKKynfa"
|
"fileId": "d1sugNhMpATaYxRUKCj8i/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__type__": "cc.PrefabInfo",
|
"__type__": "cc.PrefabInfo",
|
||||||
|
|||||||
@@ -170,7 +170,7 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_spriteFrame": {
|
"_spriteFrame": {
|
||||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@f599c",
|
"__uuid__": "45af5702-7585-4d72-85cf-d7b8da02d832@97bba",
|
||||||
"__expectedType__": "cc.SpriteFrame"
|
"__expectedType__": "cc.SpriteFrame"
|
||||||
},
|
},
|
||||||
"_type": 0,
|
"_type": 0,
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{160,60}</string>
|
<string>{160,60}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{223,1},{160,60}}</string>
|
<string>{{1,65},{160,60}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<false/>
|
||||||
</dict>
|
</dict>
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{217,58}</string>
|
<string>{217,58}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{1,65},{217,58}}</string>
|
<string>{{223,1},{217,58}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<false/>
|
||||||
</dict>
|
</dict>
|
||||||
@@ -64,6 +64,21 @@
|
|||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<false/>
|
<false/>
|
||||||
</dict>
|
</dict>
|
||||||
|
<key>baohushijian.png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,0}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{80,83}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{82,85}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{571,1},{80,83}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
<key>k_shield-2.png</key>
|
<key>k_shield-2.png</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>aliases</key>
|
<key>aliases</key>
|
||||||
@@ -75,7 +90,7 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{64,116}</string>
|
<string>{64,116}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{223,63},{64,116}}</string>
|
<string>{{223,61},{64,116}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<true/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
@@ -90,7 +105,7 @@
|
|||||||
<key>spriteSourceSize</key>
|
<key>spriteSourceSize</key>
|
||||||
<string>{64,116}</string>
|
<string>{64,116}</string>
|
||||||
<key>textureRect</key>
|
<key>textureRect</key>
|
||||||
<string>{{341,63},{64,116}}</string>
|
<string>{{341,61},{64,116}}</string>
|
||||||
<key>textureRotated</key>
|
<key>textureRotated</key>
|
||||||
<true/>
|
<true/>
|
||||||
</dict>
|
</dict>
|
||||||
@@ -106,9 +121,9 @@
|
|||||||
<key>realTextureFileName</key>
|
<key>realTextureFileName</key>
|
||||||
<string>skills.png</string>
|
<string>skills.png</string>
|
||||||
<key>size</key>
|
<key>size</key>
|
||||||
<string>{570,128}</string>
|
<string>{652,126}</string>
|
||||||
<key>smartupdate</key>
|
<key>smartupdate</key>
|
||||||
<string>$TexturePacker:SmartUpdate:af64fe94524129451d8c85f50c8579cb:3f9bd602a2698454983429844492221c:37e596914ac459dbdf00101432af5e18$</string>
|
<string>$TexturePacker:SmartUpdate:4b05cd9625692e1378d6c3d279dca35f:c375bdff73bed86746f1342d22d253e8:37e596914ac459dbdf00101432af5e18$</string>
|
||||||
<key>textureFileName</key>
|
<key>textureFileName</key>
|
||||||
<string>skills.png</string>
|
<string>skills.png</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
|||||||
@@ -65,8 +65,8 @@
|
|||||||
"rotated": false,
|
"rotated": false,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": 0,
|
"offsetY": 0,
|
||||||
"trimX": 223,
|
"trimX": 1,
|
||||||
"trimY": 1,
|
"trimY": 65,
|
||||||
"width": 160,
|
"width": 160,
|
||||||
"height": 60,
|
"height": 60,
|
||||||
"rawWidth": 160,
|
"rawWidth": 160,
|
||||||
@@ -111,8 +111,8 @@
|
|||||||
"rotated": false,
|
"rotated": false,
|
||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": 0,
|
"offsetY": 0,
|
||||||
"trimX": 1,
|
"trimX": 223,
|
||||||
"trimY": 65,
|
"trimY": 1,
|
||||||
"width": 217,
|
"width": 217,
|
||||||
"height": 58,
|
"height": 58,
|
||||||
"rawWidth": 217,
|
"rawWidth": 217,
|
||||||
@@ -191,6 +191,52 @@
|
|||||||
],
|
],
|
||||||
"subMetas": {}
|
"subMetas": {}
|
||||||
},
|
},
|
||||||
|
"97bba": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "45af5702-7585-4d72-85cf-d7b8da02d832@97bba",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "97bba",
|
||||||
|
"name": "baohushijian",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 571,
|
||||||
|
"trimY": 1,
|
||||||
|
"width": 80,
|
||||||
|
"height": 83,
|
||||||
|
"rawWidth": 82,
|
||||||
|
"rawHeight": 85,
|
||||||
|
"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": "cd104e76-5215-49fe-a074-e65ffa26583e@6c48a",
|
||||||
|
"atlasUuid": "45af5702-7585-4d72-85cf-d7b8da02d832"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
"4421a": {
|
"4421a": {
|
||||||
"importer": "sprite-frame",
|
"importer": "sprite-frame",
|
||||||
"uuid": "45af5702-7585-4d72-85cf-d7b8da02d832@4421a",
|
"uuid": "45af5702-7585-4d72-85cf-d7b8da02d832@4421a",
|
||||||
@@ -204,7 +250,7 @@
|
|||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": 0,
|
"offsetY": 0,
|
||||||
"trimX": 223,
|
"trimX": 223,
|
||||||
"trimY": 63,
|
"trimY": 61,
|
||||||
"width": 64,
|
"width": 64,
|
||||||
"height": 116,
|
"height": 116,
|
||||||
"rawWidth": 64,
|
"rawWidth": 64,
|
||||||
@@ -250,7 +296,7 @@
|
|||||||
"offsetX": 0,
|
"offsetX": 0,
|
||||||
"offsetY": 0,
|
"offsetY": 0,
|
||||||
"trimX": 341,
|
"trimX": 341,
|
||||||
"trimY": 63,
|
"trimY": 61,
|
||||||
"width": 64,
|
"width": 64,
|
||||||
"height": 116,
|
"height": 116,
|
||||||
"rawWidth": 64,
|
"rawWidth": 64,
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 398 KiB After Width: | Height: | Size: 1.0 MiB |
146
assets/resources/gui/rewards.plist
Normal file
@@ -0,0 +1,146 @@
|
|||||||
|
<?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>5001.Png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{-1,1}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{112,112}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{131,1},{112,112}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>5002.Png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{-1,1}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{112,112}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{245,1},{112,112}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>5003.Png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,0}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{114,98}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{239,115},{114,98}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>5004.Png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,0}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{100,106}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{131,115},{100,106}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>5005.Png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,0}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{86,112}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{355,115},{86,112}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>5006.Png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,1}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{128,100}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{1,115},{128,100}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<false/>
|
||||||
|
</dict>
|
||||||
|
<key>5007.Png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,0}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{110,108}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{359,1},{110,108}}</string>
|
||||||
|
<key>textureRotated</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
<key>5008.Png</key>
|
||||||
|
<dict>
|
||||||
|
<key>aliases</key>
|
||||||
|
<array/>
|
||||||
|
<key>spriteOffset</key>
|
||||||
|
<string>{0,1}</string>
|
||||||
|
<key>spriteSize</key>
|
||||||
|
<string>{128,112}</string>
|
||||||
|
<key>spriteSourceSize</key>
|
||||||
|
<string>{128,128}</string>
|
||||||
|
<key>textureRect</key>
|
||||||
|
<string>{{1,1},{128,112}}</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>rewards.png</string>
|
||||||
|
<key>size</key>
|
||||||
|
<string>{468,216}</string>
|
||||||
|
<key>smartupdate</key>
|
||||||
|
<string>$TexturePacker:SmartUpdate:b0bd39f818690f9d9ef8f0aa0c2b6c60:d4491bbe273cc2d81788789c914f1afd:e70319c7d19eb0b686a46f7adf4e4b0a$</string>
|
||||||
|
<key>textureFileName</key>
|
||||||
|
<string>rewards.png</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
385
assets/resources/gui/rewards.plist.meta
Normal file
@@ -0,0 +1,385 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.8",
|
||||||
|
"importer": "sprite-atlas",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3",
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"0c62c": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@0c62c",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "0c62c",
|
||||||
|
"name": "5001",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": -1,
|
||||||
|
"offsetY": 1,
|
||||||
|
"trimX": 131,
|
||||||
|
"trimY": 1,
|
||||||
|
"width": 112,
|
||||||
|
"height": 112,
|
||||||
|
"rawWidth": 128,
|
||||||
|
"rawHeight": 128,
|
||||||
|
"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": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
|
||||||
|
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"4b971": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@4b971",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "4b971",
|
||||||
|
"name": "5002",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": -1,
|
||||||
|
"offsetY": 1,
|
||||||
|
"trimX": 245,
|
||||||
|
"trimY": 1,
|
||||||
|
"width": 112,
|
||||||
|
"height": 112,
|
||||||
|
"rawWidth": 128,
|
||||||
|
"rawHeight": 128,
|
||||||
|
"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": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
|
||||||
|
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"23ee4": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@23ee4",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "23ee4",
|
||||||
|
"name": "5003",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 239,
|
||||||
|
"trimY": 115,
|
||||||
|
"width": 114,
|
||||||
|
"height": 98,
|
||||||
|
"rawWidth": 128,
|
||||||
|
"rawHeight": 128,
|
||||||
|
"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": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
|
||||||
|
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"316bf": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@316bf",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "316bf",
|
||||||
|
"name": "5004",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": true,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 131,
|
||||||
|
"trimY": 115,
|
||||||
|
"width": 100,
|
||||||
|
"height": 106,
|
||||||
|
"rawWidth": 128,
|
||||||
|
"rawHeight": 128,
|
||||||
|
"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": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
|
||||||
|
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"12d7e": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@12d7e",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "12d7e",
|
||||||
|
"name": "5005",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": true,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 355,
|
||||||
|
"trimY": 115,
|
||||||
|
"width": 86,
|
||||||
|
"height": 112,
|
||||||
|
"rawWidth": 128,
|
||||||
|
"rawHeight": 128,
|
||||||
|
"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": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
|
||||||
|
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"268fa": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@268fa",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "268fa",
|
||||||
|
"name": "5006",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 1,
|
||||||
|
"trimX": 1,
|
||||||
|
"trimY": 115,
|
||||||
|
"width": 128,
|
||||||
|
"height": 100,
|
||||||
|
"rawWidth": 128,
|
||||||
|
"rawHeight": 128,
|
||||||
|
"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": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
|
||||||
|
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"3b17d": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@3b17d",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "3b17d",
|
||||||
|
"name": "5007",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": true,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 0,
|
||||||
|
"trimX": 359,
|
||||||
|
"trimY": 1,
|
||||||
|
"width": 110,
|
||||||
|
"height": 108,
|
||||||
|
"rawWidth": 128,
|
||||||
|
"rawHeight": 128,
|
||||||
|
"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": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
|
||||||
|
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
},
|
||||||
|
"b6ced": {
|
||||||
|
"importer": "sprite-frame",
|
||||||
|
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3@b6ced",
|
||||||
|
"displayName": "",
|
||||||
|
"id": "b6ced",
|
||||||
|
"name": "5008",
|
||||||
|
"userData": {
|
||||||
|
"trimType": "auto",
|
||||||
|
"trimThreshold": 1,
|
||||||
|
"rotated": false,
|
||||||
|
"offsetX": 0,
|
||||||
|
"offsetY": 1,
|
||||||
|
"trimX": 1,
|
||||||
|
"trimY": 1,
|
||||||
|
"width": 128,
|
||||||
|
"height": 112,
|
||||||
|
"rawWidth": 128,
|
||||||
|
"rawHeight": 128,
|
||||||
|
"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": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
|
||||||
|
"atlasUuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3"
|
||||||
|
},
|
||||||
|
"ver": "1.0.12",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"atlasTextureName": "rewards.png",
|
||||||
|
"format": 3,
|
||||||
|
"uuid": "8de06a84-af95-42b1-ab9b-40701e6b3ed3",
|
||||||
|
"textureUuid": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
assets/resources/gui/rewards.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
42
assets/resources/gui/rewards.png.meta
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.0.26",
|
||||||
|
"importer": "image",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "efd3008b-716f-416a-bf4c-ab5cf1672e60",
|
||||||
|
"files": [
|
||||||
|
".json",
|
||||||
|
".png"
|
||||||
|
],
|
||||||
|
"subMetas": {
|
||||||
|
"6c48a": {
|
||||||
|
"importer": "texture",
|
||||||
|
"uuid": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a",
|
||||||
|
"displayName": "rewards",
|
||||||
|
"id": "6c48a",
|
||||||
|
"name": "texture",
|
||||||
|
"userData": {
|
||||||
|
"wrapModeS": "repeat",
|
||||||
|
"wrapModeT": "repeat",
|
||||||
|
"minfilter": "linear",
|
||||||
|
"magfilter": "linear",
|
||||||
|
"mipfilter": "none",
|
||||||
|
"anisotropy": 0,
|
||||||
|
"isUuid": true,
|
||||||
|
"imageUuidOrDatabaseUri": "efd3008b-716f-416a-bf4c-ab5cf1672e60",
|
||||||
|
"visible": false
|
||||||
|
},
|
||||||
|
"ver": "1.0.22",
|
||||||
|
"imported": true,
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"userData": {
|
||||||
|
"hasAlpha": true,
|
||||||
|
"type": "texture",
|
||||||
|
"fixAlphaTransparencyArtifacts": false,
|
||||||
|
"redirect": "efd3008b-716f-416a-bf4c-ab5cf1672e60@6c48a"
|
||||||
|
}
|
||||||
|
}
|
||||||
3078
assets/resources/gui/rewards.prefab
Normal file
13
assets/resources/gui/rewards.prefab.meta
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.1.50",
|
||||||
|
"importer": "prefab",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "270afabb-368b-4c40-b302-6f8852fd4c1e",
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {
|
||||||
|
"syncNodeName": "rewards"
|
||||||
|
}
|
||||||
|
}
|
||||||
7780
assets/resources/gui/top_inf.prefab
Normal file
13
assets/resources/gui/top_inf.prefab.meta
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.1.50",
|
||||||
|
"importer": "prefab",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "dc0b56d7-c633-4cd2-a6ff-8fa2d7456d9d",
|
||||||
|
"files": [
|
||||||
|
".json"
|
||||||
|
],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {
|
||||||
|
"syncNodeName": "top_inf"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,8 +19,8 @@ const { ccclass, property } = _decorator;
|
|||||||
@ccclass('Main')
|
@ccclass('Main')
|
||||||
export class Main extends Root {
|
export class Main extends Root {
|
||||||
start() {
|
start() {
|
||||||
if (DEBUG) profiler.showStats();
|
// if (DEBUG) profiler.showStats();
|
||||||
PhysicsSystem2D.instance.debugDrawFlags = EPhysics2DDrawFlags.Aabb
|
// PhysicsSystem2D.instance.debugDrawFlags = EPhysics2DDrawFlags.Aabb
|
||||||
// // | EPhysics2DDrawFlags.Pair
|
// // | EPhysics2DDrawFlags.Pair
|
||||||
// |EPhysics2DDrawFlags.CenterOfMass
|
// |EPhysics2DDrawFlags.CenterOfMass
|
||||||
// |EPhysics2DDrawFlags.Joint
|
// |EPhysics2DDrawFlags.Joint
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ export class Boss extends ecs.Entity {
|
|||||||
var bs = node.getComponent(BossViewComp)!;
|
var bs = node.getComponent(BossViewComp)!;
|
||||||
// console.log("hero_init",buff)
|
// console.log("hero_init",buff)
|
||||||
bs.speed =bs.ospeed = smc.monsters[uuid].speed;
|
bs.speed =bs.ospeed = smc.monsters[uuid].speed;
|
||||||
bs.hero_name= smc.monsters[uuid].name;
|
bs.boos_name= smc.monsters[uuid].name;
|
||||||
bs.hp= bs.hp_max = smc.monsters[uuid].hp;
|
bs.hp= bs.hp_max = smc.monsters[uuid].hp;
|
||||||
bs.level = smc.monsters[uuid].level;
|
bs.level = smc.monsters[uuid].level;
|
||||||
bs.atk = smc.monsters[uuid].atk;
|
bs.atk = smc.monsters[uuid].atk;
|
||||||
@@ -84,6 +84,7 @@ export class Boss extends ecs.Entity {
|
|||||||
bs.power_max = smc.monsters[uuid].power_max;
|
bs.power_max = smc.monsters[uuid].power_max;
|
||||||
bs.skill = smc.monsters[uuid].skill_uuid;
|
bs.skill = smc.monsters[uuid].skill_uuid;
|
||||||
bs.type = smc.monsters[uuid].type;
|
bs.type = smc.monsters[uuid].type;
|
||||||
|
bs.box_group = BoxSet.MONSTER;
|
||||||
bs.scale = -1;
|
bs.scale = -1;
|
||||||
bs.Tpos = v3(0,0,0);
|
bs.Tpos = v3(0,0,0);
|
||||||
this.add(bs);
|
this.add(bs);
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ export class BossSpine extends Component {
|
|||||||
private default:string = "idle";
|
private default:string = "idle";
|
||||||
private atk_name: string = "atk";
|
private atk_name: string = "atk";
|
||||||
private move_name: string = "move";
|
private move_name: string = "move";
|
||||||
private max_name: string = "max";
|
private max_name: string = "atk";
|
||||||
private idel_name: string = "idle";
|
private idel_name: string = "move";
|
||||||
start() {
|
start() {
|
||||||
this.spine.setAnimation(0, this.default, true);
|
this.spine.setAnimation(0, this.default, true);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,8 +43,8 @@ export class BossViewComp extends CCComp {
|
|||||||
atk_enemy:any=null!;
|
atk_enemy:any=null!;
|
||||||
neraster_enemy:any=null!;
|
neraster_enemy:any=null!;
|
||||||
/** 角色动画 */
|
/** 角色动画 */
|
||||||
hero_uuid:number = 1001;
|
boos_uuid:number = 1001;
|
||||||
hero_name : string = "role";
|
boos_name : string = "role";
|
||||||
level:number =1;
|
level:number =1;
|
||||||
scale: number = 1; /** 角色阵营 1:hero -1 :monster */
|
scale: number = 1; /** 角色阵营 1:hero -1 :monster */
|
||||||
state: number = 1; /** 状态 1:move ,2: act 3: stop */
|
state: number = 1; /** 状态 1:move ,2: act 3: stop */
|
||||||
@@ -168,6 +168,9 @@ export class BossViewComp extends CCComp {
|
|||||||
|
|
||||||
|
|
||||||
update(dt: number){
|
update(dt: number){
|
||||||
|
if(smc.vm_data.game_over||smc.vm_data.game_pause){
|
||||||
|
return
|
||||||
|
}
|
||||||
if (this.timer.update(dt)) {
|
if (this.timer.update(dt)) {
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -229,7 +232,7 @@ export class BossViewComp extends CCComp {
|
|||||||
let {pos,t_pos}=this.get_enemy_pos()
|
let {pos,t_pos}=this.get_enemy_pos()
|
||||||
pos.y=pos.y + y
|
pos.y=pos.y + y
|
||||||
pos.x=pos.x + x
|
pos.x=pos.x + x
|
||||||
skill.load(pos,BoxSet.HERO,this.node,skill_uuid,atk,t_pos);
|
skill.load(pos,this.box_group,this.node,skill_uuid,atk,t_pos);
|
||||||
// this.tooltip(3,smc.skills[skill_uuid].name,this.skill_uuid);
|
// this.tooltip(3,smc.skills[skill_uuid].name,this.skill_uuid);
|
||||||
}
|
}
|
||||||
//使用max_skill
|
//使用max_skill
|
||||||
@@ -282,7 +285,6 @@ export class BossViewComp extends CCComp {
|
|||||||
this.dead();
|
this.dead();
|
||||||
this.is_dead = true;
|
this.is_dead = true;
|
||||||
this.ent.remove(MoveToComp)
|
this.ent.remove(MoveToComp)
|
||||||
smc.vm_data.game_over = true;
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.ent.destroy();
|
this.ent.destroy();
|
||||||
}, 15);
|
}, 15);
|
||||||
|
|||||||
@@ -55,15 +55,19 @@ export class Role extends ecs.Entity {
|
|||||||
rv.hero_uuid=uuid;
|
rv.hero_uuid=uuid;
|
||||||
rv.speed =rv.ospeed = role.speed;
|
rv.speed =rv.ospeed = role.speed;
|
||||||
rv.hero_name= "role";
|
rv.hero_name= "role";
|
||||||
rv.hp= rv.hp_max = role.hp;
|
rv.hp= rv.hp_max = role.hp*(1+smc.vm_data.talent[1].bonus*smc.vm_data.talent[1].lv);
|
||||||
rv.level = role.lv;
|
rv.level = role.lv;
|
||||||
rv.atk = role.atk;
|
rv.atk = role.atk*(1+smc.vm_data.talent[2].bonus*smc.vm_data.talent[2].lv);
|
||||||
rv.atk_cd = role.atk_cd;
|
rv.atk_cd = role.atk_cd*(1-smc.vm_data.talent[3].bonus*smc.vm_data.talent[3].lv);
|
||||||
|
rv.st_boncus=1+smc.vm_data.talent[15].bonus*smc.vm_data.talent[15].lv;
|
||||||
|
rv.s_boncus=1+smc.vm_data.talent[16].bonus*smc.vm_data.talent[16].lv;
|
||||||
rv.power = role.power;
|
rv.power = role.power;
|
||||||
rv.skills = role.skills;
|
rv.skills = role.skills;
|
||||||
|
for (let i = 0; i < rv.skills.length; i++) {
|
||||||
|
rv.skills[i].cd*(1-smc.vm_data.talent[4].bonus*smc.vm_data.talent[4].lv)
|
||||||
|
}
|
||||||
rv.skill = role.skill;
|
rv.skill = role.skill;
|
||||||
rv.atk_range=role.atk_range;
|
rv.box_group = BoxSet.HERO;
|
||||||
rv.power= role.power;
|
|
||||||
this.add(rv);
|
this.add(rv);
|
||||||
}
|
}
|
||||||
move(target: Vec3) {
|
move(target: Vec3) {
|
||||||
|
|||||||
@@ -59,6 +59,8 @@ export class RoleViewComp extends CCComp {
|
|||||||
power_speed: number = 1; //能量回复速度每0.1秒回复量
|
power_speed: number = 1; //能量回复速度每0.1秒回复量
|
||||||
skill:8001;
|
skill:8001;
|
||||||
skills:any=[]
|
skills:any=[]
|
||||||
|
st_boncus: number = 1; //技能持续时间加成
|
||||||
|
s_boncus: number = 1; //技能效果加成
|
||||||
buff_atks:any = [];
|
buff_atks:any = [];
|
||||||
buff_atk:number = 0;
|
buff_atk:number = 0;
|
||||||
|
|
||||||
@@ -130,6 +132,8 @@ export class RoleViewComp extends CCComp {
|
|||||||
|
|
||||||
selfCollider.node.setSiblingIndex(otherCollider.node.getSiblingIndex()+1)
|
selfCollider.node.setSiblingIndex(otherCollider.node.getSiblingIndex()+1)
|
||||||
// console.log("onPreSolve b:"+selfCollider.node.uuid+":"+selfCollider.node.getSiblingIndex()+"/"+otherCollider.node.uuid+":"+otherCollider.node.getSiblingIndex());
|
// console.log("onPreSolve b:"+selfCollider.node.uuid+":"+selfCollider.node.getSiblingIndex()+"/"+otherCollider.node.uuid+":"+otherCollider.node.getSiblingIndex());
|
||||||
|
}else{
|
||||||
|
selfCollider.node.setSiblingIndex(otherCollider.node.getSiblingIndex()-1)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -158,6 +162,9 @@ export class RoleViewComp extends CCComp {
|
|||||||
|
|
||||||
|
|
||||||
update(dt: number){
|
update(dt: number){
|
||||||
|
if(smc.vm_data.game_over||smc.vm_data.game_pause){
|
||||||
|
return
|
||||||
|
}
|
||||||
if (this.timer.update(dt)) {
|
if (this.timer.update(dt)) {
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -236,7 +243,7 @@ export class RoleViewComp extends CCComp {
|
|||||||
pos.y=300
|
pos.y=300
|
||||||
t_pos.y=t_pos.y-300
|
t_pos.y=t_pos.y-300
|
||||||
}
|
}
|
||||||
skill.load(pos,BoxSet.HERO,this.node,skill_uuid,atk,t_pos);
|
skill.load(pos,this.box_group,this.node,skill_uuid,atk,t_pos);
|
||||||
// this.tooltip(3,smc.skills[skill_uuid].name,this.skill_uuid);
|
// this.tooltip(3,smc.skills[skill_uuid].name,this.skill_uuid);
|
||||||
}
|
}
|
||||||
//使用max_skill
|
//使用max_skill
|
||||||
@@ -274,8 +281,8 @@ export class RoleViewComp extends CCComp {
|
|||||||
this.atk_time = 0;
|
this.atk_time = 0;
|
||||||
this.as.atk();
|
this.as.atk();
|
||||||
this.scheduleOnce(()=>{
|
this.scheduleOnce(()=>{
|
||||||
this.shoot(this.skill,-30);
|
this.shoot(this.skill,-30,45);
|
||||||
},0.2)
|
},0.3)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -306,6 +313,13 @@ export class RoleViewComp extends CCComp {
|
|||||||
}
|
}
|
||||||
heathed(){
|
heathed(){
|
||||||
this.node.getChildByName("heathed").active=true
|
this.node.getChildByName("heathed").active=true
|
||||||
|
// console.log("role heathed");
|
||||||
|
// var path = "game/skills/heathed";
|
||||||
|
// var prefab: Prefab = oops.res.get(path, Prefab)!;
|
||||||
|
// var node = instantiate(prefab);
|
||||||
|
// let pos = v3(0,0)
|
||||||
|
// node.setPosition(pos)
|
||||||
|
// node.parent = this.node;
|
||||||
}
|
}
|
||||||
add_hp(hp: number=0){
|
add_hp(hp: number=0){
|
||||||
this.heathed();
|
this.heathed();
|
||||||
|
|||||||
@@ -73,16 +73,22 @@ export class SingletonModuleComp extends ecs.Comp {
|
|||||||
vm_data: any = {
|
vm_data: any = {
|
||||||
name : "纸片精灵大乱斗",
|
name : "纸片精灵大乱斗",
|
||||||
game_over:false,
|
game_over:false,
|
||||||
/**宝石数量 */
|
game_pause:false,
|
||||||
gems: 4,
|
gems: 4,
|
||||||
unlock:5,
|
unlock:5,
|
||||||
game:{
|
|
||||||
|
mission:{
|
||||||
|
once:6, //每波刷新怪物数量
|
||||||
|
total:120, //总怪物数
|
||||||
|
reward:12, //怪物死亡奖励数量
|
||||||
|
reward_num:0, //怪物死亡数
|
||||||
t_damge:0,
|
t_damge:0,
|
||||||
t_dps:0,
|
t_dps:0,
|
||||||
h_dps:0,
|
h_dps:0,
|
||||||
m_dps:0,
|
m_dps:0,
|
||||||
g_level:1,
|
g_level:1,
|
||||||
g_time:0,
|
g_time:0,
|
||||||
|
m_less:0,
|
||||||
},
|
},
|
||||||
role:{
|
role:{
|
||||||
hp:3000,
|
hp:3000,
|
||||||
@@ -101,14 +107,32 @@ export class SingletonModuleComp extends ecs.Comp {
|
|||||||
power:300,
|
power:300,
|
||||||
skill:1004,
|
skill:1004,
|
||||||
skills:[
|
skills:[
|
||||||
{uuid:1002,cd:2,alive:true },
|
{uuid:0,cd:2,alive:false },
|
||||||
{uuid:4012,cd:3,alive:true},
|
{uuid:0,cd:3,alive:false},
|
||||||
{uuid:4011,cd:4,alive:true},
|
{uuid:0,cd:4,alive:false},
|
||||||
{uuid:0,cd:0,alive:false},
|
{uuid:0,cd:0,alive:false},
|
||||||
{uuid:0,cd:0,alive:false},
|
{uuid:0,cd:0,alive:false},
|
||||||
]
|
],
|
||||||
|
|
||||||
},
|
},
|
||||||
|
talent:{
|
||||||
|
1:{bonus:3,lv:0,lv_max:5,info:"英雄血量加成",name:""},
|
||||||
|
2:{bonus:3,lv:0,lv_max:5,info:"英雄攻击加成",name:""},
|
||||||
|
3:{bonus:3,lv:0,lv_max:5,info:"英雄攻击加速",name:""},
|
||||||
|
4:{bonus:3,lv:0,lv_max:5,info:"英雄技能cd加速",name:""},
|
||||||
|
5:{bonus:3,lv:0,lv_max:5,info:"英雄技能效果加强",name:""},
|
||||||
|
6:{bonus:3,lv:0,lv_max:5,info:"",name:""},
|
||||||
|
7:{bonus:3,lv:0,lv_max:5,info:"",name:""},
|
||||||
|
8:{bonus:3,lv:0,lv_max:5,info:"",name:""},
|
||||||
|
9:{bonus:3,lv:0,lv_max:5,info:"",name:""},
|
||||||
|
10:{bonus:3,lv:0,lv_max:5,info:"",name:""},
|
||||||
|
11:{bonus:3,lv:0,lv_max:5,info:"血量加成",name:""},
|
||||||
|
12:{bonus:3,lv:0,lv_max:5,info:"攻击加成",name:""},
|
||||||
|
13:{bonus:3,lv:0,lv_max:5,info:"攻击加速",name:""},
|
||||||
|
14:{bonus:3,lv:0,lv_max:5,info:"技能cd加速",name:""},
|
||||||
|
15:{bonus:3,lv:0,lv_max:5,info:"技能效果加强",name:""},
|
||||||
|
16:{bonus:3,lv:0,lv_max:5,info:"技能持续时间",name:""},
|
||||||
|
},
|
||||||
/** 当前等级 */
|
/** 当前等级 */
|
||||||
cards:{
|
cards:{
|
||||||
level:1,
|
level:1,
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export enum BoxSet {
|
|||||||
MONSTER_START = 360,
|
MONSTER_START = 360,
|
||||||
END_POINT = 360,
|
END_POINT = 360,
|
||||||
//游戏地平线
|
//游戏地平线
|
||||||
GAME_LINE = 150,
|
GAME_LINE = 180,
|
||||||
CSKILL_X = 320,
|
CSKILL_X = 320,
|
||||||
CSKILL_Y = 400,
|
CSKILL_Y = 400,
|
||||||
//攻击距离
|
//攻击距离
|
||||||
|
|||||||
@@ -15,7 +15,9 @@ export enum UIID {
|
|||||||
/** 加载与延时提示界面 */
|
/** 加载与延时提示界面 */
|
||||||
Netinstable,
|
Netinstable,
|
||||||
/** 角色控制 */
|
/** 角色控制 */
|
||||||
Role_Controller
|
Role_Controller,
|
||||||
|
/** 奖励界面 */
|
||||||
|
Rewards,
|
||||||
}
|
}
|
||||||
|
|
||||||
/** 打开界面方式的配置数据 */
|
/** 打开界面方式的配置数据 */
|
||||||
@@ -23,5 +25,6 @@ export var UIConfigData: { [key: number]: UIConfig } = {
|
|||||||
[UIID.Loading]: { layer: LayerType.UI, prefab: "loading/prefab/loading", bundle: "resources" },
|
[UIID.Loading]: { layer: LayerType.UI, prefab: "loading/prefab/loading", bundle: "resources" },
|
||||||
[UIID.Netinstable]: { layer: LayerType.PopUp, prefab: "common/prefab/netinstable" },
|
[UIID.Netinstable]: { layer: LayerType.PopUp, prefab: "common/prefab/netinstable" },
|
||||||
[UIID.Window]: { layer: LayerType.Dialog, prefab: "common/prefab/window" },
|
[UIID.Window]: { layer: LayerType.Dialog, prefab: "common/prefab/window" },
|
||||||
|
[UIID.Rewards]: { layer: LayerType.Dialog, prefab: "gui/rewards" },
|
||||||
[UIID.Role_Controller]: { layer: LayerType.UI, prefab: "gui/role_controller" },
|
[UIID.Role_Controller]: { layer: LayerType.UI, prefab: "gui/role_controller" },
|
||||||
}
|
}
|
||||||
64
assets/script/game/common/config/RewardSet.ts
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
|
||||||
|
export const RewardSet={
|
||||||
|
1:[
|
||||||
|
{uuid: 5001,path: "5001",type: 1,lv: 1,name: "攻击强化1",info:"佣兵攻击提升10%",atk:10,hp:0,atk_cd:0,},
|
||||||
|
{uuid: 5002,path: "5002",type: 1,lv: 1,name: "攻速强化1",info:"佣兵攻击速度提升10%",atk:0,hp:0,atk_cd:10,},
|
||||||
|
{uuid: 5003,path: "5003",type: 1,lv: 1,name: "生命强化1",info:"佣兵生命值10%",atk:0,hp:20,atk_cd:0,},
|
||||||
|
],
|
||||||
|
2:[
|
||||||
|
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
|
||||||
|
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
|
||||||
|
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
|
||||||
|
],
|
||||||
|
3:[
|
||||||
|
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
|
||||||
|
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
|
||||||
|
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
|
||||||
|
],
|
||||||
|
4:[
|
||||||
|
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
|
||||||
|
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
|
||||||
|
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
|
||||||
|
],
|
||||||
|
5:[
|
||||||
|
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
|
||||||
|
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
|
||||||
|
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
|
||||||
|
],
|
||||||
|
6:[
|
||||||
|
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
|
||||||
|
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
|
||||||
|
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
|
||||||
|
],
|
||||||
|
7:[
|
||||||
|
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
|
||||||
|
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
|
||||||
|
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
|
||||||
|
],
|
||||||
|
8:[
|
||||||
|
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
|
||||||
|
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
|
||||||
|
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
|
||||||
|
],
|
||||||
|
9:[
|
||||||
|
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
|
||||||
|
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
|
||||||
|
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
|
||||||
|
],
|
||||||
|
10:[
|
||||||
|
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
|
||||||
|
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
|
||||||
|
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
|
||||||
|
],
|
||||||
|
11:[
|
||||||
|
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
|
||||||
|
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
|
||||||
|
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
|
||||||
|
],
|
||||||
|
12:[
|
||||||
|
{uuid: 5001,path: "5001",type: 1,lv: 2,name: "攻击强化2",info:"佣兵攻击速度提升15%",atk:15,hp:0,atk_cd:0,},
|
||||||
|
{uuid: 5002,path: "5002",type: 1,lv: 2,name: "攻速强化2",info:"佣兵攻击速度提升15%",atk:0,hp:0,atk_cd:15,},
|
||||||
|
{uuid: 5003,path: "5003",type: 1,lv: 2,name: "生命强化2",info:"佣兵生命值30%",atk:0,hp:30,atk_cd:0,},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
9
assets/script/game/common/config/RewardSet.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "4.0.23",
|
||||||
|
"importer": "typescript",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "0388f0b8-c77d-4020-8b9a-dabf774f6502",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
@@ -36,11 +36,11 @@ export const SkillSet={
|
|||||||
dis:1,count:1,in:0,run:0,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:0,bcd:0,sk_uuid:1001,sk_count:0,speed:600, },
|
dis:1,count:1,in:0,run:0,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:0,bcd:0,sk_uuid:1001,sk_count:0,speed:600, },
|
||||||
|
|
||||||
2001:{uuid: 2001,path: "2001",type: 91,tg:1,angle:false,level: 1,name: "治愈术",sp_name:"heath",info:"释放一个寒冰箭攻击敌人",
|
2001:{uuid: 2001,path: "2001",type: 91,tg:1,angle:false,level: 1,name: "治愈术",sp_name:"heath",info:"释放一个寒冰箭攻击敌人",
|
||||||
dis:1,count:1,in:0,run:1,atk:0,hp:30,shield:0,sd:10,cd:1,bsd:0,bcd:0,sk_uuid:1001,sk_count:0,speed:450, },
|
dis:1,count:1,in:0,run:1,atk:0,hp:3,shield:0,sd:10,cd:1,bsd:0,bcd:0,sk_uuid:1001,sk_count:0,speed:450, },
|
||||||
2002:{uuid: 2002,path: "2002",type: 91,tg:0,angle:false,level: 1,name: "魔法盾",sp_name:"shield",info:"释放一个寒冰箭攻击敌人",
|
2002:{uuid: 2002,path: "2002",type: 91,tg:0,angle:false,level: 1,name: "魔法盾",sp_name:"shield",info:"释放一个寒冰箭攻击敌人",
|
||||||
dis:1,count:1,in:0.2,run:2,atk:0,hp:0,shield:50,sd:0,cd:0,bsd:8,bcd:0,sk_uuid:1001,sk_count:0,speed:450, },
|
dis:1,count:1,in:0.2,run:2,atk:0,hp:0,shield:5,sd:0,cd:0,bsd:8,bcd:0,sk_uuid:1001,sk_count:0,speed:450, },
|
||||||
2003:{uuid: 2003,path: "2003",type: 91,tg:0,angle:false,level: 1,name: "狂暴",sp_name:"atkup",info:"释放一个寒冰箭攻击敌人",
|
2003:{uuid: 2003,path: "2003",type: 91,tg:0,angle:false,level: 1,name: "狂暴",sp_name:"atkup",info:"释放一个寒冰箭攻击敌人",
|
||||||
dis:1,count:1,in:0.2,run:2,atk:10,hp:0,shield:0,sd:0,cd:0,bsd:8,bcd:0,sk_uuid:1001,sk_count:0,speed:450, },
|
dis:1,count:1,in:0.2,run:2,atk:1,hp:0,shield:0,sd:0,cd:0,bsd:8,bcd:0,sk_uuid:1001,sk_count:0,speed:450, },
|
||||||
|
|
||||||
|
|
||||||
3001:{uuid: 3001,path: "3001",type: 1,tg:3,angle:true,level: 1,name: "三连击",sp_name:"patk",info:"释放一个魔法球攻击敌人",
|
3001:{uuid: 3001,path: "3001",type: 1,tg:3,angle:true,level: 1,name: "三连击",sp_name:"patk",info:"释放一个魔法球攻击敌人",
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
|
|
||||||
export const HeroSet = {
|
export const HeroSet = {
|
||||||
9001: {
|
9001: {
|
||||||
uuid: 9001, path: "k3", type: 1, level: 1,cost:2, name: "骑士", atk: 4, hp: 60, atk_dis: 40, atk_cd: 1, power: 0, power_max: 20, speed: 30,
|
uuid: 9001, path: "k3", type: 1, level: 1,cost:2, name: "骑士", atk: 4, hp: 60, atk_dis: 40, atk_cd: 1, power: 0, power_max: 20, speed: 40,
|
||||||
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 2002, word: "守护", info: "自身护盾", atktype: 1,
|
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 2002, word: "守护", info: "自身护盾", atktype: 1,
|
||||||
},
|
},
|
||||||
|
|
||||||
9002: {
|
9002: {
|
||||||
uuid: 9002, path: "k1", type: 1, level: 1,cost:2, name: "战士", atk: 8, hp: 30, atk_dis: 40, atk_cd: 1, power: 0, power_max: 20, speed: 30,
|
uuid: 9002, path: "k1", type: 1, level: 1,cost:2, name: "战士", atk: 8, hp: 30, atk_dis: 40, atk_cd: 1, power: 0, power_max: 20, speed: 40,
|
||||||
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 2003, word: "守护", info: "自身护盾", atktype: 1,
|
max_skill: "精准打击", skill_uuid: 9001, max_skill_uuid: 2003, word: "守护", info: "自身护盾", atktype: 1,
|
||||||
},
|
},
|
||||||
9011: {
|
9011: {
|
||||||
@@ -19,7 +19,7 @@ export const HeroSet = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
9031: {
|
9031: {
|
||||||
uuid: 9005, path: "m2", type: 3, level: 1,cost:2, name: "牧师", atk: 3, hp: 20, atk_dis: 260, atk_cd: 2, power: 0, power_max: 20, speed: 30,
|
uuid: 9005, path: "m2", type: 3, level: 1,cost:2, name: "牧师", atk: 3, hp: 20, atk_dis: 260, atk_cd: 2, power: 15, power_max: 20, speed: 30,
|
||||||
max_skill: "治愈术", skill_uuid: 9002, max_skill_uuid: 2001, word: "守护", info: "自身护盾", atktype: 2
|
max_skill: "治愈术", skill_uuid: 9002, max_skill_uuid: 2001, word: "守护", info: "自身护盾", atktype: 2
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -61,13 +61,15 @@ export class Hero extends ecs.Entity {
|
|||||||
let hero_set= smc.heros[uuid]
|
let hero_set= smc.heros[uuid]
|
||||||
hv.speed =hv.ospeed = hero_set.speed;
|
hv.speed =hv.ospeed = hero_set.speed;
|
||||||
hv.hero_name= hero_set.name;
|
hv.hero_name= hero_set.name;
|
||||||
hv.hp= hv.hp_max = hero_set.hp;
|
hv.hp= hv.hp_max = hero_set.hp*(1+smc.vm_data.talent[11].bonus*smc.vm_data.talent[11].lv);
|
||||||
hv.level = hero_set.level;
|
hv.level = hero_set.level;
|
||||||
hv.atk = hero_set.atk;
|
hv.atk = hero_set.atk*(1+smc.vm_data.talent[12].bonus*smc.vm_data.talent[12].lv);
|
||||||
hv.atk_cd = hero_set.atk_cd;
|
hv.atk_cd = hero_set.atk_cd*(1-smc.vm_data.talent[13].bonus*smc.vm_data.talent[13].lv);
|
||||||
|
hv.st_boncus=1+smc.vm_data.talent[15].bonus*smc.vm_data.talent[15].lv;
|
||||||
|
hv.s_boncus=1+smc.vm_data.talent[16].bonus*smc.vm_data.talent[16].lv;
|
||||||
hv.atk_dis = hero_set.atk_dis;
|
hv.atk_dis = hero_set.atk_dis;
|
||||||
hv.power = hero_set.power;
|
hv.power = hero_set.power;
|
||||||
hv.power_max= hero_set.power_max;
|
hv.power_max= hero_set.power_max*(1-smc.vm_data.talent[14].bonus*smc.vm_data.talent[14].lv);;
|
||||||
hv.type = hero_set.type;
|
hv.type = hero_set.type;
|
||||||
hv.skill_uuid = hero_set.skill_uuid;
|
hv.skill_uuid = hero_set.skill_uuid;
|
||||||
hv.max_skill_uuid = hero_set.max_skill_uuid;
|
hv.max_skill_uuid = hero_set.max_skill_uuid;
|
||||||
|
|||||||
@@ -67,7 +67,8 @@ export class HeroViewComp extends CCComp {
|
|||||||
atk_cd: number = 1.3; /**攻击速度 攻击间隔 */
|
atk_cd: number = 1.3; /**攻击速度 攻击间隔 */
|
||||||
atk_dis: number = 80;
|
atk_dis: number = 80;
|
||||||
atk_time: number = 0; /** 冷却时间 */
|
atk_time: number = 0; /** 冷却时间 */
|
||||||
|
st_boncus: number = 1; //技能持续时间加成
|
||||||
|
s_boncus: number = 1; //技能效果加成
|
||||||
speed: number = 100; /** 角色移动速度 */
|
speed: number = 100; /** 角色移动速度 */
|
||||||
ospeed: number = 100; /** 角色初始速度 */
|
ospeed: number = 100; /** 角色初始速度 */
|
||||||
Tpos: Vec3 = v3(0,-60,0);
|
Tpos: Vec3 = v3(0,-60,0);
|
||||||
@@ -173,6 +174,9 @@ export class HeroViewComp extends CCComp {
|
|||||||
|
|
||||||
|
|
||||||
update(dt: number){
|
update(dt: number){
|
||||||
|
if(smc.vm_data.game_over||smc.vm_data.game_pause){
|
||||||
|
return
|
||||||
|
}
|
||||||
if (this.timer.update(dt)) {
|
if (this.timer.update(dt)) {
|
||||||
this.power_change(this.power_speed)
|
this.power_change(this.power_speed)
|
||||||
}
|
}
|
||||||
@@ -194,7 +198,9 @@ export class HeroViewComp extends CCComp {
|
|||||||
}
|
}
|
||||||
check_enemy_alive(){
|
check_enemy_alive(){
|
||||||
let dir = 320
|
let dir = 320
|
||||||
|
this.enemy = v3(720,this.node.position.y)
|
||||||
for (let i = 0; i < GameSet.ATK_LINES; i++) {
|
for (let i = 0; i < GameSet.ATK_LINES; i++) {
|
||||||
|
|
||||||
let mon:any = smc.enemy_pos[i];
|
let mon:any = smc.enemy_pos[i];
|
||||||
let x=Math.abs(mon.x-this.node.position.x)
|
let x=Math.abs(mon.x-this.node.position.x)
|
||||||
let y = Math.abs(mon.y-this.node.position.y)
|
let y = Math.abs(mon.y-this.node.position.y)
|
||||||
@@ -211,6 +217,7 @@ export class HeroViewComp extends CCComp {
|
|||||||
}else{
|
}else{
|
||||||
this.is_atking=false
|
this.is_atking=false
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
move(dt: number){
|
move(dt: number){
|
||||||
if(this.stop_cd > 0){
|
if(this.stop_cd > 0){
|
||||||
@@ -295,15 +302,14 @@ export class HeroViewComp extends CCComp {
|
|||||||
let {pos,t_pos}=this.get_hero_pos(hero)
|
let {pos,t_pos}=this.get_hero_pos(hero)
|
||||||
skill.load(pos,BoxSet.HERO,this.node,this.max_skill_uuid,atk,t_pos);
|
skill.load(pos,BoxSet.HERO,this.node,this.max_skill_uuid,atk,t_pos);
|
||||||
if(smc.skills[s_uuid].hp > 0){ //buff加血
|
if(smc.skills[s_uuid].hp > 0){ //buff加血
|
||||||
hero.HeroView.add_hp(smc.skills[s_uuid].hp)
|
hero.HeroView.add_hp(smc.skills[s_uuid].hp*this.atk*this.s_boncus)
|
||||||
}
|
}
|
||||||
if(smc.skills[s_uuid].atk > 0){ //buff加攻击
|
if(smc.skills[s_uuid].atk > 0){ //buff加攻击
|
||||||
hero.HeroView.add_atk(smc.skills[s_uuid].atk,smc.skills[s_uuid].bsd)
|
hero.HeroView.add_atk(smc.skills[s_uuid].atk*this.atk*this.s_boncus,smc.skills[s_uuid].bsd*this.st_boncus)
|
||||||
}
|
}
|
||||||
if(smc.skills[s_uuid].shield > 0){ //buff护盾
|
if(smc.skills[s_uuid].shield > 0){ //buff护盾
|
||||||
hero.HeroView.add_shield(smc.skills[s_uuid].shield,smc.skills[s_uuid].bsd)
|
hero.HeroView.add_shield(smc.skills[s_uuid].shield*this.atk*this.s_boncus,smc.skills[s_uuid].bsd*this.st_boncus)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
push_least_buff(skill:number){
|
push_least_buff(skill:number){
|
||||||
let heros:any = ecs.query(ecs.allOf(HeroModelComp));
|
let heros:any = ecs.query(ecs.allOf(HeroModelComp));
|
||||||
@@ -393,6 +399,12 @@ export class HeroViewComp extends CCComp {
|
|||||||
|
|
||||||
heathed(){
|
heathed(){
|
||||||
this.node.getChildByName("heathed").active=true
|
this.node.getChildByName("heathed").active=true
|
||||||
|
// var path = "game/skills/heathed";
|
||||||
|
// var prefab: Prefab = oops.res.get(path, Prefab)!;
|
||||||
|
// var node = instantiate(prefab);
|
||||||
|
// let pos = v3(0,0)
|
||||||
|
// node.setPosition(pos)
|
||||||
|
// node.parent = this.node;
|
||||||
}
|
}
|
||||||
add_hp(hp: number=0){
|
add_hp(hp: number=0){
|
||||||
this.heathed();
|
this.heathed();
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/O
|
|||||||
import { RandomManager } from "../../../../extensions/oops-plugin-framework/assets/core/common/random/RandomManager";
|
import { RandomManager } from "../../../../extensions/oops-plugin-framework/assets/core/common/random/RandomManager";
|
||||||
import { SkillSet } from "../common/config/SkillSet";
|
import { SkillSet } from "../common/config/SkillSet";
|
||||||
import { HeroModelComp } from "../hero/HeroModelComp";
|
import { HeroModelComp } from "../hero/HeroModelComp";
|
||||||
|
import { RewardSet } from "../common/config/RewardSet";
|
||||||
const { ccclass, property } = _decorator;
|
const { ccclass, property } = _decorator;
|
||||||
|
|
||||||
/** 视图层对象 */
|
/** 视图层对象 */
|
||||||
@@ -27,7 +28,17 @@ export class CardControllerComp extends CCComp {
|
|||||||
5:{uuid:1105,type:1,lv:0,cost:0,alive:false},
|
5:{uuid:1105,type:1,lv:0,cost:0,alive:false},
|
||||||
6:{uuid:1106,type:1,lv:0,cost:0,alive:false},
|
6:{uuid:1106,type:1,lv:0,cost:0,alive:false},
|
||||||
}
|
}
|
||||||
|
rewards:any = {
|
||||||
|
1:{uuid: 5001,path: "5001",type: 1,lv: 1,name: "",info:"",atk:0,hp:0,atk_cd:0,},
|
||||||
|
2:{uuid: 5001,path: "5001",type: 1,lv: 1,name: "",info:"",atk:0,hp:0,atk_cd:0,},
|
||||||
|
3:{uuid: 5001,path: "5001",type: 1,lv: 1,name: "",info:"",atk:0,hp:0,atk_cd:0,},
|
||||||
|
}
|
||||||
|
rewards_set:any = []
|
||||||
|
reward_lv = 0;
|
||||||
|
|
||||||
protected onLoad(): void {
|
protected onLoad(): void {
|
||||||
|
oops.message.on("do_reward", this.do_reward, this);
|
||||||
|
|
||||||
let card1 = this.node.getChildByName("cards").getChildByName("card1");
|
let card1 = this.node.getChildByName("cards").getChildByName("card1");
|
||||||
let card2 = this.node.getChildByName("cards").getChildByName("card2");
|
let card2 = this.node.getChildByName("cards").getChildByName("card2");
|
||||||
let card3 = this.node.getChildByName("cards").getChildByName("card3");
|
let card3 = this.node.getChildByName("cards").getChildByName("card3");
|
||||||
@@ -337,14 +348,83 @@ export class CardControllerComp extends CCComp {
|
|||||||
// }
|
// }
|
||||||
this.remove_card(index)
|
this.remove_card(index)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_reward(){
|
||||||
|
smc.vm_data.game_pause = true;
|
||||||
|
this.reward_lv+=1
|
||||||
|
this.rewards_set=RewardSet[this.reward_lv]
|
||||||
|
let i=RandomManager.instance.getRandomInt(0,this.rewards_set.length-1, 1)
|
||||||
|
console.log("rewards:",i)
|
||||||
|
this.rewards[1]=this.rewards_set[i]
|
||||||
|
this.rewards_set.splice(i,1)
|
||||||
|
i=RandomManager.instance.getRandomInt(0,this.rewards_set.length-1, 1)
|
||||||
|
console.log("rewards:",i)
|
||||||
|
this.rewards[2]=this.rewards_set[i]
|
||||||
|
this.rewards_set.splice(i,1)
|
||||||
|
i=RandomManager.instance.getRandomInt(0,this.rewards_set.length-1, 1)
|
||||||
|
console.log("rewards:",i)
|
||||||
|
this.rewards[3]=this.rewards_set[i]
|
||||||
|
this.rewards_set=[]
|
||||||
|
console.log("rewards:",this.rewards)
|
||||||
|
let re1=this.node.getChildByName('rewards').getChildByName('reward1')
|
||||||
|
let re2=this.node.getChildByName('rewards').getChildByName('reward2')
|
||||||
|
let re3=this.node.getChildByName('rewards').getChildByName('reward3')
|
||||||
|
|
||||||
|
re1.getChildByName('name').getComponent(Label).string=this.rewards[1].name
|
||||||
|
re2.getChildByName('name').getComponent(Label).string=this.rewards[2].name
|
||||||
|
re3.getChildByName('name').getComponent(Label).string=this.rewards[3].name
|
||||||
|
|
||||||
|
re1.getChildByName('info').getComponent(Label).string=this.rewards[1].info
|
||||||
|
re2.getChildByName('info').getComponent(Label).string=this.rewards[2].info
|
||||||
|
re3.getChildByName('info').getComponent(Label).string=this.rewards[3].info
|
||||||
|
|
||||||
|
resources.load("gui/rewards", SpriteAtlas, (err: any, atlas) => {
|
||||||
|
let pathName: string = this.rewards[1].path;
|
||||||
|
let node=re1.getChildByName('icon')
|
||||||
|
node.getComponent(Sprite).spriteFrame = atlas.getSpriteFrame(pathName);
|
||||||
|
pathName=this.rewards[2].path;
|
||||||
|
node=re2.getChildByName('icon')
|
||||||
|
node.getComponent(Sprite).spriteFrame = atlas.getSpriteFrame(pathName);
|
||||||
|
pathName=this.rewards[3].path;
|
||||||
|
node=re3.getChildByName('icon')
|
||||||
|
node.getComponent(Sprite).spriteFrame = atlas.getSpriteFrame(pathName);
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
this.node.getChildByName('rewards').active = true;
|
||||||
|
}
|
||||||
|
colse_reward(){
|
||||||
|
this.node.getChildByName('rewards').active = false;
|
||||||
|
smc.vm_data.game_pause = false;
|
||||||
|
}
|
||||||
|
do_reward_1(value:number=1){
|
||||||
|
this.colse_reward()
|
||||||
|
}
|
||||||
|
do_reward_2(value:number=2){
|
||||||
|
this.colse_reward()
|
||||||
|
}
|
||||||
|
do_reward_3(value:number=3){
|
||||||
|
this.colse_reward()
|
||||||
|
}
|
||||||
protected update(dt: number): void {
|
protected update(dt: number): void {
|
||||||
|
if(smc.vm_data.game_over||smc.vm_data.game_pause){
|
||||||
|
return
|
||||||
|
}
|
||||||
this.shuaxin(dt)
|
this.shuaxin(dt)
|
||||||
|
// this.gold_add(dt)
|
||||||
|
|
||||||
if(this.in_touch){
|
if(this.in_touch){
|
||||||
this.touch_time+=dt
|
this.touch_time+=dt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gold_add(dt: number) {
|
||||||
|
smc.vm_data.gold.time += dt;
|
||||||
|
if (smc.vm_data.gold.time >= smc.vm_data.gold.cd) {
|
||||||
|
smc.vm_data.gold.min += 1;
|
||||||
|
smc.vm_data.gold.time = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
/** 视图对象通过 ecs.Entity.remove(ControllerComp) 删除组件是触发组件处理自定义释放逻辑 */
|
/** 视图对象通过 ecs.Entity.remove(ControllerComp) 删除组件是触发组件处理自定义释放逻辑 */
|
||||||
reset() {
|
reset() {
|
||||||
this.node.destroy();
|
this.node.destroy();
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ import { HeroModelComp } from "../hero/HeroModelComp";
|
|||||||
import { Mon } from "../mon/Mon";
|
import { Mon } from "../mon/Mon";
|
||||||
import { MonModelComp } from "../mon/MonModelComp";
|
import { MonModelComp } from "../mon/MonModelComp";
|
||||||
import { Boss} from "../Boss/Boss";
|
import { Boss} from "../Boss/Boss";
|
||||||
|
import { UIID } from "../common/config/GameUIConfig";
|
||||||
const { ccclass, property } = _decorator;
|
const { ccclass, property } = _decorator;
|
||||||
|
|
||||||
/** 视图层对象 */
|
/** 视图层对象 */
|
||||||
@@ -28,22 +29,24 @@ export class MapMonsterComp extends CCComp {
|
|||||||
max_monster_level:number = 4; //最高怪物次等级
|
max_monster_level:number = 4; //最高怪物次等级
|
||||||
min_monster_num:number = 1; ///最小每次刷新怪物数量
|
min_monster_num:number = 1; ///最小每次刷新怪物数量
|
||||||
max_monster_num:number = 1; //最大每次刷新怪物数量
|
max_monster_num:number = 1; //最大每次刷新怪物数量
|
||||||
refresh_timer: Timer = new Timer(10); // 刷新怪物定时器
|
refresh_timer: Timer = new Timer(5); // 刷新怪物定时器
|
||||||
refresh_cd: Timer = new Timer(0.5);
|
refresh_cd: Timer = new Timer(0.5);
|
||||||
mission_up_timer: Timer = new Timer(30); //波次增加
|
mission_up_timer: Timer = new Timer(30); //波次增加
|
||||||
cur_mission:number = 1; //当前关卡方案
|
cur_mission:number = 1; //当前关卡方案
|
||||||
mission_list:any = []
|
mission_list:any = []
|
||||||
boss_list:any = []
|
boss_list:any = []
|
||||||
setp_timer: Timer = new Timer(0.3);
|
setp_timer: Timer = new Timer(0.2);
|
||||||
target_timer: Timer = new Timer(0.1);
|
target_timer: Timer = new Timer(0.1);
|
||||||
setp_num:number = 6;
|
setp_num:number = smc.vm_data.mission.once;
|
||||||
|
total:number = smc.vm_data.mission.total;
|
||||||
|
reward:number = 0;
|
||||||
|
reward_num:number = 0;
|
||||||
game_over:boolean = false;
|
game_over:boolean = false;
|
||||||
start_ys:any[] = [70,0,-70];
|
start_ys:any[] = [70,0,-70];
|
||||||
hero_start_ys:any[] = [35,-35];
|
hero_start_ys:any[] = [35,-35];
|
||||||
mon_index:number = 0
|
mon_index:number = 0
|
||||||
hero_index:number = 0
|
hero_index:number = 0
|
||||||
|
|
||||||
|
|
||||||
@property(Node)
|
@property(Node)
|
||||||
start_p: Node = null;
|
start_p: Node = null;
|
||||||
|
|
||||||
@@ -64,7 +67,8 @@ export class MapMonsterComp extends CCComp {
|
|||||||
this.mission_list = MonsetList[this.cur_mission]
|
this.mission_list = MonsetList[this.cur_mission]
|
||||||
this.boss_list = BossList[this.cur_mission]
|
this.boss_list = BossList[this.cur_mission]
|
||||||
// console.log("当前关卡方案",this.cur_mission,this.mission_list)
|
// console.log("当前关卡方案",this.cur_mission,this.mission_list)
|
||||||
this.refresh_timer= new Timer(smc.vm_data.gold.cd*5);
|
this.refresh_timer= new Timer(smc.vm_data.shuaxin.max);
|
||||||
|
smc.vm_data.mission.m_less=this.total
|
||||||
this.monster_refresh()
|
this.monster_refresh()
|
||||||
this.load_role()
|
this.load_role()
|
||||||
this.load_boss()
|
this.load_boss()
|
||||||
@@ -72,14 +76,16 @@ export class MapMonsterComp extends CCComp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected update(dt: number): void {
|
protected update(dt: number): void {
|
||||||
if(smc.vm_data.game_over){
|
if(smc.vm_data.game_over||smc.vm_data.game_pause){
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if(this.setp_timer.update(dt)){
|
if(this.setp_timer.update(dt)){
|
||||||
|
if(this.total<=0) return
|
||||||
this.monster_refresh()
|
this.monster_refresh()
|
||||||
}
|
}
|
||||||
|
this.is_reward()
|
||||||
if (this.refresh_timer.update(dt)) {
|
if (this.refresh_timer.update(dt)) {
|
||||||
this.setp_num = 6
|
this.setp_num=smc.vm_data.mission.once
|
||||||
}
|
}
|
||||||
if (this.mission_up_timer.update(dt)) {
|
if (this.mission_up_timer.update(dt)) {
|
||||||
// 刷新怪物定时器
|
// 刷新怪物定时器
|
||||||
@@ -87,11 +93,49 @@ export class MapMonsterComp extends CCComp {
|
|||||||
}
|
}
|
||||||
this.count_hero_pos()
|
this.count_hero_pos()
|
||||||
this.count_mon_pos()
|
this.count_mon_pos()
|
||||||
|
|
||||||
// if (this.game_timer.update(dt)) {
|
// if (this.game_timer.update(dt)) {
|
||||||
// smc.vm_data.game.g_time += 1;
|
// smc.vm_data.game.g_time += 1;
|
||||||
// }
|
// }
|
||||||
// this.shuaxin(dt)
|
// this.shuaxin(dt)
|
||||||
}
|
}
|
||||||
|
monster_refresh(){
|
||||||
|
if (this.setp_num <= 0){
|
||||||
|
return
|
||||||
|
}
|
||||||
|
let m:any = RandomManager.instance.getRandomByObjectList(this.mission_list[this.monster_level],1)
|
||||||
|
var scene = smc.map.MapView.scene;
|
||||||
|
let pos:Vec3 = v3(BoxSet.MONSTER_START,BoxSet.GAME_LINE+this.start_ys[this.mon_index])
|
||||||
|
let monster_layer = scene.entityLayer!.node!
|
||||||
|
this.addMonster(m[0],monster_layer,pos)
|
||||||
|
this.mon_index += 1
|
||||||
|
if(this.mon_index>2){
|
||||||
|
this.mon_index = 0
|
||||||
|
}
|
||||||
|
smc.vm_data.mission.m_less=this.total -= 1
|
||||||
|
this.setp_num -= 1
|
||||||
|
}
|
||||||
|
is_reward(){
|
||||||
|
if(smc.vm_data.mission.reward_num < smc.vm_data.mission.reward) return
|
||||||
|
this.do_reward()
|
||||||
|
smc.vm_data.mission.reward_num = 0
|
||||||
|
}
|
||||||
|
do_reward(){
|
||||||
|
console.log("do_reward")
|
||||||
|
oops.message.dispatchEvent("do_reward");
|
||||||
|
}
|
||||||
|
private addMonster(uuid:number=1001,layer:any,pos:Vec3=v3(0,0,0)) {
|
||||||
|
let monster = ecs.getEntity<Mon>(Mon);
|
||||||
|
let scale = -1
|
||||||
|
monster.load(pos,scale,uuid,layer);
|
||||||
|
}
|
||||||
|
|
||||||
|
private on_other_add_monster(event: string, args: any) {
|
||||||
|
var scene = smc.map.MapView.scene;
|
||||||
|
let pos:Vec3 = v3(BoxSet.MONSTER_START,BoxSet.GAME_LINE)
|
||||||
|
let monster_layer = scene.entityLayer!.node!
|
||||||
|
this.addMonster(args.uuid,monster_layer,pos)
|
||||||
|
}
|
||||||
set_start_point(){
|
set_start_point(){
|
||||||
this.start_p.setPosition(-240,BoxSet.GAME_LINE+this.start_ys[this.hero_index]+30,0)
|
this.start_p.setPosition(-240,BoxSet.GAME_LINE+this.start_ys[this.hero_index]+30,0)
|
||||||
}
|
}
|
||||||
@@ -103,53 +147,48 @@ export class MapMonsterComp extends CCComp {
|
|||||||
}
|
}
|
||||||
count_mon_pos(){
|
count_mon_pos(){
|
||||||
let monsters:any= ecs.query(ecs.allOf(MonModelComp));
|
let monsters:any= ecs.query(ecs.allOf(MonModelComp));
|
||||||
let x = 320
|
smc.enemy_pos[0].x=320
|
||||||
let x1 = 320
|
smc.enemy_pos[1].x=320
|
||||||
let x2 = 320
|
smc.enemy_pos[2].x=320
|
||||||
for(let i=0;i<monsters.length;i++){
|
for(let i=0;i<monsters.length;i++){
|
||||||
if(monsters[i].MonView == undefined) return
|
if(monsters[i].MonView == undefined) return
|
||||||
let mon:any = monsters[i].MonView.node.position
|
let mon:any = monsters[i].MonView.node.position
|
||||||
if(mon.x < x&&mon.y == smc.enemy_pos[0].y){
|
if(mon.x < smc.enemy_pos[0].x&&mon.y == smc.enemy_pos[0].y){
|
||||||
x = mon.x
|
smc.enemy_pos[0].x = mon.x
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if(mon.x < x1&&mon.y == smc.enemy_pos[1].y){
|
if(mon.x < smc.enemy_pos[1].x&&mon.y == smc.enemy_pos[1].y){
|
||||||
x1 = mon.x
|
smc.enemy_pos[1].x = mon.x
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if(mon.x < x2&&mon.y == smc.enemy_pos[2].y){
|
if(mon.x < smc.enemy_pos[2].x&&mon.y == smc.enemy_pos[2].y){
|
||||||
x2 = mon.x
|
smc.enemy_pos[2].x = mon.x
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
smc.enemy_pos[0].x=x
|
|
||||||
smc.enemy_pos[1].x=x1
|
|
||||||
smc.enemy_pos[2].x=x2
|
|
||||||
}
|
}
|
||||||
count_hero_pos(){
|
count_hero_pos(){
|
||||||
let heros:any= ecs.query(ecs.allOf(HeroModelComp));
|
let heros:any= ecs.query(ecs.allOf(HeroModelComp));
|
||||||
let x = -320
|
smc.hero_pos[0].x=-320
|
||||||
let x1 = -320
|
smc.hero_pos[1].x=-320
|
||||||
let x2 = -320
|
smc.hero_pos[2].x=-320
|
||||||
for(let i=0;i<heros.length;i++){
|
for(let i=0;i<heros.length;i++){
|
||||||
if(heros[i].HeroView == undefined) return
|
if(heros[i].HeroView == undefined) return
|
||||||
let ho:any = heros[i].HeroView.node.position
|
let ho:any = heros[i].HeroView.node.position
|
||||||
if(ho.x > x&&ho.y == smc.hero_pos[0].y){
|
if(ho.x > smc.hero_pos[0].x&&ho.y == smc.hero_pos[0].y){
|
||||||
x = ho.x
|
smc.hero_pos[0].x = ho.x
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if(ho.x > x1&&ho.y == smc.hero_pos[1].y ){
|
if(ho.x > smc.hero_pos[0].x&&ho.y == smc.hero_pos[1].y ){
|
||||||
x1 = ho.x
|
smc.hero_pos[1].x = ho.x
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if(ho.x > x2&&ho.y == smc.hero_pos[2].y){
|
if(ho.x > smc.hero_pos[0].x&&ho.y == smc.hero_pos[2].y){
|
||||||
x2 = ho.x
|
smc.hero_pos[2].x = ho.x
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
smc.hero_pos[0].x=x
|
|
||||||
smc.hero_pos[1].x=x1
|
|
||||||
smc.hero_pos[2].x=x2
|
|
||||||
}
|
}
|
||||||
load_role(){
|
load_role(){
|
||||||
let role = ecs.getEntity<Role>(Role);
|
let role = ecs.getEntity<Role>(Role);
|
||||||
@@ -175,33 +214,7 @@ export class MapMonsterComp extends CCComp {
|
|||||||
}
|
}
|
||||||
this.set_start_point()
|
this.set_start_point()
|
||||||
}
|
}
|
||||||
monster_refresh(){
|
|
||||||
if (this.setp_num <= 0){
|
|
||||||
return
|
|
||||||
}
|
|
||||||
let m:any = RandomManager.instance.getRandomByObjectList(this.mission_list[this.monster_level],1)
|
|
||||||
var scene = smc.map.MapView.scene;
|
|
||||||
let pos:Vec3 = v3(BoxSet.MONSTER_START,BoxSet.GAME_LINE+this.start_ys[this.mon_index])
|
|
||||||
let monster_layer = scene.entityLayer!.node!
|
|
||||||
this.addMonster(m[0],monster_layer,pos)
|
|
||||||
this.mon_index += 1
|
|
||||||
if(this.mon_index>2){
|
|
||||||
this.mon_index = 0
|
|
||||||
}
|
|
||||||
this.setp_num -= 1
|
|
||||||
}
|
|
||||||
private addMonster(uuid:number=1001,layer:any,pos:Vec3=v3(0,0,0)) {
|
|
||||||
let monster = ecs.getEntity<Mon>(Mon);
|
|
||||||
let scale = -1
|
|
||||||
monster.load(pos,scale,uuid,layer);
|
|
||||||
}
|
|
||||||
|
|
||||||
private on_other_add_monster(event: string, args: any) {
|
|
||||||
var scene = smc.map.MapView.scene;
|
|
||||||
let pos:Vec3 = v3(BoxSet.MONSTER_START,BoxSet.GAME_LINE)
|
|
||||||
let monster_layer = scene.entityLayer!.node!
|
|
||||||
this.addMonster(args.uuid,monster_layer,pos)
|
|
||||||
}
|
|
||||||
load_boss(){
|
load_boss(){
|
||||||
let bs:any = RandomManager.instance.getRandomByObjectList(this.boss_list[this.monster_level],1)
|
let bs:any = RandomManager.instance.getRandomByObjectList(this.boss_list[this.monster_level],1)
|
||||||
var scene = smc.map.MapView.scene;
|
var scene = smc.map.MapView.scene;
|
||||||
|
|||||||
38
assets/script/game/map/RewardsComp.ts
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
import { _decorator } from "cc";
|
||||||
|
import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||||
|
import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp";
|
||||||
|
import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops";
|
||||||
|
|
||||||
|
const { ccclass, property } = _decorator;
|
||||||
|
|
||||||
|
/** 视图层对象 */
|
||||||
|
@ccclass('RewardsComp')
|
||||||
|
@ecs.register('Rewards', false)
|
||||||
|
export class RewardsComp extends CCComp {
|
||||||
|
reward_lv = 1;
|
||||||
|
onLoad(){
|
||||||
|
// 监听全局事件
|
||||||
|
oops.message.on("do_reward", this.do_reward, this);
|
||||||
|
}
|
||||||
|
/** 视图层逻辑代码分离演示 */
|
||||||
|
start() {
|
||||||
|
// var entity = this.ent as ecs.Entity; // ecs.Entity 可转为当前模块的具体实体对象
|
||||||
|
// this.on(ModuleEvent.Cmd, this.onHandler, this);
|
||||||
|
}
|
||||||
|
do_reward(){
|
||||||
|
this.node.active = true;
|
||||||
|
}
|
||||||
|
/** 全局消息逻辑处理 */
|
||||||
|
// private onHandler(event: string, args: any) {
|
||||||
|
// switch (event) {
|
||||||
|
// case ModuleEvent.Cmd:
|
||||||
|
// break;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
/** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */
|
||||||
|
reset() {
|
||||||
|
this.node.destroy();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
9
assets/script/game/map/RewardsComp.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "4.0.23",
|
||||||
|
"importer": "typescript",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "df8725c7-a5e8-4dfd-b357-59fb88b68283",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
@@ -29,8 +29,6 @@ export class MapViewComp extends CCComp {
|
|||||||
|
|
||||||
start() {
|
start() {
|
||||||
this.scene = this.getComponent(MapViewScene);
|
this.scene = this.getComponent(MapViewScene);
|
||||||
this.load_data()
|
|
||||||
// this.load_role()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
load_data(){
|
load_data(){
|
||||||
@@ -38,20 +36,10 @@ export class MapViewComp extends CCComp {
|
|||||||
// console.log("heros",heros)
|
// console.log("heros",heros)
|
||||||
}
|
}
|
||||||
protected update(dt: number): void {
|
protected update(dt: number): void {
|
||||||
// if (this.game_timer.update(dt)) {
|
|
||||||
// smc.vm_data.game.g_time += 1;
|
|
||||||
// }
|
|
||||||
// this.shuaxin(dt)
|
|
||||||
// this.gold_add(dt)
|
|
||||||
}
|
}
|
||||||
// 刷新怪物
|
// 刷新怪物
|
||||||
|
|
||||||
gold_add(dt: number) {
|
|
||||||
smc.vm_data.gold.time += dt;
|
|
||||||
if (smc.vm_data.gold.time >= smc.vm_data.gold.cd) {
|
|
||||||
smc.vm_data.gold.min += 1;
|
|
||||||
smc.vm_data.gold.time = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -155,6 +155,9 @@ export class MonViewComp extends CCComp {
|
|||||||
|
|
||||||
|
|
||||||
update(dt: number){
|
update(dt: number){
|
||||||
|
if(smc.vm_data.game_over||smc.vm_data.game_pause){
|
||||||
|
return
|
||||||
|
}
|
||||||
if (this.timer.update(dt)) {
|
if (this.timer.update(dt)) {
|
||||||
this.power_change(this.power_speed)
|
this.power_change(this.power_speed)
|
||||||
}
|
}
|
||||||
@@ -306,14 +309,14 @@ export class MonViewComp extends CCComp {
|
|||||||
if(this.hp <= 0){
|
if(this.hp <= 0){
|
||||||
this.dead();
|
this.dead();
|
||||||
this.is_dead = true;
|
this.is_dead = true;
|
||||||
|
smc.vm_data.mission.reward_num += 1;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.ent.destroy();
|
this.ent.destroy();
|
||||||
}, 15);
|
}, 15);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
add_hp(hp: number=0){
|
add_hp(hp: number=0){
|
||||||
console.log("hero 加血动画");
|
this.heathed()
|
||||||
this.hp+=hp;
|
this.hp+=hp;
|
||||||
if(this.hp > this.hp_max){
|
if(this.hp > this.hp_max){
|
||||||
this.hp = this.hp_max;
|
this.hp = this.hp_max;
|
||||||
@@ -322,6 +325,10 @@ export class MonViewComp extends CCComp {
|
|||||||
let hp_progress= this.hp/this.hp_max;
|
let hp_progress= this.hp/this.hp_max;
|
||||||
this.node.getChildByName("top").getChildByName("hp").getComponent(ProgressBar)!.progress = hp_progress;
|
this.node.getChildByName("top").getChildByName("hp").getComponent(ProgressBar)!.progress = hp_progress;
|
||||||
}
|
}
|
||||||
|
heathed(){
|
||||||
|
this.node.getChildByName("heathed").active=true
|
||||||
|
}
|
||||||
|
|
||||||
add_atk(atk: number,time:number=0){
|
add_atk(atk: number,time:number=0){
|
||||||
if(time > 0){
|
if(time > 0){
|
||||||
let buff={atk:atk,time:time}
|
let buff={atk:atk,time:time}
|
||||||
@@ -330,6 +337,7 @@ export class MonViewComp extends CCComp {
|
|||||||
this.atk += atk;
|
this.atk += atk;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
check_buff_atks(dt: number){
|
check_buff_atks(dt: number){
|
||||||
for(let i=0;i<this.buff_atks.length;i++){
|
for(let i=0;i<this.buff_atks.length;i++){
|
||||||
let buff=this.buff_atks[i];
|
let buff=this.buff_atks[i];
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ export class SkillCom extends CCComp {
|
|||||||
time = distance / this.speed;
|
time = distance / this.speed;
|
||||||
let e_pos=v3(this.node.position.x+this.t_pos.x,this.node.position.y+this.t_pos.y)
|
let e_pos=v3(this.node.position.x+this.t_pos.x,this.node.position.y+this.t_pos.y)
|
||||||
this.node.getChildByName("skill").setRotationFromEuler(0,0,this.angle)
|
this.node.getChildByName("skill").setRotationFromEuler(0,0,this.angle)
|
||||||
console.log("skill ",this.node.getRotation())
|
// console.log("skill ",this.node.getRotation())
|
||||||
tween(this.node).to( time,{ position: e_pos},
|
tween(this.node).to( time,{ position: e_pos},
|
||||||
{
|
{
|
||||||
easing: "linear",
|
easing: "linear",
|
||||||
|
|||||||
@@ -6,12 +6,12 @@ export class once extends Component {
|
|||||||
private spine!: sp.Skeleton;
|
private spine!: sp.Skeleton;
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
this.spine.setAnimation(0, "animation", true);
|
||||||
}
|
}
|
||||||
protected onLoad(): void {
|
protected onLoad(): void {
|
||||||
this.spine = this.getComponent(sp.Skeleton)!;
|
this.spine = this.node.getChildByName("skill").getComponent(sp.Skeleton)!;
|
||||||
this.spine.setCompleteListener(trackEntry => {
|
this.spine.setCompleteListener(trackEntry => {
|
||||||
this.node.destroy()
|
if(this.node.isValid) this.node.active = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,13 +88,13 @@
|
|||||||
"_value": true
|
"_value": true
|
||||||
},
|
},
|
||||||
"webview": {
|
"webview": {
|
||||||
"_value": true
|
"_value": false
|
||||||
},
|
},
|
||||||
"tween": {
|
"tween": {
|
||||||
"_value": true
|
"_value": true
|
||||||
},
|
},
|
||||||
"websocket": {
|
"websocket": {
|
||||||
"_value": true
|
"_value": false
|
||||||
},
|
},
|
||||||
"websocket-server": {
|
"websocket-server": {
|
||||||
"_value": false
|
"_value": false
|
||||||
@@ -140,9 +140,7 @@
|
|||||||
"spine",
|
"spine",
|
||||||
"tween",
|
"tween",
|
||||||
"ui",
|
"ui",
|
||||||
"video",
|
"video"
|
||||||
"websocket",
|
|
||||||
"webview"
|
|
||||||
],
|
],
|
||||||
"flags": {},
|
"flags": {},
|
||||||
"noDeprecatedFeatures": {
|
"noDeprecatedFeatures": {
|
||||||
|
|||||||