修改完成,todo 关卡设计
This commit is contained in:
@@ -840,8 +840,8 @@
|
||||
"_outlineColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 0,
|
||||
"g": 194,
|
||||
"b": 178,
|
||||
"g": 0,
|
||||
"b": 0,
|
||||
"a": 255
|
||||
},
|
||||
"_outlineWidth": 1,
|
||||
@@ -914,8 +914,8 @@
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0.5,
|
||||
"y": 0.5,
|
||||
"x": 0.25,
|
||||
"y": 0.25,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
@@ -942,8 +942,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 36,
|
||||
"height": 39
|
||||
"width": 82,
|
||||
"height": 81
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -979,7 +979,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@69993",
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@e4b0d",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
@@ -1230,8 +1230,8 @@
|
||||
"_outlineColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 0,
|
||||
"g": 194,
|
||||
"b": 178,
|
||||
"g": 0,
|
||||
"b": 0,
|
||||
"a": 255
|
||||
},
|
||||
"_outlineWidth": 1,
|
||||
@@ -1304,8 +1304,8 @@
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0.5,
|
||||
"y": 0.5,
|
||||
"x": 0.3,
|
||||
"y": 0.3,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
@@ -1332,8 +1332,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 37,
|
||||
"height": 35
|
||||
"width": 67,
|
||||
"height": 62
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -1369,7 +1369,7 @@
|
||||
"a": 255
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@ee721",
|
||||
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@01ece",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
@@ -2062,7 +2062,7 @@
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 89
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{123,178},{71,65}}</string>
|
||||
<string>{{439,1},{71,65}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -34,7 +34,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{311,57},{73,61}}</string>
|
||||
<string>{{80,137},{73,61}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -51,7 +51,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{386,57},{77,61}}</string>
|
||||
<string>{{123,74},{77,61}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -68,7 +68,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{196,180},{77,65}}</string>
|
||||
<string>{{202,1},{77,65}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -85,7 +85,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,115},{77,61}}</string>
|
||||
<string>{{281,68},{77,61}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -102,7 +102,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{226,115},{77,63}}</string>
|
||||
<string>{{360,1},{77,63}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -119,7 +119,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{139,247},{77,71}}</string>
|
||||
<string>{{123,1},{77,71}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -136,7 +136,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{218,252},{71,71}}</string>
|
||||
<string>{{1,206},{71,71}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -153,9 +153,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{70,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,1},{54,60}}</string>
|
||||
<string>{{264,202},{54,60}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>1010.png</key>
|
||||
<dict>
|
||||
@@ -170,9 +170,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{70,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{63,1},{62,54}}</string>
|
||||
<string>{{155,137},{62,54}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>1012.png</key>
|
||||
<dict>
|
||||
@@ -187,9 +187,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{70,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{127,1},{54,60}}</string>
|
||||
<string>{{320,202},{54,60}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>1013.png</key>
|
||||
<dict>
|
||||
@@ -204,9 +204,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{70,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{63,57},{56,60}}</string>
|
||||
<string>{{206,202},{56,60}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>1014.png</key>
|
||||
<dict>
|
||||
@@ -221,9 +221,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{70,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{189,1},{54,60}}</string>
|
||||
<string>{{376,195},{54,60}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>1015.png</key>
|
||||
<dict>
|
||||
@@ -238,7 +238,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{70,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{251,1},{62,54}}</string>
|
||||
<string>{{143,268},{62,54}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -255,9 +255,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{70,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{315,1},{54,60}}</string>
|
||||
<string>{{391,257},{54,60}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>1017.png</key>
|
||||
<dict>
|
||||
@@ -272,7 +272,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{70,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{125,57},{56,60}}</string>
|
||||
<string>{{267,264},{56,60}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
@@ -289,7 +289,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{70,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{187,57},{56,60}}</string>
|
||||
<string>{{329,264},{56,60}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
@@ -306,7 +306,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{70,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{249,57},{56,60}}</string>
|
||||
<string>{{447,141},{56,60}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
@@ -323,7 +323,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{70,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{377,1},{54,60}}</string>
|
||||
<string>{{432,199},{54,60}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
@@ -340,9 +340,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{70,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{439,1},{62,54}}</string>
|
||||
<string>{{349,131},{62,54}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>1022.png</key>
|
||||
<dict>
|
||||
@@ -357,9 +357,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{70,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,57},{54,60}}</string>
|
||||
<string>{{447,255},{54,60}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>2007.png</key>
|
||||
<dict>
|
||||
@@ -374,7 +374,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{120,64}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{384,120},{120,64}}</string>
|
||||
<string>{{1,1},{120,64}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -391,7 +391,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{120,64}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,178},{120,64}}</string>
|
||||
<string>{{1,67},{120,64}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -408,7 +408,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{291,255},{77,71}}</string>
|
||||
<string>{{1,133},{77,71}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -425,7 +425,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{305,120},{77,63}}</string>
|
||||
<string>{{202,68},{77,63}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -442,7 +442,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{275,185},{77,65}}</string>
|
||||
<string>{{281,1},{77,65}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -459,7 +459,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{80,115},{77,61}}</string>
|
||||
<string>{{360,66},{77,61}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -476,9 +476,9 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{159,115},{61,65}}</string>
|
||||
<string>{{143,201},{61,65}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>9002.Png</key>
|
||||
<dict>
|
||||
@@ -493,7 +493,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{370,255},{71,71}}</string>
|
||||
<string>{{439,68},{71,71}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -506,11 +506,11 @@
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{67,67}</string>
|
||||
<string>{58,58}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<string>{58,58}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{354,186},{67,67}}</string>
|
||||
<string>{{207,264},{58,58}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -527,7 +527,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{423,186},{67,67}}</string>
|
||||
<string>{{211,133},{67,67}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -544,7 +544,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,244},{67,67}}</string>
|
||||
<string>{{74,206},{67,67}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -561,7 +561,7 @@
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{77,77}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{70,245},{67,67}}</string>
|
||||
<string>{{280,133},{67,67}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
@@ -577,9 +577,9 @@
|
||||
<key>realTextureFileName</key>
|
||||
<string>items.png</string>
|
||||
<key>size</key>
|
||||
<string>{505,327}</string>
|
||||
<string>{511,323}</string>
|
||||
<key>smartupdate</key>
|
||||
<string>$TexturePacker:SmartUpdate:b24daeb72bca389cc9a40ef59de928c2:c0acb5b0ceb01113f53f548fdc14618c:9b2c40378ce3448cae3ca053079d3001$</string>
|
||||
<string>$TexturePacker:SmartUpdate:04bbd6cd0407699a1595d0e401af7d1e:24aad079ba91bf6aa5e1937f9fc6b373:9b2c40378ce3448cae3ca053079d3001$</string>
|
||||
<key>textureFileName</key>
|
||||
<string>items.png</string>
|
||||
</dict>
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 1,
|
||||
"trimY": 115,
|
||||
"trimX": 281,
|
||||
"trimY": 68,
|
||||
"width": 77,
|
||||
"height": 61,
|
||||
"rawWidth": 77,
|
||||
@@ -65,8 +65,8 @@
|
||||
"rotated": true,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 377,
|
||||
"trimY": 1,
|
||||
"trimX": 432,
|
||||
"trimY": 199,
|
||||
"width": 54,
|
||||
"height": 60,
|
||||
"rawWidth": 70,
|
||||
@@ -111,8 +111,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 1,
|
||||
"trimX": 1,
|
||||
"trimY": 244,
|
||||
"trimX": 74,
|
||||
"trimY": 206,
|
||||
"width": 67,
|
||||
"height": 67,
|
||||
"rawWidth": 77,
|
||||
@@ -157,8 +157,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 226,
|
||||
"trimY": 115,
|
||||
"trimX": 360,
|
||||
"trimY": 1,
|
||||
"width": 77,
|
||||
"height": 63,
|
||||
"rawWidth": 77,
|
||||
@@ -203,8 +203,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 123,
|
||||
"trimY": 178,
|
||||
"trimX": 439,
|
||||
"trimY": 1,
|
||||
"width": 71,
|
||||
"height": 65,
|
||||
"rawWidth": 77,
|
||||
@@ -249,8 +249,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 1,
|
||||
"trimX": 311,
|
||||
"trimY": 57,
|
||||
"trimX": 80,
|
||||
"trimY": 137,
|
||||
"width": 73,
|
||||
"height": 61,
|
||||
"rawWidth": 77,
|
||||
@@ -295,8 +295,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 386,
|
||||
"trimY": 57,
|
||||
"trimX": 123,
|
||||
"trimY": 74,
|
||||
"width": 77,
|
||||
"height": 61,
|
||||
"rawWidth": 77,
|
||||
@@ -341,8 +341,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 196,
|
||||
"trimY": 180,
|
||||
"trimX": 202,
|
||||
"trimY": 1,
|
||||
"width": 77,
|
||||
"height": 65,
|
||||
"rawWidth": 77,
|
||||
@@ -387,8 +387,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 139,
|
||||
"trimY": 247,
|
||||
"trimX": 123,
|
||||
"trimY": 1,
|
||||
"width": 77,
|
||||
"height": 71,
|
||||
"rawWidth": 77,
|
||||
@@ -433,8 +433,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 218,
|
||||
"trimY": 252,
|
||||
"trimX": 1,
|
||||
"trimY": 206,
|
||||
"width": 71,
|
||||
"height": 71,
|
||||
"rawWidth": 77,
|
||||
@@ -476,11 +476,11 @@
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": true,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 1,
|
||||
"trimY": 1,
|
||||
"trimX": 264,
|
||||
"trimY": 202,
|
||||
"width": 54,
|
||||
"height": 60,
|
||||
"rawWidth": 70,
|
||||
@@ -522,11 +522,11 @@
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"rotated": true,
|
||||
"offsetX": 0,
|
||||
"offsetY": -2,
|
||||
"trimX": 63,
|
||||
"trimY": 1,
|
||||
"trimX": 155,
|
||||
"trimY": 137,
|
||||
"width": 62,
|
||||
"height": 54,
|
||||
"rawWidth": 70,
|
||||
@@ -568,11 +568,11 @@
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": true,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": -1,
|
||||
"trimX": 127,
|
||||
"trimY": 1,
|
||||
"trimX": 320,
|
||||
"trimY": 202,
|
||||
"width": 54,
|
||||
"height": 60,
|
||||
"rawWidth": 70,
|
||||
@@ -614,11 +614,11 @@
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": true,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 1,
|
||||
"trimX": 63,
|
||||
"trimY": 57,
|
||||
"trimX": 206,
|
||||
"trimY": 202,
|
||||
"width": 56,
|
||||
"height": 60,
|
||||
"rawWidth": 70,
|
||||
@@ -660,11 +660,11 @@
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": true,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 189,
|
||||
"trimY": 1,
|
||||
"trimX": 376,
|
||||
"trimY": 195,
|
||||
"width": 54,
|
||||
"height": 60,
|
||||
"rawWidth": 70,
|
||||
@@ -709,8 +709,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": -2,
|
||||
"trimX": 251,
|
||||
"trimY": 1,
|
||||
"trimX": 143,
|
||||
"trimY": 268,
|
||||
"width": 62,
|
||||
"height": 54,
|
||||
"rawWidth": 70,
|
||||
@@ -752,11 +752,11 @@
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": true,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": -1,
|
||||
"trimX": 315,
|
||||
"trimY": 1,
|
||||
"trimX": 391,
|
||||
"trimY": 257,
|
||||
"width": 54,
|
||||
"height": 60,
|
||||
"rawWidth": 70,
|
||||
@@ -801,8 +801,8 @@
|
||||
"rotated": true,
|
||||
"offsetX": 0,
|
||||
"offsetY": 1,
|
||||
"trimX": 125,
|
||||
"trimY": 57,
|
||||
"trimX": 267,
|
||||
"trimY": 264,
|
||||
"width": 56,
|
||||
"height": 60,
|
||||
"rawWidth": 70,
|
||||
@@ -847,8 +847,8 @@
|
||||
"rotated": true,
|
||||
"offsetX": 0,
|
||||
"offsetY": 1,
|
||||
"trimX": 187,
|
||||
"trimY": 57,
|
||||
"trimX": 329,
|
||||
"trimY": 264,
|
||||
"width": 56,
|
||||
"height": 60,
|
||||
"rawWidth": 70,
|
||||
@@ -893,8 +893,8 @@
|
||||
"rotated": true,
|
||||
"offsetX": 0,
|
||||
"offsetY": 1,
|
||||
"trimX": 249,
|
||||
"trimY": 57,
|
||||
"trimX": 447,
|
||||
"trimY": 141,
|
||||
"width": 56,
|
||||
"height": 60,
|
||||
"rawWidth": 70,
|
||||
@@ -936,11 +936,11 @@
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"rotated": true,
|
||||
"offsetX": 0,
|
||||
"offsetY": -2,
|
||||
"trimX": 439,
|
||||
"trimY": 1,
|
||||
"trimX": 349,
|
||||
"trimY": 131,
|
||||
"width": 62,
|
||||
"height": 54,
|
||||
"rawWidth": 70,
|
||||
@@ -982,11 +982,11 @@
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": true,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": -1,
|
||||
"trimX": 1,
|
||||
"trimY": 57,
|
||||
"trimX": 447,
|
||||
"trimY": 255,
|
||||
"width": 54,
|
||||
"height": 60,
|
||||
"rawWidth": 70,
|
||||
@@ -1031,8 +1031,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 384,
|
||||
"trimY": 120,
|
||||
"trimX": 1,
|
||||
"trimY": 1,
|
||||
"width": 120,
|
||||
"height": 64,
|
||||
"rawWidth": 120,
|
||||
@@ -1078,7 +1078,7 @@
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 1,
|
||||
"trimY": 178,
|
||||
"trimY": 67,
|
||||
"width": 120,
|
||||
"height": 64,
|
||||
"rawWidth": 120,
|
||||
@@ -1123,8 +1123,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 291,
|
||||
"trimY": 255,
|
||||
"trimX": 1,
|
||||
"trimY": 133,
|
||||
"width": 77,
|
||||
"height": 71,
|
||||
"rawWidth": 77,
|
||||
@@ -1169,8 +1169,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 305,
|
||||
"trimY": 120,
|
||||
"trimX": 202,
|
||||
"trimY": 68,
|
||||
"width": 77,
|
||||
"height": 63,
|
||||
"rawWidth": 77,
|
||||
@@ -1215,8 +1215,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 275,
|
||||
"trimY": 185,
|
||||
"trimX": 281,
|
||||
"trimY": 1,
|
||||
"width": 77,
|
||||
"height": 65,
|
||||
"rawWidth": 77,
|
||||
@@ -1261,8 +1261,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 80,
|
||||
"trimY": 115,
|
||||
"trimX": 360,
|
||||
"trimY": 66,
|
||||
"width": 77,
|
||||
"height": 61,
|
||||
"rawWidth": 77,
|
||||
@@ -1304,11 +1304,11 @@
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": true,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 159,
|
||||
"trimY": 115,
|
||||
"trimX": 143,
|
||||
"trimY": 201,
|
||||
"width": 61,
|
||||
"height": 65,
|
||||
"rawWidth": 77,
|
||||
@@ -1353,8 +1353,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 370,
|
||||
"trimY": 255,
|
||||
"trimX": 439,
|
||||
"trimY": 68,
|
||||
"width": 71,
|
||||
"height": 71,
|
||||
"rawWidth": 77,
|
||||
@@ -1399,12 +1399,12 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 354,
|
||||
"trimY": 186,
|
||||
"width": 67,
|
||||
"height": 67,
|
||||
"rawWidth": 77,
|
||||
"rawHeight": 77,
|
||||
"trimX": 207,
|
||||
"trimY": 264,
|
||||
"width": 58,
|
||||
"height": 58,
|
||||
"rawWidth": 58,
|
||||
"rawHeight": 58,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
@@ -1445,8 +1445,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 1,
|
||||
"trimX": 423,
|
||||
"trimY": 186,
|
||||
"trimX": 211,
|
||||
"trimY": 133,
|
||||
"width": 67,
|
||||
"height": 67,
|
||||
"rawWidth": 77,
|
||||
@@ -1491,8 +1491,8 @@
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 1,
|
||||
"trimX": 70,
|
||||
"trimY": 245,
|
||||
"trimX": 280,
|
||||
"trimY": 133,
|
||||
"width": 67,
|
||||
"height": 67,
|
||||
"rawWidth": 77,
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 39 KiB |
File diff suppressed because it is too large
Load Diff
@@ -25,6 +25,6 @@ export const Items={
|
||||
1016:{uuid: 1016,path: "1016",type:1,lv:4,name: "传说生命石",info:"增加装备生命值50,成功几率50%", },
|
||||
9001:{uuid: 9001,path: "9001",type:1,lv:0,name: "金币",info:"金币不是万能的,但是没有金币是万万不能的", },
|
||||
9002:{uuid: 9002,path: "9002",type:1,lv:1,name: "叶子",info:"提升英雄等级的神奇叶子", },
|
||||
9003:{uuid: 9003,path: "9003",type:1,lv:1,name: "经验石",info:"提升英雄等级的神秘石头", },
|
||||
9003:{uuid: 9003,path: "9003",type:1,lv:1,name: "经验",info:"提升英雄等级", },
|
||||
}
|
||||
|
||||
|
||||
@@ -5,14 +5,14 @@ export const BoxDrop={
|
||||
{uuid: 9003,dropRate: 10,num_max: 500,type:0},
|
||||
],
|
||||
2:[
|
||||
{uuid: 9001,dropRate: 10,num_max: 10,type:0},
|
||||
{uuid: 9002,dropRate: 10,num_max: 10,type:0},
|
||||
{uuid: 9003,dropRate: 50,num_max: 10,type:0},
|
||||
{uuid: 5001,dropRate: 10,num_max: 10,type:0},
|
||||
{uuid: 5002,dropRate: 10,num_max: 10,type:0},
|
||||
{uuid: 5003,dropRate: 50,num_max: 10,type:0},
|
||||
],
|
||||
3:[
|
||||
{uuid: 9001,dropRate: 20,num_max: 10,type:0},
|
||||
{uuid: 9002,dropRate: 20,num_max: 10,type:0},
|
||||
{uuid: 9003,dropRate: 50,num_max: 10,type:0},
|
||||
{uuid: 5001,dropRate: 20,num_max: 10,type:0},
|
||||
{uuid: 5002,dropRate: 20,num_max: 10,type:0},
|
||||
{uuid: 5003,dropRate: 50,num_max: 10,type:0},
|
||||
],
|
||||
}
|
||||
export const BoxDropCount={
|
||||
|
||||
@@ -45,8 +45,6 @@ export class HeroHomeComp extends CCComp {
|
||||
this.role=smc.heros[uuid]
|
||||
this.hero=HeroInfo[uuid]
|
||||
console.log("hero_show",uuid)
|
||||
let tal=this.node.getChildByName("sk").getChildByName("tal");
|
||||
let sk_node= this.node.getChildByName("sk");
|
||||
let skill1 = SkillSet[this.hero.sk1[0]]
|
||||
let skill2 = SkillSet[this.hero.sk2[0]]
|
||||
var sk_path = "game/skills/skill_icon"
|
||||
@@ -59,17 +57,17 @@ export class HeroHomeComp extends CCComp {
|
||||
sprite.spriteFrame = atlas.getSpriteFrame(this.hero.path);
|
||||
});
|
||||
resources.load(sk_path, SpriteAtlas, (err: any, atlas) => {
|
||||
const sprite = this.node.getChildByName("sk").getChildByName("skicon").getChildByName("Mask").getChildByName("icon").getComponent(Sprite);
|
||||
const sprite = this.node.getChildByName("bottom").getChildByName("sk").getChildByName("skicon").getChildByName("Mask").getChildByName("icon").getComponent(Sprite);
|
||||
sprite.spriteFrame = atlas.getSpriteFrame(skill1.path);
|
||||
});
|
||||
this.node.getChildByName("sk").getChildByName("name").getComponent(Label).string = skill1.name;
|
||||
this.node.getChildByName("sk").getChildByName("info").getComponent(Label).string = skill1.info;
|
||||
this.node.getChildByName("bottom").getChildByName("sk").getChildByName("name").getComponent(Label).string = skill1.name;
|
||||
this.node.getChildByName("bottom").getChildByName("sk").getChildByName("info").getComponent(Label).string = skill1.info;
|
||||
resources.load(sk_path, SpriteAtlas, (err: any, atlas) => {
|
||||
const sprite = this.node.getChildByName("sk2").getChildByName("skicon").getChildByName("Mask").getChildByName("icon").getComponent(Sprite);
|
||||
const sprite = this.node.getChildByName("bottom").getChildByName("sk2").getChildByName("skicon").getChildByName("Mask").getChildByName("icon").getComponent(Sprite);
|
||||
sprite.spriteFrame = atlas.getSpriteFrame(skill2.path);
|
||||
});
|
||||
this.node.getChildByName("sk2").getChildByName("name").getComponent(Label).string = skill2.name;
|
||||
this.node.getChildByName("sk2").getChildByName("info").getComponent(Label).string = skill2.info;
|
||||
this.node.getChildByName("bottom").getChildByName("sk2").getChildByName("name").getComponent(Label).string = skill2.name;
|
||||
this.node.getChildByName("bottom").getChildByName("sk2").getChildByName("info").getComponent(Label).string = skill2.info;
|
||||
|
||||
// tal.getChildByName("slv1").getChildByName("val").getComponent(Label).string = this.hero.tals[0]
|
||||
// tal.getChildByName("slv2").getChildByName("val").getComponent(Label).string = this.hero.tals[1]
|
||||
@@ -116,10 +114,10 @@ export class HeroHomeComp extends CCComp {
|
||||
slvup.getChildByName("btned").active=false
|
||||
};
|
||||
if( this.role.slv==0) {
|
||||
this.node.getChildByName("call").getChildByName("cost").getChildByName("need").getComponent(Label).string = ((SlvUp[this.role.slv]-HeroInfo[this.h_uuid].slvexp)*(1+this.role.slv)).toString()
|
||||
this.node.getChildByName("call").getChildByName("cost").getChildByName("num").getComponent(Label).string = smc.heros[this.h_uuid].num.toString()
|
||||
this.node.getChildByName("call").getChildByName("cost").getChildByName("bar").getComponent(ProgressBar).progress = smc.heros[this.h_uuid].num/((SlvUp[this.role.slv]-HeroInfo[this.h_uuid].slvexp)*(1+this.role.slv))
|
||||
let hchipcomp= this.node.getChildByName("call").getChildByName("cost").getChildByName("hchip").getComponent(HChipComp)
|
||||
this.node.getChildByName("call").getChildByName("Node").getChildByName("cost").getChildByName("need").getComponent(Label).string = ((SlvUp[this.role.slv]-HeroInfo[this.h_uuid].slvexp)*(1+this.role.slv)).toString()
|
||||
this.node.getChildByName("call").getChildByName("Node").getChildByName("cost").getChildByName("num").getComponent(Label).string = smc.heros[this.h_uuid].num.toString()
|
||||
this.node.getChildByName("call").getChildByName("Node").getChildByName("cost").getChildByName("bar").getComponent(ProgressBar).progress = smc.heros[this.h_uuid].num/((SlvUp[this.role.slv]-HeroInfo[this.h_uuid].slvexp)*(1+this.role.slv))
|
||||
let hchipcomp= this.node.getChildByName("call").getChildByName("Node").getChildByName("cost").getChildByName("hchip").getComponent(HChipComp)
|
||||
hchipcomp.update_data(this.h_uuid,0)
|
||||
this.node.getChildByName("call").active=true
|
||||
}else{
|
||||
@@ -153,7 +151,7 @@ export class HeroHomeComp extends CCComp {
|
||||
let attr2 = this.node.getChildByName("attr2")
|
||||
let info = this.node.getChildByName("info")
|
||||
let lvup = this.node.getChildByName("lvup")
|
||||
let sk = this.node.getChildByName("sk")
|
||||
let sk = this.node.getChildByName("bottom").getChildByName("sk")
|
||||
let slvup = this.node.getChildByName("slvup")
|
||||
if(val < 0){
|
||||
tween(hero).to(0.2,{position:v3(0,hero.position.y)}).start()
|
||||
|
||||
@@ -28,10 +28,9 @@ export class VictoryComp extends CCComp {
|
||||
|
||||
}
|
||||
onAdded(args: any) {
|
||||
|
||||
|
||||
}
|
||||
open(){
|
||||
console.log("Victory open",smc.items,smc.heros)
|
||||
var parent = this.node.getChildByName("items")
|
||||
for (let i in smc.items) {
|
||||
if(smc.items[i].x1 > 0){
|
||||
@@ -97,13 +96,12 @@ export class VictoryComp extends CCComp {
|
||||
// }
|
||||
for (let i in smc.heros) {
|
||||
smc.heros[i].x1=0
|
||||
console.log("clear_x1",smc.heros[i].num)
|
||||
}
|
||||
let children = this.node.getChildByName("items").children
|
||||
console.log("children",children)
|
||||
for (let i in children) {
|
||||
children[i].destroy()
|
||||
}
|
||||
console.log("clear_x1",smc.items,smc.heros)
|
||||
this.node.parent.getComponent(MissionComp).to_mission_home()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user