This commit is contained in:
2024-09-04 08:31:32 +08:00
parent c0f2d33e66
commit 56ab1fab29
18 changed files with 11086 additions and 8622 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -15,7 +15,7 @@
<key>spriteSourceSize</key>
<string>{96,96}</string>
<key>textureRect</key>
<string>{{1,93},{66,90}}</string>
<string>{{1,97},{66,90}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -30,7 +30,7 @@
<key>spriteSourceSize</key>
<string>{96,96}</string>
<key>textureRect</key>
<string>{{367,77},{78,80}}</string>
<string>{{265,79},{78,80}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -45,7 +45,7 @@
<key>spriteSourceSize</key>
<string>{96,96}</string>
<key>textureRect</key>
<string>{{93,87},{74,94}}</string>
<string>{{175,1},{74,94}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -60,9 +60,9 @@
<key>spriteSourceSize</key>
<string>{96,96}</string>
<key>textureRect</key>
<string>{{91,1},{84,94}}</string>
<string>{{1,1},{84,94}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>105.png</key>
<dict>
@@ -75,7 +75,7 @@
<key>spriteSourceSize</key>
<string>{96,96}</string>
<key>textureRect</key>
<string>{{275,1},{76,84}}</string>
<string>{{359,1},{76,84}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -90,7 +90,7 @@
<key>spriteSourceSize</key>
<string>{96,96}</string>
<key>textureRect</key>
<string>{{189,81},{76,86}}</string>
<string>{{271,1},{76,86}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -105,9 +105,9 @@
<key>spriteSourceSize</key>
<string>{96,96}</string>
<key>textureRect</key>
<string>{{187,1},{78,86}}</string>
<string>{{185,77},{78,86}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>108.png</key>
<dict>
@@ -120,24 +120,24 @@
<key>spriteSourceSize</key>
<string>{96,96}</string>
<key>textureRect</key>
<string>{{277,79},{86,88}}</string>
<string>{{87,1},{86,88}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>109.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{1,-3}</string>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{88,90}</string>
<string>{70,90}</string>
<key>spriteSourceSize</key>
<string>{96,96}</string>
<string>{70,90}</string>
<key>textureRect</key>
<string>{{1,1},{88,90}}</string>
<string>{{93,91},{70,90}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>110.png</key>
<dict>
@@ -150,9 +150,9 @@
<key>spriteSourceSize</key>
<string>{96,96}</string>
<key>textureRect</key>
<string>{{361,1},{74,80}}</string>
<string>{{345,79},{74,80}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
</dict>
<key>metadata</key>
@@ -166,9 +166,9 @@
<key>realTextureFileName</key>
<string>player.png</string>
<key>size</key>
<string>{446,166}</string>
<string>{444,164}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:a9d0bdcde4337e7bfeee643e1c1d56c3:27002dcdf5ee87a8dcdce59e99a18873:6f6c59c3c6b7e98e5fb22e47122cb74a$</string>
<string>$TexturePacker:SmartUpdate:23814cd87580fc0016b1a90cb8ac3f7d:e7f4943283d48a667eaf456225dc81c4:6f6c59c3c6b7e98e5fb22e47122cb74a$</string>
<key>textureFileName</key>
<string>player.png</string>
</dict>

View File

@@ -19,8 +19,8 @@
"rotated": true,
"offsetX": -2,
"offsetY": 1,
"trimX": 93,
"trimY": 87,
"trimX": 175,
"trimY": 1,
"width": 74,
"height": 94,
"rawWidth": 96,
@@ -66,7 +66,7 @@
"offsetX": -2,
"offsetY": 2,
"trimX": 1,
"trimY": 93,
"trimY": 97,
"width": 66,
"height": 90,
"rawWidth": 96,
@@ -111,8 +111,8 @@
"rotated": false,
"offsetX": -4,
"offsetY": -3,
"trimX": 367,
"trimY": 77,
"trimX": 265,
"trimY": 79,
"width": 78,
"height": 80,
"rawWidth": 96,
@@ -154,10 +154,10 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": -1,
"offsetY": 1,
"trimX": 91,
"trimX": 1,
"trimY": 1,
"width": 84,
"height": 94,
@@ -203,7 +203,7 @@
"rotated": true,
"offsetX": -4,
"offsetY": 1,
"trimX": 275,
"trimX": 359,
"trimY": 1,
"width": 76,
"height": 84,
@@ -249,8 +249,8 @@
"rotated": true,
"offsetX": 2,
"offsetY": -2,
"trimX": 189,
"trimY": 81,
"trimX": 271,
"trimY": 1,
"width": 76,
"height": 86,
"rawWidth": 96,
@@ -292,11 +292,11 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": -5,
"offsetY": 0,
"trimX": 187,
"trimY": 1,
"trimX": 185,
"trimY": 77,
"width": 78,
"height": 86,
"rawWidth": 96,
@@ -338,11 +338,11 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": -2,
"offsetY": -2,
"trimX": 277,
"trimY": 79,
"trimX": 87,
"trimY": 1,
"width": 86,
"height": 88,
"rawWidth": 96,
@@ -384,15 +384,15 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 1,
"offsetY": -3,
"trimX": 1,
"trimY": 1,
"width": 88,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 93,
"trimY": 91,
"width": 70,
"height": 90,
"rawWidth": 96,
"rawHeight": 96,
"rawWidth": 70,
"rawHeight": 90,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@@ -430,11 +430,11 @@
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"rotated": false,
"offsetX": -1,
"offsetY": -2,
"trimX": 361,
"trimY": 1,
"trimX": 345,
"trimY": 79,
"width": 74,
"height": 80,
"rawWidth": 96,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 34 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "b03c09d2-f503-4ad8-a45e-3a4b26e8d560",
"uuid": "d30b7f37-4fb7-4375-998d-463948d0cfbe",
"files": [
".json"
],

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "b03c09d2-f503-4ad8-a45e-3a4b26e8d560",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "role2"
}
}

View File

@@ -15,7 +15,7 @@
<key>spriteSourceSize</key>
<string>{94,118}</string>
<key>textureRect</key>
<string>{{1280,532},{94,118}}</string>
<string>{{1427,119},{94,118}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -30,9 +30,9 @@
<key>spriteSourceSize</key>
<string>{64,63}</string>
<key>textureRect</key>
<string>{{1463,794},{64,63}}</string>
<string>{{765,1624},{64,63}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>03.png</key>
<dict>
@@ -45,9 +45,9 @@
<key>spriteSourceSize</key>
<string>{64,62}</string>
<key>textureRect</key>
<string>{{1456,859},{64,62}}</string>
<string>{{830,1624},{64,62}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>42.png</key>
<dict>
@@ -60,7 +60,7 @@
<key>spriteSourceSize</key>
<string>{122,98}</string>
<key>textureRect</key>
<string>{{1183,95},{122,98}}</string>
<string>{{894,1624},{122,98}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -75,7 +75,7 @@
<key>spriteSourceSize</key>
<string>{100,100}</string>
<key>textureRect</key>
<string>{{1400,532},{100,100}}</string>
<string>{{1018,1620},{100,100}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -90,9 +90,9 @@
<key>spriteSourceSize</key>
<string>{82,94}</string>
<key>textureRect</key>
<string>{{1379,739},{82,94}}</string>
<string>{{1428,1743},{82,94}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>58.png</key>
<dict>
@@ -105,9 +105,9 @@
<key>spriteSourceSize</key>
<string>{100,96}</string>
<key>textureRect</key>
<string>{{1277,738},{100,96}}</string>
<string>{{1298,1350},{100,96}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>67.png</key>
<dict>
@@ -120,7 +120,7 @@
<key>spriteSourceSize</key>
<string>{84,106}</string>
<key>textureRect</key>
<string>{{1193,851},{84,106}}</string>
<string>{{1277,1452},{84,106}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -135,7 +135,7 @@
<key>spriteSourceSize</key>
<string>{360,106}</string>
<key>textureRect</key>
<string>{{1,712},{334,92}}</string>
<string>{{544,1006},{334,92}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -150,7 +150,7 @@
<key>spriteSourceSize</key>
<string>{360,112}</string>
<key>textureRect</key>
<string>{{1,616},{344,94}}</string>
<string>{{544,910},{344,94}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -165,7 +165,7 @@
<key>spriteSourceSize</key>
<string>{389,124}</string>
<key>textureRect</key>
<string>{{1,425},{365,100}}</string>
<string>{{1049,281},{365,100}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -180,7 +180,97 @@
<key>spriteSourceSize</key>
<string>{386,109}</string>
<key>textureRect</key>
<string>{{1,527},{352,87}}</string>
<string>{{108,1094},{352,87}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>AttackSpeedICon.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{95,61}</string>
<key>spriteSourceSize</key>
<string>{95,61}</string>
<key>textureRect</key>
<string>{{890,1119},{95,61}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>BlackBG_Box.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{574,95}</string>
<key>spriteSourceSize</key>
<string>{574,95}</string>
<key>textureRect</key>
<string>{{49,1183},{574,95}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>BrownBoxSelect.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{574,95}</string>
<key>spriteSourceSize</key>
<string>{574,95}</string>
<key>textureRect</key>
<string>{{146,1183},{574,95}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>Cartoon RPG UI_Button Text - Gray.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{320,122}</string>
<key>spriteSourceSize</key>
<string>{320,160}</string>
<key>textureRect</key>
<string>{{49,1759},{320,122}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>Cartoon RPG UI_Button Text - Green.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{320,122}</string>
<key>spriteSourceSize</key>
<string>{320,160}</string>
<key>textureRect</key>
<string>{{540,1100},{320,122}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>Cartoon RPG UI_Button Text - Red.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{320,122}</string>
<key>spriteSourceSize</key>
<string>{320,160}</string>
<key>textureRect</key>
<string>{{539,1224},{320,122}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -195,7 +285,7 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{514,786},{144,144}}</string>
<string>{{1385,1453},{144,144}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -210,7 +300,7 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{639,645},{138,138}}</string>
<string>{{1407,648},{138,138}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -225,7 +315,7 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{884,498},{128,142}}</string>
<string>{{1416,362},{128,142}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -240,9 +330,9 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{1045,634},{120,116}}</string>
<string>{{1427,1},{120,116}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>Cartoon RPG UI_Game Icon - Defense.png</key>
<dict>
@@ -255,7 +345,7 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{1157,195},{142,148}}</string>
<string>{{1247,1107},{142,148}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -270,7 +360,7 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{355,535},{148,134}}</string>
<string>{{1397,1183},{148,134}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -285,7 +375,7 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{779,642},{140,140}}</string>
<string>{{1407,506},{140,140}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -300,7 +390,7 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{347,671},{114,146}}</string>
<string>{{367,1355},{114,146}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -315,7 +405,7 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{1,806},{132,148}}</string>
<string>{{1397,1319},{132,148}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -330,7 +420,7 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{660,785},{144,136}}</string>
<string>{{1407,1037},{144,136}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -345,9 +435,9 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{922,780},{136,122}}</string>
<string>{{1247,1538},{136,122}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>Cartoon RPG UI_Game Icon - Magic.png</key>
<dict>
@@ -360,7 +450,7 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{495,672},{112,142}}</string>
<string>{{663,1348},{112,142}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -375,9 +465,9 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{624,497},{114,146}}</string>
<string>{{515,1355},{114,146}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>Cartoon RPG UI_Game Icon - Poison Resistant Gem.png</key>
<dict>
@@ -390,9 +480,9 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{798,784},{138,122}}</string>
<string>{{1407,913},{138,122}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>Cartoon RPG UI_Game Icon - Water Gem.png</key>
<dict>
@@ -405,7 +495,7 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{921,642},{122,136}}</string>
<string>{{243,1333},{122,136}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -420,7 +510,37 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{1150,498},{128,128}}</string>
<string>{{1193,1743},{128,128}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>Cartoon RPG UI_Slot - Amulet.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{160,160}</string>
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{733,1725},{160,160}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>Cartoon RPG UI_Slot - Armor.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{160,160}</string>
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{761,1462},{160,160}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -435,7 +555,7 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{818,291},{160,160}}</string>
<string>{{895,1724},{160,160}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -450,7 +570,82 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{980,291},{160,160}}</string>
<string>{{890,1183},{160,160}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>Cartoon RPG UI_Slot - Shield.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{160,160}</string>
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{923,1458},{160,160}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>Cartoon RPG UI_Slot - Weapon.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{160,160}</string>
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{1052,1183},{160,160}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>Cartoon RPG UI_Window - Popup.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,0}</string>
<key>spriteSize</key>
<string>{676,356}</string>
<key>spriteSourceSize</key>
<string>{720,400}</string>
<key>textureRect</key>
<string>{{1049,429},{676,356}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>Cartoon RPG UI_Window - Wide.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,2}</string>
<key>spriteSize</key>
<string>{1046,814}</string>
<key>spriteSourceSize</key>
<string>{1080,870}</string>
<key>textureRect</key>
<string>{{1,1},{1046,814}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>GuardIcon.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{82,91}</string>
<key>spriteSourceSize</key>
<string>{82,91}</string>
<key>textureRect</key>
<string>{{1214,1251},{82,91}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -465,7 +660,7 @@
<key>spriteSourceSize</key>
<string>{41,48}</string>
<key>textureRect</key>
<string>{{1480,1},{41,48}}</string>
<string>{{1193,1618},{41,48}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -480,9 +675,9 @@
<key>spriteSourceSize</key>
<string>{35,32}</string>
<key>textureRect</key>
<string>{{586,497},{35,32}}</string>
<string>{{657,1690},{35,32}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>Option_icon.png</key>
<dict>
@@ -495,7 +690,7 @@
<key>spriteSourceSize</key>
<string>{42,43}</string>
<key>textureRect</key>
<string>{{1036,453},{42,43}}</string>
<string>{{721,1644},{42,43}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -510,7 +705,7 @@
<key>spriteSourceSize</key>
<string>{361,44}</string>
<key>textureRect</key>
<string>{{922,49},{361,44}}</string>
<string>{{1049,383},{361,44}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -525,9 +720,9 @@
<key>spriteSourceSize</key>
<string>{72,40}</string>
<key>textureRect</key>
<string>{{1452,479},{72,40}}</string>
<string>{{1204,1107},{72,40}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>Rounded Rectangle 795.png</key>
<dict>
@@ -540,9 +735,9 @@
<key>spriteSourceSize</key>
<string>{238,41}</string>
<key>textureRect</key>
<string>{{1240,1},{238,41}}</string>
<string>{{439,1471},{238,41}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>Shop_icon.png</key>
<dict>
@@ -555,9 +750,9 @@
<key>spriteSourceSize</key>
<string>{49,42}</string>
<key>textureRect</key>
<string>{{1469,180},{49,42}}</string>
<string>{{1233,1405},{49,42}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>UI-02.png</key>
<dict>
@@ -570,7 +765,7 @@
<key>spriteSourceSize</key>
<string>{105,10}</string>
<key>textureRect</key>
<string>{{798,924},{105,10}}</string>
<string>{{1,1094},{105,10}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -585,7 +780,7 @@
<key>spriteSourceSize</key>
<string>{111,16}</string>
<key>textureRect</key>
<string>{{1163,740},{111,16}}</string>
<string>{{243,1732},{111,16}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -600,7 +795,7 @@
<key>spriteSourceSize</key>
<string>{138,123}</string>
<key>textureRect</key>
<string>{{374,787},{138,123}}</string>
<string>{{1407,788},{138,123}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -615,7 +810,7 @@
<key>spriteSourceSize</key>
<string>{541,275}</string>
<key>textureRect</key>
<string>{{1,1},{541,275}}</string>
<string>{{1,817},{541,275}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -630,9 +825,9 @@
<key>spriteSourceSize</key>
<string>{694,46}</string>
<key>textureRect</key>
<string>{{544,1},{694,46}}</string>
<string>{{1,1183},{694,46}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>black.png</key>
<dict>
@@ -645,9 +840,9 @@
<key>spriteSourceSize</key>
<string>{111,109}</string>
<key>textureRect</key>
<string>{{1046,756},{111,109}}</string>
<string>{{919,1345},{111,109}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>box.png</key>
<dict>
@@ -660,7 +855,7 @@
<key>spriteSourceSize</key>
<string>{376,131}</string>
<key>textureRect</key>
<string>{{544,49},{376,131}}</string>
<string>{{1049,1},{376,131}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -675,9 +870,9 @@
<key>spriteSourceSize</key>
<string>{259,96}</string>
<key>textureRect</key>
<string>{{922,95},{259,96}}</string>
<string>{{243,1471},{259,96}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>btn green.png</key>
<dict>
@@ -690,9 +885,9 @@
<key>spriteSourceSize</key>
<string>{259,96}</string>
<key>textureRect</key>
<string>{{896,193},{259,96}}</string>
<string>{{341,1471},{259,96}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>btn.png</key>
<dict>
@@ -705,9 +900,9 @@
<key>spriteSourceSize</key>
<string>{221,87}</string>
<key>textureRect</key>
<string>{{151,806},{221,87}}</string>
<string>{{482,1471},{221,87}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>btn3.png</key>
<dict>
@@ -720,7 +915,7 @@
<key>spriteSourceSize</key>
<string>{117,135}</string>
<key>textureRect</key>
<string>{{505,535},{117,135}}</string>
<string>{{1426,215},{117,135}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -735,7 +930,7 @@
<key>spriteSourceSize</key>
<string>{71,71}</string>
<key>textureRect</key>
<string>{{1120,867},{71,71}}</string>
<string>{{1120,1618},{71,71}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -750,7 +945,7 @@
<key>spriteSourceSize</key>
<string>{141,149}</string>
<key>textureRect</key>
<string>{{1307,246},{141,149}}</string>
<string>{{896,817},{141,149}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -765,9 +960,9 @@
<key>spriteSourceSize</key>
<string>{148,217}</string>
<key>textureRect</key>
<string>{{368,278},{148,217}}</string>
<string>{{243,1183},{148,217}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>card_green.png</key>
<dict>
@@ -780,9 +975,9 @@
<key>spriteSourceSize</key>
<string>{148,217}</string>
<key>textureRect</key>
<string>{{518,278},{148,217}}</string>
<string>{{514,1727},{148,217}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>card_red.png</key>
<dict>
@@ -795,7 +990,22 @@
<key>spriteSourceSize</key>
<string>{148,217}</string>
<key>textureRect</key>
<string>{{668,275},{148,217}}</string>
<string>{{571,1471},{148,217}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>cardbg.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{97,97}</string>
<key>spriteSourceSize</key>
<string>{97,97}</string>
<key>textureRect</key>
<string>{{1298,1251},{97,97}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -810,7 +1020,7 @@
<key>spriteSourceSize</key>
<string>{72,71}</string>
<key>textureRect</key>
<string>{{1458,246},{72,71}}</string>
<string>{{462,1242},{72,71}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -825,9 +1035,9 @@
<key>spriteSourceSize</key>
<string>{72,71}</string>
<key>textureRect</key>
<string>{{1458,319},{72,71}}</string>
<string>{{1058,1107},{72,71}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>crystal_red.png</key>
<dict>
@@ -840,9 +1050,9 @@
<key>spriteSourceSize</key>
<string>{72,71}</string>
<key>textureRect</key>
<string>{{1046,867},{72,71}}</string>
<string>{{1131,1107},{72,71}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>data_bg.png</key>
<dict>
@@ -855,9 +1065,9 @@
<key>spriteSourceSize</key>
<string>{180,38}</string>
<key>textureRect</key>
<string>{{1285,44},{180,38}}</string>
<string>{{721,1462},{180,38}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>data_bg1.png</key>
<dict>
@@ -870,7 +1080,7 @@
<key>spriteSourceSize</key>
<string>{38,38}</string>
<key>textureRect</key>
<string>{{1080,453},{38,38}}</string>
<string>{{1120,1691},{38,38}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -885,7 +1095,7 @@
<key>spriteSourceSize</key>
<string>{166,20}</string>
<key>textureRect</key>
<string>{{368,513},{166,20}}</string>
<string>{{371,1333},{166,20}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -900,9 +1110,9 @@
<key>spriteSourceSize</key>
<string>{212,26}</string>
<key>textureRect</key>
<string>{{151,895},{212,26}}</string>
<string>{{862,1100},{212,26}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>gh2.png</key>
<dict>
@@ -915,7 +1125,7 @@
<key>spriteSourceSize</key>
<string>{160,160}</string>
<key>textureRect</key>
<string>{{1307,84},{160,160}}</string>
<string>{{1085,1456},{160,160}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -930,7 +1140,7 @@
<key>spriteSourceSize</key>
<string>{76,76}</string>
<key>textureRect</key>
<string>{{1301,836},{76,76}}</string>
<string>{{462,1094},{76,76}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -945,9 +1155,9 @@
<key>spriteSourceSize</key>
<string>{109,108}</string>
<key>textureRect</key>
<string>{{1277,628},{109,108}}</string>
<string>{{1030,1345},{109,108}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>grep.png</key>
<dict>
@@ -960,9 +1170,9 @@
<key>spriteSourceSize</key>
<string>{112,110}</string>
<key>textureRect</key>
<string>{{1163,628},{112,110}}</string>
<string>{{807,1348},{112,110}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>hero_box.png</key>
<dict>
@@ -975,7 +1185,7 @@
<key>spriteSourceSize</key>
<string>{134,134}</string>
<key>textureRect</key>
<string>{{1014,498},{134,134}}</string>
<string>{{1057,1743},{134,134}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -990,9 +1200,9 @@
<key>spriteSourceSize</key>
<string>{85,74}</string>
<key>textureRect</key>
<string>{{1452,392},{85,74}}</string>
<string>{{1,1107},{85,74}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>life2.png</key>
<dict>
@@ -1005,7 +1215,7 @@
<key>spriteSourceSize</key>
<string>{77,72}</string>
<key>textureRect</key>
<string>{{1379,835},{75,68}}</string>
<string>{{462,1172},{75,68}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -1020,7 +1230,7 @@
<key>spriteSourceSize</key>
<string>{350,91}</string>
<key>textureRect</key>
<string>{{544,182},{350,91}}</string>
<string>{{544,817},{350,91}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -1035,9 +1245,9 @@
<key>spriteSourceSize</key>
<string>{106,91}</string>
<key>textureRect</key>
<string>{{1159,758},{106,91}}</string>
<string>{{1140,1345},{106,91}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>list_bg.png</key>
<dict>
@@ -1050,7 +1260,7 @@
<key>spriteSourceSize</key>
<string>{365,145}</string>
<key>textureRect</key>
<string>{{1,278},{365,145}}</string>
<string>{{1049,134},{365,145}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -1065,9 +1275,9 @@
<key>spriteSourceSize</key>
<string>{67,53}</string>
<key>textureRect</key>
<string>{{1463,739},{67,53}}</string>
<string>{{1323,1662},{67,53}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>menu_focus.png</key>
<dict>
@@ -1080,7 +1290,7 @@
<key>spriteSourceSize</key>
<string>{157,157}</string>
<key>textureRect</key>
<string>{{1142,339},{157,157}}</string>
<string>{{890,960},{157,157}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -1095,7 +1305,7 @@
<key>spriteSourceSize</key>
<string>{103,103}</string>
<key>textureRect</key>
<string>{{1388,634},{103,103}}</string>
<string>{{1323,1743},{103,103}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -1110,7 +1320,7 @@
<key>spriteSourceSize</key>
<string>{129,8}</string>
<key>textureRect</key>
<string>{{151,923},{129,8}}</string>
<string>{{1416,352},{129,8}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -1125,9 +1335,9 @@
<key>spriteSourceSize</key>
<string>{216,8}</string>
<key>textureRect</key>
<string>{{818,453},{216,8}}</string>
<string>{{1416,134},{216,8}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>rund_bg.png</key>
<dict>
@@ -1140,7 +1350,7 @@
<key>spriteSourceSize</key>
<string>{1024,1024}</string>
<key>textureRect</key>
<string>{{740,498},{142,142}}</string>
<string>{{1385,1599},{142,142}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -1155,7 +1365,7 @@
<key>spriteSourceSize</key>
<string>{32,12}</string>
<key>textureRect</key>
<string>{{1280,498},{32,12}}</string>
<string>{{88,1143},{32,12}}</string>
<key>textureRotated</key>
<true/>
</dict>
@@ -1170,9 +1380,9 @@
<key>spriteSourceSize</key>
<string>{61,69}</string>
<key>textureRect</key>
<string>{{1469,44},{61,69}}</string>
<string>{{987,1119},{61,69}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>skill.png</key>
<dict>
@@ -1185,9 +1395,9 @@
<key>spriteSourceSize</key>
<string>{141,149}</string>
<key>textureRect</key>
<string>{{1301,389},{141,149}}</string>
<string>{{371,1732},{141,149}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>stars.png</key>
<dict>
@@ -1200,7 +1410,7 @@
<key>spriteSourceSize</key>
<string>{189,33}</string>
<key>textureRect</key>
<string>{{818,463},{189,33}}</string>
<string>{{691,1690},{189,33}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -1215,9 +1425,9 @@
<key>spriteSourceSize</key>
<string>{63,59}</string>
<key>textureRect</key>
<string>{{1469,115},{63,59}}</string>
<string>{{1233,1344},{63,59}}</string>
<key>textureRotated</key>
<true/>
<false/>
</dict>
<key>ybar.png</key>
<dict>
@@ -1230,9 +1440,9 @@
<key>spriteSourceSize</key>
<string>{35,14}</string>
<key>textureRect</key>
<string>{{818,275},{35,14}}</string>
<string>{{88,1106},{35,14}}</string>
<key>textureRotated</key>
<false/>
<true/>
</dict>
<key>ybg.png</key>
<dict>
@@ -1245,7 +1455,7 @@
<key>spriteSourceSize</key>
<string>{216,14}</string>
<key>textureRect</key>
<string>{{368,497},{216,14}}</string>
<string>{{439,1711},{216,14}}</string>
<key>textureRotated</key>
<false/>
</dict>
@@ -1261,9 +1471,9 @@
<key>realTextureFileName</key>
<string>gui.png</string>
<key>size</key>
<string>{1531,939}</string>
<string>{1548,1886}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:f2c3a05e90fa7fc592ee76bcbe241a1d:63483b9c65af8130026dffb146279e1b:5f86533554b8a62fd9d2a17dd9533d7c$</string>
<string>$TexturePacker:SmartUpdate:9167e6443351549920e4a52bed580519:67fe83d0e9f5e7d92ea2e964d8fb6b5e:5f86533554b8a62fd9d2a17dd9533d7c$</string>
<key>textureFileName</key>
<string>gui.png</string>
</dict>

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 120 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -41,13 +41,10 @@
"_components": [
{
"__id__": 88
},
{
"__id__": 90
}
],
"_prefab": {
"__id__": 92
"__id__": 90
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -80,7 +77,7 @@
},
{
"__type__": "cc.Node",
"_name": "Artboard 17",
"_name": "Cartoon RPG UI_Window - Wide",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -102,7 +99,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 145.251,
"y": 0,
"z": 0
},
"_lrot": {
@@ -114,8 +111,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"x": 0.5,
"y": 0.5,
"z": 1
},
"_mobility": 0,
@@ -142,8 +139,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 344,
"height": 94
"width": 1046,
"height": 814
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -154,7 +151,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "4fLoJ+lN9Jrr78O7XQGMWV"
"fileId": "3cTsh+sKVJdLdWvmi5u/mW"
},
{
"__type__": "cc.Sprite",
@@ -179,7 +176,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@34767",
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@95d3c",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
@@ -199,7 +196,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6fxJxMkzBA7JMAxKtc/owq"
"fileId": "6cF3qRBYJOabYQxRovCRSV"
},
{
"__type__": "cc.PrefabInfo",
@@ -209,7 +206,7 @@
"asset": {
"__id__": 0
},
"fileId": "60K6iLGSlFhIT/OMCcExCn",
"fileId": "ddSg75FjFFsYf9HMHtubgl",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -238,7 +235,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 157.339,
"y": 174.884,
"z": 0
},
"_lrot": {
@@ -633,8 +630,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 44.4921875,
"height": 50.4
"width": 61.83984375,
"height": 54.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -672,8 +669,8 @@
"_string": "1000",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 20,
"_fontSize": 20,
"_actualFontSize": 26,
"_fontSize": 26,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
@@ -686,12 +683,12 @@
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"r": 255,
"g": 253,
"b": 253,
"a": 255
},
"_outlineWidth": 2,
@@ -765,7 +762,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 420,
"height": 37.8
"height": 41.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -817,12 +814,12 @@
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 1,
"_enableOutline": false,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_outlineWidth": 2,
@@ -1119,8 +1116,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 44.4921875,
"height": 50.4
"width": 61.83984375,
"height": 54.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1158,8 +1155,8 @@
"_string": "1000",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 20,
"_fontSize": 20,
"_actualFontSize": 26,
"_fontSize": 26,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
@@ -1172,12 +1169,12 @@
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_outlineWidth": 2,
@@ -1251,7 +1248,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 420,
"height": 37.8
"height": 41.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1303,12 +1300,12 @@
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 1,
"_enableOutline": false,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_outlineWidth": 2,
@@ -1615,7 +1612,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@1fc73",
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@4abaa",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
@@ -2028,7 +2025,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@26e22",
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@c7f75",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
@@ -2199,51 +2196,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "37o1ko8nFK1oK3xmkqtwMG"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 91
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@ffbc3",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a0vC/W2QdFb7e69t18Gf21"
},
{
"__type__": "cc.PrefabInfo",
"root": {

View File

@@ -42,21 +42,21 @@ export class Role extends ecs.Entity {
/** 加载角色 */
load(pos: Vec3 = Vec3.ZERO,uuid:number=101) {
// var path = "game/monster/"+prefab_path;
var path = "game/heros/hero";
var path = "game/heros/role";
var prefab: Prefab = oops.res.get(path, Prefab)!;
var node = instantiate(prefab);
var scene = smc.map.MapView.scene;
node.parent = scene.entityLayer!.node!;
node.setScale(1.5*node.scale.x, 1.5*node.scale.y, node.scale.z);
// var as = node.getComponent(MonsterSpine);
node.setPosition(pos)
console.log(node.getChildByName("avatar").getChildByName("TNode").getChildByName("bb").getComponent(Sprite))
const url = 'game/heros/player';
resources.load(url, SpriteAtlas, (err: any, atlas) => {
const sprite = node.getChildByName("avatar").getChildByName("TNode").getChildByName("bb").getComponent(Sprite);
// node.setPosition(pos)
// console.log(node.getChildByName("avatar").getChildByName("TNode").getChildByName("bb").getComponent(Sprite))
// const url = 'game/heros/player';
// resources.load(url, SpriteAtlas, (err: any, atlas) => {
// const sprite = node.getChildByName("avatar").getChildByName("TNode").getChildByName("bb").getComponent(Sprite);
sprite.spriteFrame = atlas.getSpriteFrame(RoleSet[uuid].path);
});
// sprite.spriteFrame = atlas.getSpriteFrame(RoleSet[uuid].path);
// });
// var rv = node.getComponent(MonsterViewComp)!;
// this.add(rv);
this.hero_init(uuid,node)

View File

@@ -18,7 +18,7 @@ export class CsuoComp extends CCComp {
}
onTouch() {
if(smc.vm_data.gems < smc.vm_data.unlock){
oops.gui.toast("金币不足")
oops.gui.toast("钻石不足")
return
}
smc.vm_data.gems=smc.vm_data.gems-smc.vm_data.unlock;

View File

@@ -71,7 +71,7 @@ export class MapMonsterComp extends CCComp {
load_role(){
let role = ecs.getEntity<Role>(Role);
let pos = v3(BoxSet.HERO_START,BoxSet.GAME_LINE)
role.load(pos,108)
role.load(pos,109)
smc.Role=role
console.log("加载玩家",role)
}