优化了下

This commit is contained in:
2024-09-09 23:32:28 +08:00
parent 438a2f698a
commit 90350d0503
24 changed files with 602 additions and 1487 deletions

View File

@@ -11,13 +11,13 @@
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{102,106}</string>
<string>{72,75}</string>
<key>spriteSourceSize</key>
<string>{102,106}</string>
<string>{72,75}</string>
<key>textureRect</key>
<string>{{571,153},{102,106}}</string>
<string>{{78,1},{72,75}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>1002.png</key>
<dict>
@@ -26,13 +26,13 @@
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{102,106}</string>
<string>{72,75}</string>
<key>spriteSourceSize</key>
<string>{102,106}</string>
<string>{72,75}</string>
<key>textureRect</key>
<string>{{679,155},{102,106}}</string>
<string>{{152,1},{72,75}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>1011.png</key>
<dict>
@@ -41,13 +41,13 @@
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{102,106}</string>
<string>{72,75}</string>
<key>spriteSourceSize</key>
<string>{102,106}</string>
<string>{72,75}</string>
<key>textureRect</key>
<string>{{787,157},{102,106}}</string>
<string>{{226,1},{72,75}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>1012.png</key>
<dict>
@@ -56,26 +56,26 @@
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{102,106}</string>
<string>{72,75}</string>
<key>spriteSourceSize</key>
<string>{102,106}</string>
<string>{72,75}</string>
<key>textureRect</key>
<string>{{895,157},{102,106}}</string>
<string>{{300,1},{72,75}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>6001.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<string>{-1,-1}</string>
<key>spriteSize</key>
<string>{64,64}</string>
<string>{71,73}</string>
<key>spriteSourceSize</key>
<string>{64,64}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{438,1},{64,64}}</string>
<string>{{374,1},{71,73}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -86,11 +86,11 @@
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{64,64}</string>
<string>{75,75}</string>
<key>spriteSourceSize</key>
<string>{64,64}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{504,1},{64,64}}</string>
<string>{{1,1},{75,75}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -99,13 +99,13 @@
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<string>{-1,-1}</string>
<key>spriteSize</key>
<string>{60,60}</string>
<string>{71,73}</string>
<key>spriteSourceSize</key>
<string>{60,60}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{179,1},{60,60}}</string>
<string>{{447,1},{71,73}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -114,58 +114,58 @@
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<string>{0,-1}</string>
<key>spriteSize</key>
<string>{64,64}</string>
<string>{39,65}</string>
<key>spriteSourceSize</key>
<string>{64,64}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{570,1},{64,64}}</string>
<string>{{149,78},{39,65}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>6005.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{64,64}</string>
<string>{51,67}</string>
<key>spriteSourceSize</key>
<string>{64,64}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{636,1},{64,64}}</string>
<string>{{447,76},{51,67}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>6006.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{64,64}</string>
<string>{51,71}</string>
<key>spriteSourceSize</key>
<string>{64,64}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{702,1},{64,64}}</string>
<string>{{374,76},{51,71}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>6101.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{38,114}</string>
<string>{25,69}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{1,1},{38,114}}</string>
<string>{{216,78},{25,69}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -174,13 +174,13 @@
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-2}</string>
<string>{0,-1}</string>
<key>spriteSize</key>
<string>{74,124}</string>
<string>{45,73}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{97,63},{74,124}}</string>
<string>{{1,78},{45,73}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -189,13 +189,13 @@
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{68,118}</string>
<string>{41,71}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{846,1},{68,118}}</string>
<string>{{76,78},{41,71}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -204,13 +204,13 @@
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{84,94}</string>
<string>{51,57}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{1,41},{84,94}}</string>
<string>{{955,1},{51,57}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -219,13 +219,13 @@
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{84,98}</string>
<string>{51,59}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{223,63},{84,98}}</string>
<string>{{516,76},{51,59}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -234,43 +234,43 @@
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{88,92}</string>
<string>{53,57}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{1,127},{88,92}}</string>
<string>{{577,69},{53,57}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>6213.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{84,94}</string>
<string>{51,57}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{323,64},{84,94}}</string>
<string>{{976,54},{51,57}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>6214.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{84,98}</string>
<string>{51,59}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{419,67},{84,98}}</string>
<string>{{833,1},{51,59}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -279,28 +279,28 @@
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{88,92}</string>
<string>{53,57}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{195,149},{88,92}}</string>
<string>{{723,1},{53,57}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>6216.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{84,94}</string>
<string>{51,57}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{519,67},{84,94}}</string>
<string>{{1014,1},{51,57}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -309,58 +309,58 @@
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{84,98}</string>
<string>{51,59}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{615,67},{84,98}}</string>
<string>{{870,54},{51,59}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>6218.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{88,92}</string>
<string>{53,57}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{289,150},{88,92}}</string>
<string>{{760,60},{53,57}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>6219.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{84,94}</string>
<string>{51,57}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{715,69},{84,94}}</string>
<string>{{1073,1},{51,57}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>6220.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{84,98}</string>
<string>{51,59}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{811,71},{84,98}}</string>
<string>{{894,1},{51,59}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -369,60 +369,60 @@
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{88,92}</string>
<string>{53,57}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{383,153},{88,92}}</string>
<string>{{778,1},{53,57}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>6222.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{84,94}</string>
<string>{51,57}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{911,71},{84,94}}</string>
<string>{{1029,60},{51,57}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>6223.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{84,98}</string>
<string>{51,59}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{95,139},{84,98}}</string>
<string>{{923,54},{51,59}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>6224.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,-4}</string>
<string>{0,-2}</string>
<key>spriteSize</key>
<string>{88,92}</string>
<string>{53,57}</string>
<key>spriteSourceSize</key>
<string>{128,128}</string>
<string>{75,75}</string>
<key>textureRect</key>
<string>{{477,153},{88,92}}</string>
<string>{{815,60},{53,57}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>7002.png</key>
<dict>
@@ -435,9 +435,9 @@
<key>spriteSourceSize</key>
<string>{60,62}</string>
<key>textureRect</key>
<string>{{241,1},{60,62}}</string>
<string>{{661,1},{60,62}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>7003.png</key>
<dict>
@@ -450,7 +450,7 @@
<key>spriteSourceSize</key>
<string>{65,60}</string>
<key>textureRect</key>
<string>{{305,1},{65,60}}</string>
<string>{{632,67},{65,60}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -465,7 +465,7 @@
<key>spriteSourceSize</key>
<string>{66,76}</string>
<key>textureRect</key>
<string>{{768,1},{66,76}}</string>
<string>{{520,1},{66,76}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -480,9 +480,9 @@
<key>spriteSourceSize</key>
<string>{59,60}</string>
<key>textureRect</key>
<string>{{117,1},{59,60}}</string>
<string>{{699,65},{59,60}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>userinfo_icon_skull.png</key>
<dict>
@@ -495,9 +495,9 @@
<key>spriteSourceSize</key>
<string>{61,64}</string>
<key>textureRect</key>
<string>{{372,1},{61,64}}</string>
<string>{{598,1},{61,64}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
</dict>
<key>metadata</key>
@@ -511,9 +511,9 @@
<key>realTextureFileName</key>
<string>skill.png</string>
<key>size</key>
<string>{1006,260}</string>
<string>{1125,128}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:46869ecaa6bc7313eac74e5e5bf01782:c23b9e16db5c8de90e9e8927fe6b094b:de628d2eabb1e43115cf8c86336e45f6$</string>
<string>$TexturePacker:SmartUpdate:69aaeb1954079ef28c8d5fc85512e7a8:95bec2c1daec1ac198c64efdfdb078d9:de628d2eabb1e43115cf8c86336e45f6$</string>
<key>textureFileName</key>
<string>skill.png</string>
</dict>

View File

@@ -16,10 +16,10 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 241,
"trimX": 661,
"trimY": 1,
"width": 60,
"height": 62,
@@ -62,15 +62,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": -4,
"trimX": 911,
"trimY": 71,
"width": 84,
"height": 94,
"rawWidth": 128,
"rawHeight": 128,
"offsetY": -2,
"trimX": 1029,
"trimY": 60,
"width": 51,
"height": 57,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -108,15 +108,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": -4,
"trimX": 715,
"trimY": 69,
"width": 84,
"height": 94,
"rawWidth": 128,
"rawHeight": 128,
"offsetY": -2,
"trimX": 1073,
"trimY": 1,
"width": 51,
"height": 57,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -156,13 +156,13 @@
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": -4,
"trimX": 811,
"trimY": 71,
"width": 84,
"height": 98,
"rawWidth": 128,
"rawHeight": 128,
"offsetY": -2,
"trimX": 894,
"trimY": 1,
"width": 51,
"height": 59,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -200,10 +200,10 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 372,
"trimX": 598,
"trimY": 1,
"width": 61,
"height": 64,
@@ -246,15 +246,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 571,
"trimY": 153,
"width": 102,
"height": 106,
"rawWidth": 102,
"rawHeight": 106,
"trimX": 78,
"trimY": 1,
"width": 72,
"height": 75,
"rawWidth": 72,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -292,15 +292,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 679,
"trimY": 155,
"width": 102,
"height": 106,
"rawWidth": 102,
"rawHeight": 106,
"trimX": 152,
"trimY": 1,
"width": 72,
"height": 75,
"rawWidth": 72,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -338,15 +338,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 787,
"trimY": 157,
"width": 102,
"height": 106,
"rawWidth": 102,
"rawHeight": 106,
"trimX": 226,
"trimY": 1,
"width": 72,
"height": 75,
"rawWidth": 72,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -384,15 +384,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 895,
"trimY": 157,
"width": 102,
"height": 106,
"rawWidth": 102,
"rawHeight": 106,
"trimX": 300,
"trimY": 1,
"width": 72,
"height": 75,
"rawWidth": 72,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -431,14 +431,14 @@
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 438,
"offsetX": -1,
"offsetY": -1,
"trimX": 374,
"trimY": 1,
"width": 64,
"height": 64,
"rawWidth": 64,
"rawHeight": 64,
"width": 71,
"height": 73,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -479,12 +479,12 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 504,
"trimX": 1,
"trimY": 1,
"width": 64,
"height": 64,
"rawWidth": 64,
"rawHeight": 64,
"width": 75,
"height": 75,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -523,14 +523,14 @@
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 179,
"offsetX": -1,
"offsetY": -1,
"trimX": 447,
"trimY": 1,
"width": 60,
"height": 60,
"rawWidth": 60,
"rawHeight": 60,
"width": 71,
"height": 73,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -568,15 +568,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 570,
"trimY": 1,
"width": 64,
"height": 64,
"rawWidth": 64,
"rawHeight": 64,
"offsetY": -1,
"trimX": 149,
"trimY": 78,
"width": 39,
"height": 65,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -614,15 +614,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 636,
"trimY": 1,
"width": 64,
"height": 64,
"rawWidth": 64,
"rawHeight": 64,
"offsetY": -2,
"trimX": 447,
"trimY": 76,
"width": 51,
"height": 67,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -660,15 +660,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 702,
"trimY": 1,
"width": 64,
"height": 64,
"rawWidth": 64,
"rawHeight": 64,
"offsetY": -2,
"trimX": 374,
"trimY": 76,
"width": 51,
"height": 71,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -708,13 +708,13 @@
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": -4,
"trimX": 1,
"trimY": 1,
"width": 38,
"height": 114,
"rawWidth": 128,
"rawHeight": 128,
"offsetY": -2,
"trimX": 216,
"trimY": 78,
"width": 25,
"height": 69,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -754,13 +754,13 @@
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": -2,
"trimX": 97,
"trimY": 63,
"width": 74,
"height": 124,
"rawWidth": 128,
"rawHeight": 128,
"offsetY": -1,
"trimX": 1,
"trimY": 78,
"width": 45,
"height": 73,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -800,13 +800,13 @@
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": -4,
"trimX": 846,
"trimY": 1,
"width": 68,
"height": 118,
"rawWidth": 128,
"rawHeight": 128,
"offsetY": -2,
"trimX": 76,
"trimY": 78,
"width": 41,
"height": 71,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -846,13 +846,13 @@
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": -4,
"trimX": 1,
"trimY": 41,
"width": 84,
"height": 94,
"rawWidth": 128,
"rawHeight": 128,
"offsetY": -2,
"trimX": 955,
"trimY": 1,
"width": 51,
"height": 57,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -892,13 +892,13 @@
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": -4,
"trimX": 223,
"trimY": 63,
"width": 84,
"height": 98,
"rawWidth": 128,
"rawHeight": 128,
"offsetY": -2,
"trimX": 516,
"trimY": 76,
"width": 51,
"height": 59,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -936,15 +936,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": -1,
"offsetY": -4,
"trimX": 1,
"trimY": 127,
"width": 88,
"height": 92,
"rawWidth": 128,
"rawHeight": 128,
"rotated": false,
"offsetX": 0,
"offsetY": -2,
"trimX": 577,
"trimY": 69,
"width": 53,
"height": 57,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -982,15 +982,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": -4,
"trimX": 323,
"trimY": 64,
"width": 84,
"height": 94,
"rawWidth": 128,
"rawHeight": 128,
"offsetY": -2,
"trimX": 976,
"trimY": 54,
"width": 51,
"height": 57,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -1030,13 +1030,13 @@
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": -4,
"trimX": 419,
"trimY": 67,
"width": 84,
"height": 98,
"rawWidth": 128,
"rawHeight": 128,
"offsetY": -2,
"trimX": 833,
"trimY": 1,
"width": 51,
"height": 59,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -1074,15 +1074,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": -1,
"offsetY": -4,
"trimX": 195,
"trimY": 149,
"width": 88,
"height": 92,
"rawWidth": 128,
"rawHeight": 128,
"rotated": false,
"offsetX": 0,
"offsetY": -2,
"trimX": 723,
"trimY": 1,
"width": 53,
"height": 57,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -1122,13 +1122,13 @@
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": -4,
"trimX": 519,
"trimY": 67,
"width": 84,
"height": 94,
"rawWidth": 128,
"rawHeight": 128,
"offsetY": -2,
"trimX": 1014,
"trimY": 1,
"width": 51,
"height": 57,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -1166,15 +1166,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": -4,
"trimX": 615,
"trimY": 67,
"width": 84,
"height": 98,
"rawWidth": 128,
"rawHeight": 128,
"offsetY": -2,
"trimX": 870,
"trimY": 54,
"width": 51,
"height": 59,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -1212,15 +1212,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": -1,
"offsetY": -4,
"trimX": 289,
"trimY": 150,
"width": 88,
"height": 92,
"rawWidth": 128,
"rawHeight": 128,
"rotated": false,
"offsetX": 0,
"offsetY": -2,
"trimX": 760,
"trimY": 60,
"width": 53,
"height": 57,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -1258,15 +1258,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": -1,
"offsetY": -4,
"trimX": 383,
"trimY": 153,
"width": 88,
"height": 92,
"rawWidth": 128,
"rawHeight": 128,
"rotated": false,
"offsetX": 0,
"offsetY": -2,
"trimX": 778,
"trimY": 1,
"width": 53,
"height": 57,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -1304,15 +1304,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": -4,
"trimX": 95,
"trimY": 139,
"width": 84,
"height": 98,
"rawWidth": 128,
"rawHeight": 128,
"offsetY": -2,
"trimX": 923,
"trimY": 54,
"width": 51,
"height": 59,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -1350,15 +1350,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": -1,
"offsetY": -4,
"trimX": 477,
"trimY": 153,
"width": 88,
"height": 92,
"rawWidth": 128,
"rawHeight": 128,
"rotated": false,
"offsetX": 0,
"offsetY": -2,
"trimX": 815,
"trimY": 60,
"width": 53,
"height": 57,
"rawWidth": 75,
"rawHeight": 75,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -1399,8 +1399,8 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 305,
"trimY": 1,
"trimX": 632,
"trimY": 67,
"width": 65,
"height": 60,
"rawWidth": 65,
@@ -1445,7 +1445,7 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 768,
"trimX": 520,
"trimY": 1,
"width": 66,
"height": 76,
@@ -1488,11 +1488,11 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 117,
"trimY": 1,
"trimX": 699,
"trimY": 65,
"width": 59,
"height": 60,
"rawWidth": 59,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 960 KiB

View File

@@ -1,134 +0,0 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "f62ede4f-6547-4fd9-bf05-7f58a0c5a71f",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f62ede4f-6547-4fd9-bf05-7f58a0c5a71f@6c48a",
"displayName": "bg 1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "f62ede4f-6547-4fd9-bf05-7f58a0c5a71f",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "f62ede4f-6547-4fd9-bf05-7f58a0c5a71f@f9941",
"displayName": "bg 1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 840,
"height": 867,
"rawWidth": 840,
"rawHeight": 867,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-420,
-433.5,
0,
420,
-433.5,
0,
-420,
433.5,
0,
420,
433.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
867,
840,
867,
0,
0,
840,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-420,
-433.5,
0
],
"maxPos": [
420,
433.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f62ede4f-6547-4fd9-bf05-7f58a0c5a71f@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "f62ede4f-6547-4fd9-bf05-7f58a0c5a71f@f9941"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 606 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -2,7 +2,7 @@
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "0ef7b413-953c-498c-94fb-e5f0cb79c7ff",
"uuid": "d1c7b105-783b-4736-aa3d-28fc8dcac7d1",
"files": [
".json",
".png"
@@ -10,8 +10,8 @@
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "0ef7b413-953c-498c-94fb-e5f0cb79c7ff@6c48a",
"displayName": "grass",
"uuid": "d1c7b105-783b-4736-aa3d-28fc8dcac7d1@6c48a",
"displayName": "map1",
"id": "6c48a",
"name": "texture",
"userData": {
@@ -22,7 +22,7 @@
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "0ef7b413-953c-498c-94fb-e5f0cb79c7ff",
"imageUuidOrDatabaseUri": "d1c7b105-783b-4736-aa3d-28fc8dcac7d1",
"visible": false
},
"ver": "1.0.22",
@@ -34,8 +34,8 @@
},
"f9941": {
"importer": "sprite-frame",
"uuid": "0ef7b413-953c-498c-94fb-e5f0cb79c7ff@f9941",
"displayName": "grass",
"uuid": "d1c7b105-783b-4736-aa3d-28fc8dcac7d1@f9941",
"displayName": "map1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
@@ -46,10 +46,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1000,
"height": 400,
"rawWidth": 1000,
"rawHeight": 400,
"width": 800,
"height": 1100,
"rawWidth": 800,
"rawHeight": 1100,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -61,17 +61,17 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-500,
-200,
-400,
-550,
0,
500,
-200,
400,
-550,
0,
-500,
200,
-400,
550,
0,
500,
200,
400,
550,
0
],
"indexes": [
@@ -84,12 +84,12 @@
],
"uv": [
0,
400,
1000,
400,
1100,
800,
1100,
0,
0,
1000,
800,
0
],
"nuv": [
@@ -103,18 +103,18 @@
1
],
"minPos": [
-500,
-200,
-400,
-550,
0
],
"maxPos": [
500,
200,
400,
550,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "0ef7b413-953c-498c-94fb-e5f0cb79c7ff@6c48a",
"imageUuidOrDatabaseUri": "d1c7b105-783b-4736-aa3d-28fc8dcac7d1@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
@@ -129,6 +129,6 @@
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "0ef7b413-953c-498c-94fb-e5f0cb79c7ff@f9941"
"redirect": "d1c7b105-783b-4736-aa3d-28fc8dcac7d1@f9941"
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -397,8 +397,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": -0.65,
"y": 0.65,
"x": -0.8,
"y": 0.8,
"z": 1
},
"_mobility": 0,
@@ -1540,7 +1540,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 52.719,
"y": 60.211,
"z": 0
},
"_lrot": {

View File

@@ -397,8 +397,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": -0.65,
"y": 0.65,
"x": -0.8,
"y": 0.8,
"z": 1
},
"_mobility": 0,
@@ -1540,7 +1540,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 52.719,
"y": 66.455,
"z": 0
},
"_lrot": {

View File

@@ -397,8 +397,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": -0.65,
"y": 0.65,
"x": -0.8,
"y": 0.8,
"z": 1
},
"_mobility": 0,
@@ -1540,7 +1540,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 52.719,
"y": 68.953,
"z": 0
},
"_lrot": {

View File

@@ -329,12 +329,12 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 173,
"height": 214.44000244140625
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5512716921767747,
"x": 0.5,
"y": 0.03362245829164751
},
"_id": ""
@@ -365,11 +365,8 @@
"b": 255,
"a": 255
},
"_skeletonData": {
"__uuid__": "015aa7dc-78fb-457f-b83e-ed78166b1088",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "Character04",
"_skeletonData": null,
"defaultSkin": "",
"defaultAnimation": "",
"_premultipliedAlpha": true,
"_timeScale": 1,

View File

@@ -8802,8 +8802,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 109,
"height": 137
"width": 75,
"height": 75
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -8851,8 +8851,8 @@
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_fillRange": 1,
"_isTrimmedMode": false,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
@@ -9902,8 +9902,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 96,
"height": 134
"width": 75,
"height": 75
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -9944,15 +9944,15 @@
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_fillRange": 1,
"_isTrimmedMode": false,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
@@ -11002,8 +11002,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 109,
"height": 134
"width": 75,
"height": 75
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -11044,15 +11044,15 @@
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_fillRange": 1,
"_isTrimmedMode": false,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
@@ -12141,15 +12141,15 @@
"_spriteFrame": null,
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_fillRange": 1,
"_isTrimmedMode": false,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
@@ -13238,7 +13238,7 @@
"_spriteFrame": null,
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
@@ -13246,7 +13246,7 @@
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": false,
"_useGrayscale": false,
"_atlas": null,
"_id": ""

View File

@@ -19,8 +19,8 @@ const { ccclass, property } = _decorator;
@ccclass('Main')
export class Main extends Root {
start() {
if (DEBUG) profiler.showStats();
PhysicsSystem2D.instance.debugDrawFlags = EPhysics2DDrawFlags.Aabb
// if (DEBUG) profiler.showStats();
// PhysicsSystem2D.instance.debugDrawFlags = EPhysics2DDrawFlags.Aabb
// // | EPhysics2DDrawFlags.Pair
// |EPhysics2DDrawFlags.CenterOfMass
// |EPhysics2DDrawFlags.Joint

View File

@@ -1,13 +1,13 @@
export const MissionNum = [1,2,3]
export const MonsetList = {
1:{
1:[1001,1002,1003],
1:[1001,1002,1003,1021,1022,1023,1031,1032,1033,1011,1012,1013,1041,1042,1043],
},
2:{
1:[1001,1002,1003],
1:[1001,1002,1003,1021,1022,1023,1031,1032,1033,1011,1012,1013,1041,1042,1043],
},
3:{
1:[1001,1002,1003],
1:[1001,1002,1003,1021,1022,1023,1031,1032,1033,1011,1012,1013,1041,1042,1043],
},
}

View File

@@ -2,10 +2,32 @@
export const MonSet={
1001:{uuid: 1001,path: "ge1",type: 1,level: 1,name: "战斗哥",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "orc"},
1002:{uuid: 1002,path: "ge2",type: 1,level: 1,name: "墨西哥",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "orc"},
1003:{uuid: 1003,path: "ge3",type: 1,level: 1,name: "铁头哥",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "orc"},
1011:{uuid: 1011,path: "orc1",type: 1,level: 1,name: "森林兽人",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "orc"},
1012:{uuid: 1012,path: "orc2",type: 1,level: 1,name: "荒野兽人",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "orc"},
1013:{uuid: 1013,path: "orc3",type: 1,level: 1,name: "兽人战士",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "orc"},
1021:{uuid: 1021,path: "gou1",type: 1,level: 1,name: "黄皮豺狼",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "gou"},
1022:{uuid: 1022,path: "gou2",type: 1,level: 1,name: "白皮豺狼",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "gou"},
1023:{uuid: 1023,path: "gou3",type: 1,level: 1,name: "灰皮豺狼",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "gou"},
1031:{uuid: 1031,path: "gou1",type: 1,level: 1,name: "独眼巨人",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "gou"},
1032:{uuid: 1032,path: "gou2",type: 1,level: 1,name: "狂暴独眼",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "gou"},
1033:{uuid: 1033,path: "gou3",type: 1,level: 1,name: "独眼首领",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "gou"},
1041:{uuid: 1041,path: "ys1",type: 1,level: 1,name: "火元素",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "gou"},
1042:{uuid: 1042,path: "ys2",type: 1,level: 1,name: "冰元素",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "ys"},
1043:{uuid: 1043,path: "ys3",type: 1,level: 1,name: "气元素",atk: 4,hp: 24,atk_cd: 2,power: 50,speed: 30,
skill: "base",max_skill: "base",skill_uuid: 9001,max_skill_uuid: 1001,word: "守护",info: "自身护盾", atktype: "攻击型",mon: "ys"},
}

View File

@@ -0,0 +1,11 @@
"use strict";
exports.methods = {
open() {
Editor.Panel.open("previewer");
},
};
exports.load = function () {};
exports.unload = function () {};

View File

@@ -0,0 +1,4 @@
module.exports = {
title: "Previewer",
description: "Real time previewer, support version 3.0.0",
};

View File

@@ -0,0 +1,4 @@
module.exports = {
title: "预览器",
description: "实时预览器支持3.0.0版本",
};

View File

@@ -0,0 +1,45 @@
{
"name": "previewer",
"package_version": 2,
"version": "3.0.2",
"description": "i18n:previewer.description",
"author": "rainrcn",
"main": "browser.js",
"panels": {
"default": {
"title": "i18n:previewer.title",
"type": "dockable",
"icon": "./static/icon.png",
"main": "./panels/default.js"
}
},
"contributions": {
"messages": {
"scene:ready": {
"methods": [
"default.sceneReady"
]
},
"open": {
"methods": [
"open"
]
},
"reload": {
"public": true,
"methods": [
"default.openFrame"
]
}
},
"menu": [
{
"path": "i18n:menu.panel",
"label": "i18n:previewer.title",
"icon": "./static/icon.png",
"message": "open"
}
]
},
"_storeId": "63edaf3705d076d4e8df2873c1b77b32"
}

View File

@@ -0,0 +1 @@
const _0x2cb3=['\x20{\x0a\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20border:\x20none;\x0a\x20\x20\x20\x20background-color:\x20transparent;\x0a\x20\x20\x20\x20z-index:\x200;\x0a\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20transition:\x20opacity\x201s;\x0a\x20\x20}\x0a\x20\x20#previewer_loading_','style','is-hidden','query-ip-list','methods','classList','add','\x20{\x0a\x20\x20\x20\x20position:\x20absolute;\x0a\x20\x20\x20\x20z-index:\x201;\x0a\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20left:\x20calc(50%\x20-\x206px);\x0a\x20\x20\x20\x20top:\x20calc(50%\x20-\x206px);\x0a\x20\x20}\x0a\x20\x20#previewer_loading_','getTime','Message','listeners','ready','.is-hidden\x20{\x0a\x20\x20\x20\x20display:\x20none;\x0a\x20\x20}\x0a','sceneLoading','hidden','$frame','openFrame','bind','\x20{\x0a\x20\x20\x20\x20position:\x20relative;\x0a\x20\x20\x20\x20width:\x20100%;\x0a\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20}\x0a\x20\x20#previewer_frame_','\x0a\x20\x20#previewer_','server','closeFrame','\x22\x20allowfullscreen=\x22true\x22\x20allowtransparency=\x22true\x22\x20scrolling=\x22no\x22\x20/>\x0a\x20\x20</div>\x0a','$loading','\x0a\x20\x20<div\x20id=\x22previewer_','\x22>\x0a\x20\x20\x20\x20<ui-loading\x20id=\x22previewer_loading_','query-is-ready','src','sceneReady','sceneOpened','request'];const _0x2687=function(_0x2cb323,_0x2687d5){_0x2cb323=_0x2cb323-0x0;let _0x4738a3=_0x2cb3[_0x2cb323];return _0x4738a3;};const _0x4cb620=new Date()[_0x2687('0x8')]();const _0x20c640={'sceneReady':![],'sceneOpened':![],'sceneLoading':![]};exports['template']=_0x2687('0x18')+_0x4cb620+_0x2687('0x19')+_0x4cb620+'\x22></ui-loading>\x0a\x20\x20\x20\x20<iframe\x20id=\x22previewer_frame_'+_0x4cb620+_0x2687('0x16');exports['style']=_0x2687('0x13')+_0x4cb620+_0x2687('0x12')+_0x4cb620+_0x2687('0x0')+_0x4cb620+_0x2687('0x7')+_0x4cb620+_0x2687('0xc');exports['$']={'$loading':'#previewer_loading_'+_0x4cb620,'$frame':'#previewer_frame_'+_0x4cb620};exports[_0x2687('0x4')]={'sceneReady'(){_0x20c640[_0x2687('0x1c')]=!![];if(_0x20c640['sceneOpened']){return;}this['openFrame']();},'closeFrame'(){if(!_0x20c640[_0x2687('0x1d')]){return;}this['$'][_0x2687('0xf')]['hidden']=!![];this['$'][_0x2687('0xf')]['src']='';_0x20c640['sceneOpened']=![];},async 'openFrame'(){if(this[_0x2687('0xe')]){return;}if(_0x20c640['sceneLoading']){return;}if(!_0x20c640['sceneReady']){const _0x30d7f1=await Editor[_0x2687('0x9')][_0x2687('0x1e')]('scene',_0x2687('0x1a'));if(!_0x30d7f1){return;}_0x20c640['sceneReady']=!![];}_0x20c640['sceneLoading']=!![];this['$'][_0x2687('0xf')][_0x2687('0xe')]=!![];this['$']['$frame'][_0x2687('0x1')]['opacity']=0x0;this['$'][_0x2687('0x17')][_0x2687('0x5')]['remove'](_0x2687('0x2'));const _0x476a78=setTimeout(async()=>{const _0x2f609a=await Editor[_0x2687('0x9')]['request'](_0x2687('0x14'),_0x2687('0x3'));const _0x5b4b00=await Editor['Message'][_0x2687('0x1e')]('server','query-port');this['$'][_0x2687('0xf')]['hidden']=![];this['$']['$frame'][_0x2687('0x1b')]='http://'+_0x2f609a[0x0]+':'+_0x5b4b00+'/';_0x20c640[_0x2687('0x1d')]=!![];clearTimeout(_0x476a78);},0x3e8);},'onloadFrame'(){if(!this['$'][_0x2687('0x17')][_0x2687('0x5')]['contains']('is-hidden')){this['$'][_0x2687('0x17')][_0x2687('0x5')][_0x2687('0x6')](_0x2687('0x2'));}_0x20c640[_0x2687('0xd')]=![];this['$'][_0x2687('0xf')][_0x2687('0x1')]['opacity']=0x1;}};exports[_0x2687('0xa')]={'hide'(){this[_0x2687('0x15')]();},'show'(){this[_0x2687('0x10')]();}};exports[_0x2687('0xb')]=function(){this['$'][_0x2687('0xf')]['onload']=this['onloadFrame'][_0x2687('0x11')](this);this['openFrame']();};exports['beforeClose']=function(){};exports['close']=function(){};

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

View File

@@ -152,6 +152,6 @@
},
"__version__": "1.0.8",
"macroConfig": {
"BATCHER2D_MEM_INCREMENT": 1440
"BATCHER2D_MEM_INCREMENT": 144
}
}