This commit is contained in:
2024-09-02 09:03:43 +08:00
parent 9028b86d4e
commit f367d1817a
27 changed files with 3953 additions and 3233 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -114,8 +114,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 1.0000000000000002, "x": 1,
"y": 1.0000000000000002, "y": 1,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -142,7 +142,7 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 138, "width": 128,
"height": 138 "height": 138
}, },
"_anchorPoint": { "_anchorPoint": {
@@ -154,7 +154,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "98iGc3EdxJG6wem+4QD0kL" "fileId": "c61hjfQjNJLZ7tiGmDDVkl"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -179,10 +179,10 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@59775", "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@98971",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 1, "_type": 0,
"_fillType": 0, "_fillType": 0,
"_sizeMode": 0, "_sizeMode": 0,
"_fillCenter": { "_fillCenter": {
@@ -199,7 +199,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "95KIf1WTFJUJBapgMClaii" "fileId": "ddyxIhgvlBgqrb/ug6n4ZA"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -209,7 +209,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "8at0kvKwNHvrpHcYsSWcp5", "fileId": "c7BafFI5dJuZepqpsvvJRr",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -764,8 +764,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 10, "x": 15,
"y": 130, "y": 120,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -814,8 +814,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": -2,
"y": 0, "y": 2,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -1001,7 +1001,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@a6b9d", "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@64e6d",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,

View File

@@ -2,12 +2,12 @@
"ver": "1.1.50", "ver": "1.1.50",
"importer": "prefab", "importer": "prefab",
"imported": true, "imported": true,
"uuid": "4a868137-3302-45c1-817b-10566090c295", "uuid": "e92a4676-2650-4241-b991-c5f822a20372",
"files": [ "files": [
".json" ".json"
], ],
"subMetas": {}, "subMetas": {},
"userData": { "userData": {
"syncNodeName": "role2" "syncNodeName": "item_card"
} }
} }

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
"ver": "1.1.50", "ver": "1.1.50",
"importer": "prefab", "importer": "prefab",
"imported": true, "imported": true,
"uuid": "a9ece743-4b57-4605-b051-83ca9ed79bf7", "uuid": "b03c09d2-f503-4ad8-a45e-3a4b26e8d560",
"files": [ "files": [
".json" ".json"
], ],

View File

@@ -15,9 +15,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{102,106}</string> <string>{102,106}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,247},{102,106}}</string> <string>{{1,1},{102,106}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>1002.png</key> <key>1002.png</key>
<dict> <dict>
@@ -30,9 +30,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{102,106}</string> <string>{102,106}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{109,248},{102,106}}</string> <string>{{105,1},{102,106}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>1011.png</key> <key>1011.png</key>
<dict> <dict>
@@ -45,9 +45,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{102,106}</string> <string>{102,106}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{217,255},{102,106}}</string> <string>{{209,1},{102,106}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>1012.png</key> <key>1012.png</key>
<dict> <dict>
@@ -60,9 +60,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{102,106}</string> <string>{102,106}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{325,268},{102,106}}</string> <string>{{313,1},{102,106}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>6001.png</key> <key>6001.png</key>
<dict> <dict>
@@ -71,13 +71,13 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{61,63}</string> <string>{64,64}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{61,63}</string> <string>{64,64}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{384,58},{61,63}}</string> <string>{{547,1},{64,64}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>6002.png</key> <key>6002.png</key>
<dict> <dict>
@@ -86,11 +86,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{70,63}</string> <string>{64,64}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{70,63}</string> <string>{64,64}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{232,119},{70,63}}</string> <string>{{613,1},{64,64}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -101,13 +101,13 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{63,68}</string> <string>{60,60}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{63,68}</string> <string>{60,60}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{304,119},{63,68}}</string> <string>{{781,67},{60,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>6004.png</key> <key>6004.png</key>
<dict> <dict>
@@ -116,13 +116,28 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{62,66}</string> <string>{64,64}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{62,66}</string> <string>{64,64}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{89,117},{62,66}}</string> <string>{{679,1},{64,64}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict>
<key>6005.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{64,64}</string>
<key>spriteSourceSize</key>
<string>{64,64}</string>
<key>textureRect</key>
<string>{{745,1},{64,64}}</string>
<key>textureRotated</key>
<false/>
</dict> </dict>
<key>6006.png</key> <key>6006.png</key>
<dict> <dict>
@@ -131,28 +146,13 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{60,66}</string> <string>{64,64}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{60,66}</string> <string>{64,64}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{185,56},{60,66}}</string> <string>{{811,1},{64,64}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict>
<key>6007.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{62,73}</string>
<key>spriteSourceSize</key>
<string>{62,73}</string>
<key>textureRect</key>
<string>{{157,118},{62,73}}</string>
<key>textureRotated</key>
<true/>
</dict> </dict>
<key>6101.png</key> <key>6101.png</key>
<dict> <dict>
@@ -161,13 +161,13 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{64,73}</string> <string>{60,60}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{64,73}</string> <string>{60,60}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,177},{64,73}}</string> <string>{{843,67},{60,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>6102.png</key> <key>6102.png</key>
<dict> <dict>
@@ -176,13 +176,13 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{64,73}</string> <string>{60,60}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{64,73}</string> <string>{60,60}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{76,181},{64,73}}</string> <string>{{905,67},{60,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>6103.png</key> <key>6103.png</key>
<dict> <dict>
@@ -191,148 +191,13 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{64,73}</string> <string>{60,60}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{64,73}</string> <string>{60,60}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{151,182},{64,73}}</string> <string>{{967,67},{60,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict>
<key>6201 .png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{54,62}</string>
<key>spriteSourceSize</key>
<string>{54,62}</string>
<key>textureRect</key>
<string>{{253,1},{54,62}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>6202 .png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{54,62}</string>
<key>spriteSourceSize</key>
<string>{54,62}</string>
<key>textureRect</key>
<string>{{317,1},{54,62}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>6203 .png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{54,62}</string>
<key>spriteSourceSize</key>
<string>{54,62}</string>
<key>textureRect</key>
<string>{{381,1},{54,62}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>6204.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{53,61}</string>
<key>spriteSourceSize</key>
<string>{53,61}</string>
<key>textureRect</key>
<string>{{64,1},{53,61}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>6205.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{53,61}</string>
<key>spriteSourceSize</key>
<string>{53,61}</string>
<key>textureRect</key>
<string>{{127,1},{53,61}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>6206.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{53,61}</string>
<key>spriteSourceSize</key>
<string>{53,61}</string>
<key>textureRect</key>
<string>{{190,1},{53,61}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>6207.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{55,59}</string>
<key>spriteSourceSize</key>
<string>{55,59}</string>
<key>textureRect</key>
<string>{{445,1},{55,59}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>6208.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{55,59}</string>
<key>spriteSourceSize</key>
<string>{55,59}</string>
<key>textureRect</key>
<string>{{1,50},{55,59}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>6209.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{56,59}</string>
<key>spriteSourceSize</key>
<string>{56,59}</string>
<key>textureRect</key>
<string>{{62,56},{56,59}}</string>
<key>textureRotated</key>
<true/>
</dict> </dict>
<key>6210.png</key> <key>6210.png</key>
<dict> <dict>
@@ -341,13 +206,13 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{61,86}</string> <string>{64,60}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{61,86}</string> <string>{64,60}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,114},{61,86}}</string> <string>{{585,67},{64,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>6211.png</key> <key>6211.png</key>
<dict> <dict>
@@ -356,71 +221,116 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{74,83}</string> <string>{64,64}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{74,83}</string> <string>{64,64}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{380,192},{74,83}}</string> <string>{{877,1},{64,64}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>6301.png</key> <key>6212.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>{66,68}</string> <string>{64,64}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{66,68}</string> <string>{64,64}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{441,124},{66,68}}</string> <string>{{943,1},{64,64}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>6302.png</key> <key>6213.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>{67,74}</string> <string>{44,50}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{67,74}</string> <string>{44,50}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{304,186},{67,74}}</string> <string>{{1029,67},{44,50}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>6303.png</key> <key>6214.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>{47,61}</string> <string>{44,64}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{47,61}</string> <string>{44,64}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,1},{47,61}}</string> <string>{{1075,67},{44,64}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
<key>7001.png</key> <key>6215.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>{63,65}</string> <string>{64,64}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{63,65}</string> <string>{64,64}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{374,121},{63,65}}</string> <string>{{1009,1},{64,64}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>6216.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{40,46}</string>
<key>spriteSourceSize</key>
<string>{40,46}</string>
<key>textureRect</key>
<string>{{481,79},{40,46}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>6217.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{64,60}</string>
<key>spriteSourceSize</key>
<string>{64,60}</string>
<key>textureRect</key>
<string>{{651,67},{64,60}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>6218.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{48,62}</string>
<key>spriteSourceSize</key>
<string>{48,62}</string>
<key>textureRect</key>
<string>{{417,79},{48,62}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -435,7 +345,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{60,62}</string> <string>{60,62}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{253,57},{60,62}}</string> <string>{{717,67},{60,62}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -450,9 +360,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{65,60}</string> <string>{65,60}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{317,57},{65,60}}</string> <string>{{485,1},{65,60}}</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,9 +375,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{66,76}</string> <string>{66,76}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{226,184},{66,76}}</string> <string>{{417,1},{66,76}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>userinfo_icon_crown.png</key> <key>userinfo_icon_crown.png</key>
<dict> <dict>
@@ -480,7 +390,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{59,60}</string> <string>{59,60}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{123,56},{59,60}}</string> <string>{{523,68},{59,60}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -495,7 +405,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{61,64}</string> <string>{61,64}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{449,58},{61,64}}</string> <string>{{1075,1},{61,64}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -511,9 +421,9 @@
<key>realTextureFileName</key> <key>realTextureFileName</key>
<string>skill.png</string> <string>skill.png</string>
<key>size</key> <key>size</key>
<string>{511,371}</string> <string>{1140,128}</string>
<key>smartupdate</key> <key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:e626ca9551b109ee626696e4d575594e:841d246feaeb8c4a383dca05301779e9:de628d2eabb1e43115cf8c86336e45f6$</string> <string>$TexturePacker:SmartUpdate:07d62d24f5c5e38e65f2eb6575a8a3cb:4d5175f9c40acf8942c69135c8202a86:de628d2eabb1e43115cf8c86336e45f6$</string>
<key>textureFileName</key> <key>textureFileName</key>
<string>skill.png</string> <string>skill.png</string>
</dict> </dict>

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

@@ -80,7 +80,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg", "_name": "card_green",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
@@ -114,8 +114,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 1.0000000000000002, "x": 1,
"y": 1.0000000000000002, "y": 1,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -154,7 +154,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "98iGc3EdxJG6wem+4QD0kL" "fileId": "36rxb9+o9E5rB9ComMCAig"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@@ -179,10 +179,10 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@7d8c1", "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@eb602",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 1, "_type": 0,
"_fillType": 0, "_fillType": 0,
"_sizeMode": 0, "_sizeMode": 0,
"_fillCenter": { "_fillCenter": {
@@ -199,7 +199,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "95KIf1WTFJUJBapgMClaii" "fileId": "ffD+v5TzZH57R1R/EuEFaI"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -209,7 +209,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "8at0kvKwNHvrpHcYsSWcp5", "fileId": "0axXyrK4FK2p6WCE4+Rtmx",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@@ -320,7 +320,7 @@
}, },
"_type": 0, "_type": 0,
"_fillType": 0, "_fillType": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0,
@@ -764,8 +764,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 10, "x": 15,
"y": 130, "y": 120,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -814,8 +814,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": -2,
"y": 0, "y": 2,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -1001,7 +1001,7 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@a6b9d", "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@64e6d",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,

View File

@@ -15,9 +15,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{94,118}</string> <string>{94,118}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1843,49},{94,118}}</string> <string>{{857,596},{94,118}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>02.png</key> <key>02.png</key>
<dict> <dict>
@@ -30,7 +30,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{64,63}</string> <string>{64,63}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1652,185},{64,63}}</string> <string>{{887,908},{64,63}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -45,7 +45,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{64,62}</string> <string>{64,62}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1652,250},{64,62}}</string> <string>{{887,973},{64,62}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -60,9 +60,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{122,98}</string> <string>{122,98}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1719,49},{122,98}}</string> <string>{{588,800},{122,98}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>43.png</key> <key>43.png</key>
<dict> <dict>
@@ -75,7 +75,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{100,100}</string> <string>{100,100}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1718,235},{100,100}}</string> <string>{{588,924},{100,100}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -90,9 +90,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{82,94}</string> <string>{82,94}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1826,361},{82,94}}</string> <string>{{857,716},{82,94}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>58.png</key> <key>58.png</key>
<dict> <dict>
@@ -105,7 +105,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{100,96}</string> <string>{100,96}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1728,337},{100,96}}</string> <string>{{328,765},{100,96}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -120,9 +120,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{84,106}</string> <string>{84,106}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1719,149},{84,106}}</string> <string>{{801,920},{84,106}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>Artboard 16.png</key> <key>Artboard 16.png</key>
<dict> <dict>
@@ -135,9 +135,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{360,106}</string> <string>{360,106}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{149,368},{334,92}}</string> <string>{{234,504},{334,92}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>Artboard 17.png</key> <key>Artboard 17.png</key>
<dict> <dict>
@@ -150,7 +150,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{360,112}</string> <string>{360,112}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{611,1},{344,94}}</string> <string>{{138,504},{344,94}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -165,9 +165,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{389,124}</string> <string>{389,124}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{281,1},{365,100}}</string> <string>{{544,148},{365,100}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>Artboard 28.png</key> <key>Artboard 28.png</key>
<dict> <dict>
@@ -180,10 +180,40 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{386,109}</string> <string>{386,109}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{429,1},{352,87}}</string> <string>{{49,504},{352,87}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
<key>Cartoon RPG UI_Slot - Avatar.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>{{695,596},{160,160}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>Cartoon RPG UI_Slot - Item.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>{{695,758},{160,160}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>Heroes_icon.png</key> <key>Heroes_icon.png</key>
<dict> <dict>
<key>aliases</key> <key>aliases</key>
@@ -195,7 +225,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{41,48}</string> <string>{41,48}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1893,318},{41,48}}</string> <string>{{818,1089},{41,48}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -210,9 +240,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{35,32}</string> <string>{35,32}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1379,231},{35,32}}</string> <string>{{197,1154},{35,32}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>Option_icon.png</key> <key>Option_icon.png</key>
<dict> <dict>
@@ -225,7 +255,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{42,43}</string> <string>{42,43}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{713,347},{42,43}}</string> <string>{{805,1132},{42,43}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -240,9 +270,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{361,44}</string> <string>{361,44}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{383,1},{361,44}}</string> <string>{{544,250},{361,44}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>Rounded Rectangle 1029 copy 11.png</key> <key>Rounded Rectangle 1029 copy 11.png</key>
<dict> <dict>
@@ -255,9 +285,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{72,40}</string> <string>{72,40}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1339,189},{72,40}}</string> <string>{{405,1108},{72,40}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>Rounded Rectangle 795.png</key> <key>Rounded Rectangle 795.png</key>
<dict> <dict>
@@ -270,9 +300,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{238,41}</string> <string>{238,41}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1413,189},{238,41}}</string> <string>{{427,394},{238,41}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>Shop_icon.png</key> <key>Shop_icon.png</key>
<dict> <dict>
@@ -285,9 +315,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{49,42}</string> <string>{49,42}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{713,391},{49,42}}</string> <string>{{883,1037},{49,42}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>UI-02.png</key> <key>UI-02.png</key>
<dict> <dict>
@@ -300,9 +330,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{105,10}</string> <string>{105,10}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{485,355},{105,10}}</string> <string>{{29,1176},{105,10}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>UI-03.png</key> <key>UI-03.png</key>
<dict> <dict>
@@ -315,9 +345,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{111,16}</string> <string>{111,16}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{695,347},{111,16}}</string> <string>{{427,278},{111,16}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>baoxiang.png</key> <key>baoxiang.png</key>
<dict> <dict>
@@ -330,7 +360,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{138,123}</string> <string>{138,123}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1339,49},{138,123}}</string> <string>{{570,660},{138,123}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -345,7 +375,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{541,275}</string> <string>{541,275}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{707,1},{541,275}}</string> <string>{{1,1},{541,275}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -360,7 +390,22 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{694,46}</string> <string>{694,46}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1269,1},{694,46}}</string> <string>{{1,278},{694,46}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>black.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{111,109}</string>
<key>spriteSourceSize</key>
<string>{111,109}</string>
<key>textureRect</key>
<string>{{467,1074},{111,109}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -375,9 +420,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{376,131}</string> <string>{376,131}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,1},{376,131}}</string> <string>{{49,278},{376,131}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>btn blue.png</key> <key>btn blue.png</key>
<dict> <dict>
@@ -390,7 +435,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{259,96}</string> <string>{259,96}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1456,189},{259,96}}</string> <string>{{328,504},{259,96}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -405,9 +450,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{259,96}</string> <string>{259,96}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1554,186},{259,96}}</string> <string>{{427,296},{259,96}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>btn.png</key> <key>btn.png</key>
<dict> <dict>
@@ -420,7 +465,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{221,87}</string> <string>{221,87}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1250,49},{221,87}}</string> <string>{{576,437},{221,87}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -435,7 +480,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{117,135}</string> <string>{117,135}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1464,49},{117,135}}</string> <string>{{49,858},{117,135}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -450,7 +495,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{71,71}</string> <string>{71,71}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1820,255},{71,71}}</string> <string>{{745,1030},{71,71}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -465,7 +510,97 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{141,149}</string> <string>{141,149}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{983,278},{141,149}}</string> <string>{{168,850},{141,149}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>card_blue.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{148,217}</string>
<key>spriteSourceSize</key>
<string>{148,217}</string>
<key>textureRect</key>
<string>{{688,296},{148,217}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>card_green.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{148,217}</string>
<key>spriteSourceSize</key>
<string>{148,217}</string>
<key>textureRect</key>
<string>{{426,437},{148,217}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>card_red.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{148,217}</string>
<key>spriteSourceSize</key>
<string>{148,217}</string>
<key>textureRect</key>
<string>{{665,446},{148,217}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>crystal_blue.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{72,71}</string>
<key>spriteSourceSize</key>
<string>{72,71}</string>
<key>textureRect</key>
<string>{{331,1108},{72,71}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>crystal_green.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{72,71}</string>
<key>spriteSourceSize</key>
<string>{72,71}</string>
<key>textureRect</key>
<string>{{658,1102},{72,71}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>crystal_red.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{72,71}</string>
<key>spriteSourceSize</key>
<string>{72,71}</string>
<key>textureRect</key>
<string>{{731,1103},{72,71}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -480,7 +615,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{180,38}</string> <string>{180,38}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{762,278},{180,38}}</string> <string>{{907,250},{180,38}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -495,7 +630,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{38,38}</string> <string>{38,38}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1339,231},{38,38}}</string> <string>{{850,1132},{38,38}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -510,9 +645,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{166,20}</string> <string>{166,20}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{802,278},{166,20}}</string> <string>{{29,1154},{166,20}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>gbg.png</key> <key>gbg.png</key>
<dict> <dict>
@@ -525,7 +660,22 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{212,26}</string> <string>{212,26}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1020,429},{212,26}}</string> <string>{{1,974},{212,26}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>gh2.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>{{426,800},{160,160}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -540,7 +690,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{76,76}</string> <string>{76,76}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,379},{76,76}}</string> <string>{{580,1102},{76,76}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -555,7 +705,22 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{109,108}</string> <string>{109,108}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1843,145},{109,108}}</string> <string>{{690,920},{109,108}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>grep.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{112,110}</string>
<key>spriteSourceSize</key>
<string>{112,110}</string>
<key>textureRect</key>
<string>{{467,962},{112,110}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -570,7 +735,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{134,134}</string> <string>{134,134}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1583,49},{134,134}}</string> <string>{{331,972},{134,134}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -585,9 +750,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{85,74}</string> <string>{85,74}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1652,375},{85,74}}</string> <string>{{581,1026},{85,74}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>life2.png</key> <key>life2.png</key>
<dict> <dict>
@@ -600,9 +765,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{77,72}</string> <string>{77,72}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{79,379},{75,68}}</string> <string>{{668,1030},{75,68}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>line_bg.png</key> <key>line_bg.png</key>
<dict> <dict>
@@ -615,9 +780,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{350,91}</string> <string>{350,91}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{518,1},{350,91}}</string> <string>{{49,411},{350,91}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>line_left.png</key> <key>line_left.png</key>
<dict> <dict>
@@ -630,7 +795,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{106,91}</string> <string>{106,91}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{602,353},{106,91}}</string> <string>{{857,800},{106,91}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <true/>
</dict> </dict>
@@ -645,9 +810,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{365,145}</string> <string>{365,145}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{134,1},{365,145}}</string> <string>{{544,1},{365,145}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>magic.png</key> <key>magic.png</key>
<dict> <dict>
@@ -660,9 +825,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{67,53}</string> <string>{67,53}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{707,278},{67,53}}</string> <string>{{884,446},{67,53}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>menu_focus.png</key> <key>menu_focus.png</key>
<dict> <dict>
@@ -675,7 +840,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{157,157}</string> <string>{157,157}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{824,278},{157,157}}</string> <string>{{29,995},{157,157}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -690,7 +855,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{103,103}</string> <string>{103,103}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{497,355},{103,103}}</string> <string>{{319,867},{103,103}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -705,7 +870,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{129,8}</string> <string>{129,8}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1269,416},{129,8}}</string> <string>{{188,1144},{129,8}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -720,9 +885,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{216,8}</string> <string>{216,8}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1234,429},{216,8}}</string> <string>{{927,1},{216,8}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>rund_bg.png</key> <key>rund_bg.png</key>
<dict> <dict>
@@ -735,7 +900,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{1024,1024}</string> <string>{1024,1024}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1269,272},{142,142}}</string> <string>{{426,656},{142,142}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -750,7 +915,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{32,12}</string> <string>{32,12}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{983,429},{32,12}}</string> <string>{{907,432},{32,12}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -765,9 +930,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{61,69}</string> <string>{61,69}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1893,255},{61,69}}</string> <string>{{884,501},{61,69}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>skill.png</key> <key>skill.png</key>
<dict> <dict>
@@ -780,7 +945,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{141,149}</string> <string>{141,149}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1126,278},{141,149}}</string> <string>{{188,993},{141,149}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -795,7 +960,7 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{63,59}</string> <string>{63,59}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1652,314},{63,59}}</string> <string>{{818,1028},{63,59}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@@ -810,9 +975,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{35,14}</string> <string>{35,14}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{713,442},{35,14}}</string> <string>{{937,1},{35,14}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
<key>ybg.png</key> <key>ybg.png</key>
<dict> <dict>
@@ -825,9 +990,9 @@
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{216,14}</string> <string>{216,14}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{802,446},{216,14}}</string> <string>{{911,1},{216,14}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <true/>
</dict> </dict>
</dict> </dict>
<key>metadata</key> <key>metadata</key>
@@ -841,9 +1006,9 @@
<key>realTextureFileName</key> <key>realTextureFileName</key>
<string>gui.png</string> <string>gui.png</string>
<key>size</key> <key>size</key>
<string>{1964,461}</string> <string>{952,1187}</string>
<key>smartupdate</key> <key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:a5b9acc5e822c2ed2aa01db35d3d9f40:c5075d5486d7e44865b7344dec5e7794:5f86533554b8a62fd9d2a17dd9533d7c$</string> <string>$TexturePacker:SmartUpdate:85e4c7f13b98dbab5508a62c8cfc3b82:14094fc9ea76e45a583b61109889d303:5f86533554b8a62fd9d2a17dd9533d7c$</string>
<key>textureFileName</key> <key>textureFileName</key>
<string>gui.png</string> <string>gui.png</string>
</dict> </dict>

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 79 KiB

View File

@@ -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

View File

@@ -37,7 +37,7 @@ export class Role extends ecs.Entity {
} }
/** 加载角色 */ /** 加载角色 */
load(pos: Vec3 = Vec3.ZERO,uuid:number=101,skin:string="Character01") { load(pos: Vec3 = Vec3.ZERO,uuid:number=101) {
// var path = "game/monster/"+prefab_path; // var path = "game/monster/"+prefab_path;
var path = "game/heros/role"; var path = "game/heros/role";
var prefab: Prefab = oops.res.get(path, Prefab)!; var prefab: Prefab = oops.res.get(path, Prefab)!;
@@ -46,7 +46,7 @@ export class Role extends ecs.Entity {
node.parent = scene.entityLayer!.node!; node.parent = scene.entityLayer!.node!;
// var as = node.getComponent(MonsterSpine); // var as = node.getComponent(MonsterSpine);
node.setPosition(pos) node.setPosition(pos)
// console.log(node.getChildByName("avatar").getChildByName("TNode").getChildByName("bb").getComponent(Sprite)) console.log(node.getChildByName("avatar").getChildByName("TNode").getChildByName("bb").getComponent(Sprite))
// const url = 'game/heros/player'; // const url = 'game/heros/player';
// resources.load(url, SpriteAtlas, (err: any, atlas) => { // resources.load(url, SpriteAtlas, (err: any, atlas) => {
// const sprite = node.getChildByName("avatar").getChildByName("TNode").getChildByName("bb").getComponent(Sprite); // const sprite = node.getChildByName("avatar").getChildByName("TNode").getChildByName("bb").getComponent(Sprite);
@@ -54,8 +54,6 @@ export class Role extends ecs.Entity {
// sprite.spriteFrame = atlas.getSpriteFrame(RoleSet[uuid].path); // sprite.spriteFrame = atlas.getSpriteFrame(RoleSet[uuid].path);
// }); // });
var rv = node.getComponent(RoleViewComp)!; var rv = node.getComponent(RoleViewComp)!;
rv.skin=skin
rv.setSkin()
this.add(rv); this.add(rv);
this.hero_init(uuid,node) this.hero_init(uuid,node)

View File

@@ -33,11 +33,11 @@ export class RoleSpine extends Component {
this.spine = this.animator.getComponent(sp.Skeleton)!; this.spine = this.animator.getComponent(sp.Skeleton)!;
} }
atk() { atk() {
this.spine.setAnimation(0, "Throwing", false); this.spine.setAnimation(0, "atk2", false);
} }
magic() { magic() {
this.spine.setAnimation(0, "Hit", false); this.spine.setAnimation(0, "max", false);
} }
setSkin(value: string): void { setSkin(value: string): void {
console.log("RoleSpine setSkin", value); console.log("RoleSpine setSkin", value);

View File

@@ -15,7 +15,7 @@ const { ccclass, property, requireComponent, disallowMultiple } = _decorator;
@disallowMultiple @disallowMultiple
@requireComponent(sp.Skeleton) @requireComponent(sp.Skeleton)
export default class RoleSpineAnimator extends Component { export default class RoleSpineAnimator extends Component {
private animName: string = "Idle"; private animName: string = "move";
private loop: boolean = true; private loop: boolean = true;
private spine!: sp.Skeleton; private spine!: sp.Skeleton;
start() { start() {
@@ -32,8 +32,8 @@ export default class RoleSpineAnimator extends Component {
this.spine.setEndListener(trackEntry => { this.spine.setEndListener(trackEntry => {
var animationName = trackEntry.animation ? trackEntry.animation.name : ""; var animationName = trackEntry.animation ? trackEntry.animation.name : "";
// console.log("[track %s][animation %s] end.", trackEntry.trackIndex, animationName); // console.log("[track %s][animation %s] end.", trackEntry.trackIndex, animationName);
if (animationName == "Throwing"||animationName == "Hit") { if (animationName == "atk2" ||animationName == "magic"||animationName=="max") {
this.spine.setAnimation(0, "Idle", true); this.spine.setAnimation(0, "move", true);
} }
}); });

View File

@@ -35,7 +35,7 @@ export class RoleViewComp extends CCComp {
hp_max:number = 1000; hp_max:number = 1000;
power: number = 0; power: number = 0;
stop_cd:number = 0; stop_cd:number = 0;
atk_cd:number = 10; atk_cd:number = 3;
atk:number = 10; atk:number = 10;
skill_uuid:number = 9003; skill_uuid:number = 9003;
max_skill_uuid:number = 1001; max_skill_uuid:number = 1001;
@@ -51,8 +51,8 @@ export class RoleViewComp extends CCComp {
// let x = RandomManager.instance.getRandomInt(1,9,2) // let x = RandomManager.instance.getRandomInt(1,9,2)
// this.as.setSkin("Character0"+x); // this.as.setSkin("Character0"+x);
this.atk_time = new Timer(this.atk_cd); this.atk_time = new Timer(this.atk_cd);
// this.sprite = this.node.getChildByName("avatar").getChildByName("TNode").getChildByName("bb").getComponent(Sprite); this.sprite = this.node.getChildByName("avatar").getChildByName("TNode").getChildByName("bb").getComponent(Sprite);
// this.orginalFlashMaterial = this.sprite.getRenderMaterial(0); this.orginalFlashMaterial = this.sprite.getRenderMaterial(0);
console.log("Role view start") console.log("Role view start")
let collider = this.getComponent(Collider2D); let collider = this.getComponent(Collider2D);
if (collider) { if (collider) {
@@ -113,16 +113,16 @@ export class RoleViewComp extends CCComp {
} }
in_atked() { in_atked() {
// this.sprite.setSharedMaterial(this.hitFlashMaterial, 0); this.sprite.setSharedMaterial(this.hitFlashMaterial, 0);
// this.scheduleOnce(() => { this.scheduleOnce(() => {
// this.sprite.setSharedMaterial(this.orginalFlashMaterial, 0); this.sprite.setSharedMaterial(this.orginalFlashMaterial, 0);
// }, 0.1); }, 0.1);
var path = "game/skills/atked"; // var path = "game/skills/atked";
var prefab: Prefab = oops.res.get(path, Prefab)!; // var prefab: Prefab = oops.res.get(path, Prefab)!;
var node = instantiate(prefab); // var node = instantiate(prefab);
let pos = v3(0,30) // let pos = v3(0,30)
node.setPosition(pos) // node.setPosition(pos)
node.parent = this.node; // node.parent = this.node;
} }
hp_change(hp: number){ hp_change(hp: number){
this.hp -= hp; this.hp -= hp;

View File

@@ -12,18 +12,24 @@ export const CardList={
1:[ 1:[
{uuid:1101,type:1},{uuid:1102,type:1},{uuid:1201,type:1},{uuid:1202,type:1},{uuid:1301,type:1},{uuid:1302,type:1}, {uuid:1101,type:1},{uuid:1102,type:1},{uuid:1201,type:1},{uuid:1202,type:1},{uuid:1301,type:1},{uuid:1302,type:1},
{uuid:1001,type:2},{uuid:1002,type:2}, {uuid:1001,type:2},{uuid:1002,type:2},
{uuid:6001,type:3},{uuid:6004,type:3},{uuid:6101,type:3},
], ],
2:[ 2:[
{uuid:2101,type:1},{uuid:2102,type:1},{uuid:2201,type:1},{uuid:2202,type:1},{uuid:2301,type:1},{uuid:2302,type:1}, {uuid:2101,type:1},{uuid:2102,type:1},{uuid:2201,type:1},{uuid:2202,type:1},{uuid:2301,type:1},{uuid:2302,type:1},
{uuid:1001,type:2},{uuid:1002,type:2}, {uuid:1001,type:2},{uuid:1002,type:2},
{uuid:6001,type:3},{uuid:6004,type:3},{uuid:6101,type:3},
], ],
3:[ 3:[
{uuid:3101,type:1},{uuid:3102,type:1},{uuid:3201,type:1},{uuid:3202,type:1},{uuid:3301,type:1},{uuid:3302,type:1}, {uuid:3101,type:1},{uuid:3102,type:1},{uuid:3201,type:1},{uuid:3202,type:1},{uuid:3301,type:1},{uuid:3302,type:1},
{uuid:1001,type:2},{uuid:1002,type:2}, {uuid:1001,type:2},{uuid:1002,type:2},{uuid:4011,type:2},{uuid:4012,type:2},
{uuid:6001,type:3},{uuid:6004,type:3},{uuid:6101,type:3},{uuid:6002,type:3},{uuid:6003,type:3},{uuid:6005,type:3},{uuid:6006,type:3},{uuid:6102,type:3},{uuid:6103,type:3},
{uuid:6210,type:3},{uuid:6213,type:3},{uuid:6216,type:3},
], ],
4:[ 4:[
{uuid:4101,type:1},{uuid:4102,type:1},{uuid:4201,type:1},{uuid:4202,type:1},{uuid:4301,type:1},{uuid:4302,type:1}, {uuid:4101,type:1},{uuid:4102,type:1},{uuid:4201,type:1},{uuid:4202,type:1},{uuid:4301,type:1},{uuid:4302,type:1},
{uuid:1001,type:2},{uuid:1002,type:2}, {uuid:1001,type:2},{uuid:1002,type:2},{uuid:4011,type:2},{uuid:4012,type:2},
{uuid:6001,type:3},{uuid:6004,type:3},{uuid:6101,type:3},{uuid:6002,type:3},{uuid:6003,type:3},{uuid:6005,type:3},{uuid:6006,type:3},{uuid:6102,type:3},{uuid:6103,type:3},
{uuid:6210,type:3},{uuid:6213,type:3},{uuid:6216,type:3},{uuid:6211,type:3},{uuid:6212,type:3},{uuid:6214,type:3},{uuid:6215,type:3},{uuid:6217,type:3},{uuid:6218,type:3},
], ],
5:[{uuid:5001,type:1},{uuid:5002,type:1},{uuid:5003,type:1},{uuid:5004,type:1}], 5:[{uuid:5001,type:1},{uuid:5002,type:1},{uuid:5003,type:1},{uuid:5004,type:1}],
// 1:[1101,1102,1103,1104,1105,1106,1201,1202,1203,1204,1205,1301,1302,1303,1304,], // 1:[1101,1102,1103,1104,1105,1106,1201,1202,1203,1204,1205,1301,1302,1303,1304,],

View File

@@ -8,14 +8,12 @@ type
9 buff物品 9 buff物品
91: 单体buff物品加最少血临时 91: 单体buff物品加最少血临时
92单体buff物品随机临时 92单体buff物品随机临时
93: 体buff物品,加最少血,永久 93: 体buff物品
94单体buff物品随机永久 94role buff
95: 群体buff物品临时
96: 群体buff物品永久
sd 卡片技能图标持续时间 sd 卡片技能图标持续时间
cd 卡片技能释放本技能cd cd 卡片技能释放本技能cd
count卡片1次释放本技能数 count卡片1次释放本技能数
bsdbuff技能作用持续时间 bsdbuff技能作用持续时间 bsd=0 为永久
bcdbuff技能执行一次间隔 bcdbuff技能执行一次间隔
sk_uuid:子技能id sk_uuid:子技能id
sk_count:子技能个数 sk_count:子技能个数
@@ -31,13 +29,27 @@ export const SkillSet={
9001:{uuid: 9001,path: "1001",type: 1,level: 1,name: "基础攻击1",sp_name:"base",dis:70,count:1,atk:0,hp:0,shield:0,sd:10,cd:3,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:450,}, 9001:{uuid: 9001,path: "1001",type: 1,level: 1,name: "基础攻击1",sp_name:"base",dis:70,count:1,atk:0,hp:0,shield:0,sd:10,cd:3,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:450,},
9002:{uuid: 9002,path: "1001",type: 1,level: 1,name: "基础攻击2",sp_name:"base2",dis:70,count:1,atk:0,hp:0,shield:0,sd:10,cd:3,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:450,}, 9002:{uuid: 9002,path: "1001",type: 1,level: 1,name: "基础攻击2",sp_name:"base2",dis:70,count:1,atk:0,hp:0,shield:0,sd:10,cd:3,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:450,},
9003:{uuid: 9003,path: "1001",type: 2,level: 1,name: "基础攻击3",sp_name:"base3",dis:720,count:1,atk:0,hp:0,shield:0,sd:10,cd:3,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:450,}, 9003:{uuid: 9003,path: "1001",type: 2,level: 1,name: "基础攻击3",sp_name:"base3",dis:720,count:1,atk:0,hp:0,shield:0,sd:10,cd:3,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:450,},
6001:{uuid: 6001,path: "6001",type: 92,level: 1,name: "普通单手剑",sp_name:"",dis:720,count:1,atk:10,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6002:{uuid: 6002,path: "6002",type: 93,level: 3,name: "精致单手剑",sp_name:"",dis:720,count:1,atk:10,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6003:{uuid: 6003,path: "6003",type: 94,level: 3,name: "魔法单手剑",sp_name:"",dis:720,count:1,atk:10,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6004:{uuid: 6004,path: "6004",type: 92,level: 1,name: "普通木盾",sp_name:"",dis:720,count:1,atk:0,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6005:{uuid: 6005,path: "6005",type: 93,level: 3,name: "精致钢盾",sp_name:"",dis:720,count:1,atk:0,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6006:{uuid: 6006,path: "6006",type: 94,level: 3,name: "魔法盾",sp_name:"",dis:720,count:1,atk:0,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6101:{uuid: 6101,path: "6101",type: 91,level: 1,name: "初级药水",sp_name:"",dis:720,count:1,atk:0,hp:30,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6102:{uuid: 6102,path: "6102",type: 93,level: 3,name: "高级药水",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6103:{uuid: 6103,path: "6103",type: 94,level: 3,name: "活力药水",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6210:{uuid: 6210,path: "6210",type: 92,level: 3,name: "普通攻击石",sp_name:"",dis:720,count:1,atk:0,hp:30,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6211:{uuid: 6211,path: "6211",type: 93,level: 4,name: "特效攻击石",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6212:{uuid: 6212,path: "6212",type: 94,level: 4,name: "精炼攻击石",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6213:{uuid: 6213,path: "6213",type: 92,level: 3,name: "普通生命石",sp_name:"",dis:720,count:1,atk:0,hp:30,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6214:{uuid: 6214,path: "6214",type: 93,level: 4,name: "特效生命石",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6215:{uuid: 6215,path: "6215",type: 94,level: 4,name: "精炼生命石",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6216:{uuid: 6216,path: "6216",type: 92,level: 3,name: "普通全能石",sp_name:"",dis:720,count:1,atk:0,hp:30,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6217:{uuid: 6217,path: "6217",type: 93,level: 4,name: "特效全能石",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6218:{uuid: 6218,path: "6218",type: 94,level: 4,name: "精炼全能石",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
} }
export const AllItems={ export const AllItems={
6001:{uuid: 6001,path: "6001",type: 92,level: 1,name: "单手剑",sp_name:"",dis:720,count:1,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6002:{uuid: 6002,path: "6002",type: 95,level: 3,name: "武器库",sp_name:"",dis:720,count:1,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6003:{uuid: 6003,path: "6003",type: 92,level: 1,name: "木盾",sp_name:"",dis:720,count:1,atk:0,hp:0,shield:0,sd:10,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6004:{uuid: 6004,path: "6004",type: 95,level: 3,name: "钢盾",sp_name:"",dis:720,count:1,atk:0,hp:0,shield:0,sd:10,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6101:{uuid: 6101,path: "6101",type: 92,level: 1,name: "初级治疗药水",sp_name:"",dis:720,count:1,atk:0,hp:30,shield:0,sd:10,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
6102:{uuid: 6102,path: "6102",type: 95,level: 3,name: "高级治疗药水",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:10,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,},
} }

View File

@@ -44,7 +44,7 @@ export class MapViewComp extends CCComp {
load_role(){ load_role(){
let role = ecs.getEntity<Role>(Role); let role = ecs.getEntity<Role>(Role);
let pos = v3(BoxSet.HERO_START-50,BoxSet.GAME_LINE) let pos = v3(BoxSet.HERO_START-50,BoxSet.GAME_LINE)
role.load(pos,108,"Character07") role.load(pos,108)
smc.Role=role smc.Role=role
} }
load_data(){ load_data(){

View File

@@ -11,6 +11,7 @@ import { BoxSet, GameSet } from "../common/config/BoxSet";
import { smc } from "../common/SingletonModuleComp"; import { smc } from "../common/SingletonModuleComp";
import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops"; import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops";
import { HeroModelComp } from "./HeroModelComp"; import { HeroModelComp } from "./HeroModelComp";
import { RandomManager } from "../../../../extensions/oops-plugin-framework/assets/core/common/random/RandomManager";
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
/** 视图层对象 */ /** 视图层对象 */
@@ -50,7 +51,7 @@ export class CSkillComp extends CCComp {
if(smc.skills[this.skill_uuid].type == 1){ if(smc.skills[this.skill_uuid].type == 1){
this.shoot() this.shoot()
} }
if(smc.skills[this.skill_uuid].type == 9){ if(smc.skills[this.skill_uuid].type > 90){
this.add_buff() this.add_buff()
} }
@@ -86,6 +87,17 @@ export class CSkillComp extends CCComp {
skill.load(pos,speed,dis,scale,this.node,this.skill_uuid,atk,angle,t_pos); skill.load(pos,speed,dis,scale,this.node,this.skill_uuid,atk,angle,t_pos);
} }
add_buff(){ add_buff(){
// 1 远距离攻击,碰撞后 结束
// 2 远距离攻击,碰撞后 持续,直到技能结束
// 3 远距离攻击,碰撞后 持续,带击退功能
// 4 双技能技能1技能结束后触发2技能
// 5: 特殊技能,触发特殊弹窗选项
// 9 buff物品
// 91: 单体buff物品加最少血临时
// 92单体buff物品随机临时
// 93: 群体buff物品
// 94role 临时buff
// 95role 永久buff
let uuid= this.skill_uuid; let uuid= this.skill_uuid;
let atk:number=smc.Role.RoleView.atk let atk:number=smc.Role.RoleView.atk
let args:any = { let args:any = {
@@ -94,19 +106,32 @@ export class CSkillComp extends CCComp {
shield:atk*GameSet.ATK_TO_SHIELD_RATIO, shield:atk*GameSet.ATK_TO_SHIELD_RATIO,
} }
let heros:any = ecs.query(ecs.allOf(HeroModelComp)); let heros:any = ecs.query(ecs.allOf(HeroModelComp));
let heros_hp:any=[] let least_hp:number=999999
let t_hero:any= null
if (heros.length > 0) { if (heros.length > 0) {
if(SkillSet[uuid].type==92){ if(SkillSet[uuid].type==92){ //随机添加buff
heros[0].MonsterBuff.add_buff(uuid,args); let i = RandomManager.instance.getRandomInt(0,heros.length-1,3)
console.log("i %%length:",i,heros.length)
heros[i].MonsterBuff.add_buff(uuid,args);
}else{ }else{
for (let i = 0; i < heros.length; i++) { for (let i = 0; i < heros.length; i++) {
let hero = heros[i]; let hero = heros[i];
if(SkillSet[uuid].type==99){ // console.log(" CSkillComp hero",hero);
if(SkillSet[uuid].type==91){ //血量最少单体
console.log(" CSkillComp hero 91",hero,least_hp,t_hero);
if(hero.MonsterView.hp < least_hp){
least_hp = hero.MonsterView.hp
t_hero = hero
}
}else{ //群体
hero.MonsterBuff.add_buff(uuid,args); hero.MonsterBuff.add_buff(uuid,args);
} }
} }
if(t_hero){ //血量最少单体
t_hero.MonsterBuff.add_buff(uuid,args);
}
} }
} }

View File

@@ -52,9 +52,9 @@ export class HeroCard extends ecs.Entity {
break; break;
case 3: case 3:
default: default:
path = "game/heros/hero_card"; path = "game/heros/item_card";
url = "game/heros/heros"; url = "game/heros/skill";
({ path: pathName, name, level } = smc.heros[uuid]); ({ path: pathName, name, level } = smc.skills[uuid]);
} }

View File

@@ -23,6 +23,7 @@ export class HeroCardViewComp extends CCComp {
pos_y:number = 0; pos_y:number = 0;
card_type:number = 1; card_type:number = 1;
card_level:number = 1; card_level:number = 1;
alive:boolean = false;
protected onLoad(): void { protected onLoad(): void {
this.node.on(NodeEventType.TOUCH_START, this.onTouchMove, this); this.node.on(NodeEventType.TOUCH_START, this.onTouchMove, this);
@@ -73,18 +74,26 @@ export class HeroCardViewComp extends CCComp {
} }
do_active(){ do_active(){
// console.log(this.node.getChildByName("active"),this.node.getChildByName("use"), this.node.getChildByName("bag")) // console.log(this.node.getChildByName("active"),this.node.getChildByName("use"), this.node.getChildByName("bag"))
let active = this.node.getChildByName("active") // let active = this.node.getChildByName("active")
// let use = this.node.getChildByName("use") // let use = this.node.getChildByName("use")
// let bag = this.node.getChildByName("bag") // let bag = this.node.getChildByName("bag")
active.active = !active.active // active.active = !active.active
// use.active = !use.active // use.active = !use.active
// bag.active = !bag.active // bag.active = !bag.active
this.alive=!this.alive
if(this.alive){
this.node.setScale(1.5,1.5,1)
}else{
this.node.setScale(1,1,0)
}
} }
no_active(){ no_active(){
let active = this.node.getChildByName("active") let active = this.node.getChildByName("active")
// let use = this.node.getChildByName("use") // let use = this.node.getChildByName("use")
// let bag = this.node.getChildByName("bag") // let bag = this.node.getChildByName("bag")
active.active = false active.active = false
this.node.setScale(1,1)
// use.active = false // use.active = false
// bag.active = false // bag.active = false
} }
@@ -122,12 +131,12 @@ export class HeroCardViewComp extends CCComp {
} }
} }
do_use_card(){ do_use_card(){
switch (this.card_type) { // 添加括号并修正语法 switch (this.card_type) {
case 1: case 1:
oops.message.dispatchEvent("do_add_hero", { uuid: this.card_uid }); // 添加分号 oops.message.dispatchEvent("do_add_hero", { uuid: this.card_uid });
break; break;
case 2: case 2:
oops.message.dispatchEvent("do_use_skill", { uuid: this.card_uid }); // 添加分号 oops.message.dispatchEvent("do_use_skill", { uuid: this.card_uid });
// console.log("do_use_skill",this.card_uid) // console.log("do_use_skill",this.card_uid)
break; break;
default: default:

View File

@@ -32,7 +32,7 @@ export default class MonsterSpineAnimator extends Component {
this.spine.setEndListener(trackEntry => { this.spine.setEndListener(trackEntry => {
var animationName = trackEntry.animation ? trackEntry.animation.name : ""; var animationName = trackEntry.animation ? trackEntry.animation.name : "";
// console.log("[track %s][animation %s] end.", trackEntry.trackIndex, animationName); // console.log("[track %s][animation %s] end.", trackEntry.trackIndex, animationName);
if (animationName == "atk" ||animationName == "magic"||animationName=="max") { if (animationName == "atk2" ||animationName == "magic"||animationName=="max") {
this.spine.setAnimation(0, "move", true); this.spine.setAnimation(0, "move", true);
} }
}); });

View File

@@ -87,6 +87,7 @@ export class MonsterViewComp extends CCComp {
} /** 视图层逻辑代码分离演示 */ } /** 视图层逻辑代码分离演示 */
start () { start () {
this.sprite = this.node.getChildByName("avatar").getChildByName("TNode").getChildByName("bb").getComponent(Sprite); this.sprite = this.node.getChildByName("avatar").getChildByName("TNode").getChildByName("bb").getComponent(Sprite);
this.node.getChildByName("top").setScale(this.scale,1);
this.orginalFlashMaterial = this.sprite.getRenderMaterial(0); this.orginalFlashMaterial = this.sprite.getRenderMaterial(0);
this.BoxRang.getComponent(BoxRangComp).box_group = this.box_group; this.BoxRang.getComponent(BoxRangComp).box_group = this.box_group;
@@ -180,7 +181,7 @@ export class MonsterViewComp extends CCComp {
this.power = 0 this.power = 0
} }
let power_progress= this.power/this.power_max; let power_progress= this.power/this.power_max;
this.node.getChildByName("power").getComponent(ProgressBar)!.progress = power_progress; this.node.getChildByName("top").getChildByName("power").getComponent(ProgressBar)!.progress = power_progress;
} }
shoot(skill_uuid:number){ shoot(skill_uuid:number){
// console.log("monster shoot"); // console.log("monster shoot");
@@ -223,7 +224,7 @@ export class MonsterViewComp extends CCComp {
} }
in_shield(){ in_shield(){
let shield_progress= this.shield/this.shield_max; let shield_progress= this.shield/this.shield_max;
this.node.getChildByName("shield").getComponent(ProgressBar)!.progress = shield_progress; this.node.getChildByName("top").getChildByName("shield").getComponent(ProgressBar)!.progress = shield_progress;
// if(this.shield <= 0){ // if(this.shield <= 0){
// this.node.getChildByName("shield").active=false // this.node.getChildByName("shield").active=false
// }else{ // }else{
@@ -245,7 +246,7 @@ export class MonsterViewComp extends CCComp {
this.hp = this.hp_max; this.hp = this.hp_max;
} }
let hp_progress= this.hp/this.hp_max; let hp_progress= this.hp/this.hp_max;
this.node.getChildByName("hp").getComponent(ProgressBar)!.progress = hp_progress; this.node.getChildByName("top").getChildByName("hp").getComponent(ProgressBar)!.progress = hp_progress;
if(this.hp <= 0){ if(this.hp <= 0){
this.dead(); this.dead();
this.is_dead = true; this.is_dead = true;

View File

@@ -17,7 +17,7 @@
"_value": true "_value": true
}, },
"skeletal-animation": { "skeletal-animation": {
"_value": false "_value": true
}, },
"3d": { "3d": {
"_value": false "_value": false
@@ -136,6 +136,7 @@
"particle-2d", "particle-2d",
"physics-2d-box2d", "physics-2d-box2d",
"profiler", "profiler",
"skeletal-animation",
"spine", "spine",
"tween", "tween",
"ui", "ui",