Commit ee678ce8 authored by limingzhe's avatar limingzhe

fix: debug

parent 006a312e
{
"ver": "1.1.2",
"uuid": "463795c7-6f6e-4d27-8bcf-27b2876e4575",
"uuid": "d5bf0364-b19a-4b66-afa8-f564d13eb46c",
"isBundle": false,
"bundleName": "",
"priority": 1,
......
{"frameRate":24,"name":"light","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"light","aabb":{"x":-730.22,"y":-554.31,"width":1479,"height":805.5},"bone":[{"name":"root","transform":{"x":-6.7051,"y":-84.9317}},{"name":"light2","parent":"root","transform":{"x":2.7633,"y":-111.7}},{"name":"light1","parent":"root","transform":{"x":1.0725,"y":-103.2}},{"name":"star","parent":"root","transform":{"x":229.2949,"y":-81.1148}},{"name":"star1","parent":"root","transform":{"x":243.9637,"y":-132.7511,"scX":0.6,"scY":0.6}},{"name":"star11","parent":"root","transform":{"x":171.9631,"y":-140.2735,"scX":1.2,"scY":1.2}},{"name":"star111","parent":"root","transform":{"x":-154.6585,"y":-140.2735,"scX":1.2,"scY":1.2}},{"name":"star2","parent":"root","transform":{"x":-112.6119,"y":-81.1148}},{"name":"star12","parent":"root","transform":{"x":-225.2377,"y":-132.7511,"scX":0.6,"scY":0.6}}],"slot":[{"blendMode":"add","name":"light1","parent":"light1"},{"name":"light2","parent":"light2"},{"blendMode":"add","name":"star","parent":"star"},{"name":"star1","parent":"star1"},{"name":"star11","parent":"star11"},{"name":"star111","parent":"star111"},{"name":"star2","parent":"star2"},{"blendMode":"add","name":"star12","parent":"star12"}],"skin":[{"slot":[{"name":"star2","display":[{"name":"star","transform":{"x":1.89,"y":5.19}}]},{"name":"star12","display":[{"name":"star","transform":{"x":1.89,"y":5.19}}]},{"name":"light1","display":[{"name":"light1","transform":{"x":14.91,"y":42.83}}]},{"name":"light2","display":[{"name":"light2","transform":{"x":11.16,"y":38.83}}]},{"name":"star","display":[{"name":"star","transform":{"x":34.28,"y":5.19}}]},{"name":"star1","display":[{"name":"star","transform":{"x":1.89,"y":5.19}}]},{"name":"star11","display":[{"name":"star","transform":{"x":1.89,"y":5.19}}]},{"name":"star111","display":[{"name":"star","transform":{"x":1.89,"y":5.19}}]}]}],"animation":[{"duration":24,"playTimes":0,"name":"newAnimation","frame":[{"duration":8},{"duration":0,"events":[{"strings":["divide"],"name":"divide","bone":"root"}]}],"bone":[{"name":"light2","translateFrame":[{"duration":8,"curve":[0.5,0,0.5,1],"x":2036.33},{"duration":16}]},{"name":"light1","translateFrame":[{"duration":8,"curve":[0.5,0,0.5,1],"x":-2040.72},{"duration":16}]}],"slot":[{"name":"light1","colorFrame":[{"duration":7,"tweenEasing":0,"value":{"aM":37}},{"tweenEasing":0,"value":{"aM":66}},{"duration":7,"tweenEasing":0},{"duration":9,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"light2","colorFrame":[{"duration":7,"tweenEasing":0,"value":{"aM":35}},{"tweenEasing":0,"value":{"aM":65}},{"duration":7,"tweenEasing":0},{"duration":9,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"star","colorFrame":[{"duration":7,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":9,"tweenEasing":0},{"duration":7,"value":{"aM":0}}]},{"name":"star1","colorFrame":[{"duration":7,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":8,"tweenEasing":0},{"duration":8,"value":{"aM":0}}]},{"name":"star11","colorFrame":[{"duration":7,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0,"value":{"aM":69}},{"duration":0,"value":{"aM":0}}]},{"name":"star111","colorFrame":[{"duration":7,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0},{"duration":6,"tweenEasing":0},{"duration":5,"value":{"aM":0}}]},{"name":"star2","colorFrame":[{"duration":7,"tweenEasing":0,"value":{"aM":0}},{"duration":2,"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0},{"duration":9,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"star12","colorFrame":[{"duration":7,"tweenEasing":0,"value":{"aM":0}},{"duration":2,"tweenEasing":0,"value":{"aM":0}},{"duration":4,"tweenEasing":0},{"duration":6,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]}]}],"defaultActions":[{"gotoAndPlay":"newAnimation"}],"canvas":{"width":1920,"height":1080}}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "e3166c62-c5bb-4b20-aba5-c58b54b7c4bc",
"uuid": "2a0815df-0139-4db9-bbac-532307bdb1b5",
"subMetas": {}
}
\ No newline at end of file
{"name":"light","height":2048,"SubTexture":[{"name":"light1","x":1,"height":793,"y":1,"width":1479},{"name":"light2","x":1,"height":793,"y":796,"width":1456},{"name":"star","x":1459,"height":58,"y":796,"width":58}],"imagePath":"light_tex.png","width":2048}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "e277ebcc-5165-4965-a81f-b9a19d78c759",
"uuid": "ed296292-282e-48cf-bdfa-e1c99e0d03ee",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8db7ec89-fee4-4bde-aa32-c8f042b9de8a",
"uuid": "b77db0cd-56d3-4490-9adc-3c4f64d55a4b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 64,
"height": 64,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"icon_right_tex": {
"light_tex": {
"ver": "1.0.4",
"uuid": "7486305c-e40b-4260-91ca-c42c4bae18a7",
"rawTextureUuid": "8db7ec89-fee4-4bde-aa32-c8f042b9de8a",
"uuid": "2b24af6a-d427-40be-88f6-2b9e31f77640",
"rawTextureUuid": "b77db0cd-56d3-4490-9adc-3c4f64d55a4b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -7.5,
"offsetY": 11,
"offsetX": -265,
"offsetY": 229,
"trimX": 1,
"trimY": 1,
"width": 47,
"height": 40,
"rawWidth": 64,
"rawHeight": 64,
"width": 1516,
"height": 1588,
"rawWidth": 2048,
"rawHeight": 2048,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{"frameRate":24,"name":"icon_right","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"armatureName","aabb":{"x":-23,"y":-51,"width":47,"height":40},"bone":[{"name":"root"},{"length":29,"name":"心","parent":"root","transform":{"y":-31}}],"slot":[{"name":"心","parent":"心"}],"skin":[{"slot":[{"name":"心","display":[{"name":"心","transform":{"x":0.5}}]}]}],"animation":[{"duration":30,"playTimes":0,"name":"newAnimation","bone":[{"name":"心","scaleFrame":[{"duration":30,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":0}]}],"slot":[{"name":"心","colorFrame":[{"duration":20,"tweenEasing":0},{"duration":10,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]}]}],"defaultActions":[{"gotoAndPlay":"newAnimation"}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "b1e60dd4-e8be-4e07-90be-75457ef88ccd",
"subMetas": {}
}
\ No newline at end of file
{"name":"icon_right","height":64,"SubTexture":[{"name":"心","x":1,"height":40,"y":1,"width":47}],"imagePath":"icon_right_tex.png","width":64}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "1e605600-36b0-430a-b7f9-6d6d1328bb4a",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"icon_wrong","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"armatureName","aabb":{"x":-29,"y":-56,"width":59,"height":52},"bone":[{"name":"root"},{"length":21,"name":"乌云","parent":"root","transform":{"y":-38.5,"skX":2.6507,"skY":2.6507}},{"length":7,"name":"雨滴2","parent":"root","transform":{"x":-7.95,"y":-20.9,"skX":-90,"skY":-90}},{"length":7,"name":"雨滴4","parent":"root","transform":{"x":8.3,"y":-17.25,"skX":-90,"skY":-90}},{"length":8,"name":"雨滴3","parent":"root","transform":{"x":22.25,"y":-9.65,"skX":-87.5853,"skY":-87.5853}},{"length":7,"name":"雨滴1","parent":"root","transform":{"x":-21.2,"y":-8.95,"skX":-90,"skY":-90}}],"slot":[{"name":"乌云","parent":"乌云"},{"name":"雨滴1","parent":"雨滴1"},{"name":"雨滴2","parent":"雨滴2"},{"name":"雨滴3","parent":"雨滴3"},{"name":"雨滴4","parent":"雨滴4"}],"skin":[{"slot":[{"name":"雨滴4","display":[{"name":"雨滴4","transform":{"x":2.25,"y":0.2,"skX":90,"skY":90}}]},{"name":"雨滴3","display":[{"name":"雨滴3","transform":{"x":1.86,"y":0.17,"skX":87.59,"skY":87.59}}]},{"name":"乌云","display":[{"name":"乌云","transform":{"x":0.36,"y":-3.02,"skX":-2.65,"skY":-2.65}}]},{"name":"雨滴1","display":[{"name":"雨滴1","transform":{"x":1.55,"y":0.7,"skX":90,"skY":90}}]},{"name":"雨滴2","display":[{"name":"雨滴2","transform":{"x":2.6,"y":-0.55,"skX":90,"skY":90}}]}]}],"animation":[{"duration":24,"playTimes":0,"name":"newAnimation","bone":[{"name":"雨滴2","translateFrame":[{"duration":8,"tweenEasing":0,"y":-13.29},{"tweenEasing":0,"y":13.14},{"tweenEasing":0,"y":-13.29},{"duration":8,"tweenEasing":0,"y":-13.29},{"tweenEasing":0,"y":13.14},{"duration":5,"y":-13.29}]},{"name":"雨滴4","translateFrame":[{"duration":3,"tweenEasing":0,"y":-17.52},{"duration":7,"tweenEasing":0,"y":-17.52},{"tweenEasing":0,"y":7.22},{"tweenEasing":0,"y":10.76},{"tweenEasing":0,"y":-17.52},{"duration":8,"tweenEasing":0,"y":-17.52},{"tweenEasing":0,"y":10.76},{"duration":2,"y":-17.52}]},{"name":"雨滴3","translateFrame":[{"duration":2,"tweenEasing":0,"x":-0.92,"y":-4.86},{"tweenEasing":0,"x":-0.92,"y":1.21},{"duration":5,"tweenEasing":0,"x":-0.92,"y":-23.04},{"duration":2,"tweenEasing":0,"x":-0.92,"y":-23.04},{"duration":6,"tweenEasing":0,"x":-0.92,"y":-16.98},{"tweenEasing":0,"x":-0.92,"y":1.21},{"tweenEasing":0,"x":-0.92,"y":-23.04},{"duration":6,"tweenEasing":0,"x":-0.92,"y":-23.04},{"duration":0,"x":-0.92,"y":-4.86}]},{"name":"雨滴1","translateFrame":[{"tweenEasing":0,"y":-0.44},{"tweenEasing":0,"y":3.03},{"duration":5,"tweenEasing":0,"y":-23.48},{"duration":3,"tweenEasing":0,"y":-23.48},{"duration":5,"tweenEasing":0,"y":-14.35},{"tweenEasing":0,"y":3.03},{"tweenEasing":0,"y":-23.48},{"duration":7,"tweenEasing":0,"y":-23.48},{"duration":0,"y":-0.44}]}]}],"defaultActions":[{"gotoAndPlay":"newAnimation"}]}]}
\ No newline at end of file
{"name":"icon_wrong","imagePath":"icon_wrong_tex.png","SubTexture":[{"name":"乌云","x":1,"height":29,"y":1,"width":59},{"name":"雨滴1","x":10,"height":13,"y":47,"width":7},{"name":"雨滴2","x":10,"height":13,"y":32,"width":7},{"name":"雨滴3","x":1,"height":13,"y":47,"width":7},{"name":"雨滴4","x":1,"height":13,"y":32,"width":7}],"height":64,"width":64}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "89d6efdf-ad83-4177-872a-8a1ae5be47d1",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "5990fb4d-9fee-4010-8ba6-f63d79a1c487",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 64,
"height": 64,
"platformSettings": {},
"subMetas": {
"icon_wrong_tex": {
"ver": "1.0.4",
"uuid": "5a5ae385-31fd-40ba-a6d7-6b39c3f9cc8b",
"rawTextureUuid": "5990fb4d-9fee-4010-8ba6-f63d79a1c487",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1.5,
"offsetY": 1.5,
"trimX": 1,
"trimY": 1,
"width": 59,
"height": 59,
"rawWidth": 64,
"rawHeight": 64,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -17,10 +17,10 @@
"__id__": 2
},
{
"__id__": 58
"__id__": 64
},
{
"__id__": 79
"__id__": 85
}
],
"_active": false,
......@@ -90,13 +90,13 @@
"_active": true,
"_components": [
{
"__id__": 55
"__id__": 61
},
{
"__id__": 56
"__id__": 62
},
{
"__id__": 57
"__id__": 63
}
],
"_prefab": null,
......@@ -353,7 +353,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "7d4c6dae-4286-4830-8e02-4797402738e3"
"__uuid__": "08a7964f-f67b-4206-a299-ba81cb739cd7"
},
"_type": 0,
"_sizeMode": 1,
......@@ -475,13 +475,13 @@
"__id__": 11
},
{
"__id__": 32
"__id__": 36
},
{
"__id__": 37
"__id__": 41
},
{
"__id__": 54
"__id__": 58
}
],
"_active": false,
......@@ -571,6 +571,12 @@
},
{
"__id__": 30
},
{
"__id__": 32
},
{
"__id__": 34
}
],
"_active": true,
......@@ -625,7 +631,7 @@
},
{
"__type__": "cc.Node",
"_name": "wrong",
"_name": "bg_star",
"_objFlags": 0,
"_parent": {
"__id__": 11
......@@ -646,6 +652,186 @@
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 461,
"height": 466
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "aa0fYwUZlK65LQollqaUGd"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f0055607-24ff-45a8-8a21-98b77f81fb3e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "30zRJJDb9OzKbf75LoEf3G"
},
{
"__type__": "cc.Node",
"_name": "bg_2",
"_objFlags": 0,
"_parent": {
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1920,
"height": 1080
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "20nJD7Ux9JOqD0ltnapM2u"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "08a7964f-f67b-4206-a299-ba81cb739cd7"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "41K7Re6u1LoYPQ8KwET5d1"
},
{
"__type__": "cc.Node",
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 209,
......@@ -690,7 +876,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
"__id__": 16
},
"_enabled": true,
"_materials": [],
......@@ -724,7 +910,7 @@
"_active": true,
"_components": [
{
"__id__": 15
"__id__": 19
}
],
"_prefab": null,
......@@ -780,7 +966,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
"__id__": 18
},
"_enabled": true,
"_materials": [],
......@@ -814,7 +1000,7 @@
"_active": true,
"_components": [
{
"__id__": 17
"__id__": 21
}
],
"_prefab": null,
......@@ -870,7 +1056,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
"__id__": 20
},
"_enabled": true,
"_materials": [],
......@@ -904,7 +1090,7 @@
"_active": true,
"_components": [
{
"__id__": 19
"__id__": 23
}
],
"_prefab": null,
......@@ -960,7 +1146,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
"__id__": 22
},
"_enabled": true,
"_materials": [
......@@ -998,7 +1184,7 @@
"_active": true,
"_components": [
{
"__id__": 21
"__id__": 25
}
],
"_prefab": null,
......@@ -1054,7 +1240,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
"__id__": 24
},
"_enabled": true,
"_materials": [
......@@ -1092,7 +1278,7 @@
"_active": true,
"_components": [
{
"__id__": 23
"__id__": 27
}
],
"_prefab": null,
......@@ -1148,7 +1334,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
"__id__": 26
},
"_enabled": true,
"_materials": [
......@@ -1186,7 +1372,7 @@
"_active": true,
"_components": [
{
"__id__": 25
"__id__": 29
}
],
"_prefab": null,
......@@ -1242,7 +1428,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
"__id__": 28
},
"_enabled": true,
"_materials": [
......@@ -1280,7 +1466,7 @@
"_active": true,
"_components": [
{
"__id__": 27
"__id__": 31
}
],
"_prefab": null,
......@@ -1336,7 +1522,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
"__id__": 30
},
"_enabled": true,
"_materials": [
......@@ -1374,7 +1560,7 @@
"_active": true,
"_components": [
{
"__id__": 29
"__id__": 33
}
],
"_prefab": null,
......@@ -1430,7 +1616,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
"__id__": 32
},
"_enabled": true,
"_materials": [
......@@ -1468,7 +1654,7 @@
"_active": true,
"_components": [
{
"__id__": 31
"__id__": 35
}
],
"_prefab": null,
......@@ -1524,7 +1710,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
"__id__": 34
},
"_enabled": true,
"_materials": [],
......@@ -1556,10 +1742,10 @@
},
"_children": [
{
"__id__": 33
"__id__": 37
},
{
"__id__": 35
"__id__": 39
}
],
"_active": true,
......@@ -1617,13 +1803,13 @@
"_name": "BiaoZhunShouxieTi",
"_objFlags": 0,
"_parent": {
"__id__": 32
"__id__": 36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 34
"__id__": 38
}
],
"_prefab": null,
......@@ -1679,7 +1865,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
"__id__": 37
},
"_enabled": true,
"_materials": [
......@@ -1714,13 +1900,13 @@
"_name": "MMTB",
"_objFlags": 0,
"_parent": {
"__id__": 32
"__id__": 36
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 36
"__id__": 40
}
],
"_prefab": null,
......@@ -1776,7 +1962,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
"__id__": 39
},
"_enabled": true,
"_materials": [],
......@@ -1810,12 +1996,6 @@
"__id__": 10
},
"_children": [
{
"__id__": 38
},
{
"__id__": 40
},
{
"__id__": 42
},
......@@ -1833,6 +2013,12 @@
},
{
"__id__": 52
},
{
"__id__": 54
},
{
"__id__": 56
}
],
"_active": true,
......@@ -1890,13 +2076,13 @@
"_name": "begin_tip",
"_objFlags": 0,
"_parent": {
"__id__": 37
"__id__": 41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 39
"__id__": 43
}
],
"_prefab": null,
......@@ -1952,7 +2138,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 38
"__id__": 42
},
"_enabled": true,
"_clip": {
......@@ -1971,13 +2157,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 37
"__id__": 41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 41
"__id__": 45
}
],
"_prefab": null,
......@@ -2033,7 +2219,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
"__id__": 44
},
"_enabled": true,
"_clip": {
......@@ -2052,13 +2238,13 @@
"_name": "select",
"_objFlags": 0,
"_parent": {
"__id__": 37
"__id__": 41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 43
"__id__": 47
}
],
"_prefab": null,
......@@ -2114,7 +2300,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
"__id__": 46
},
"_enabled": true,
"_clip": null,
......@@ -2131,13 +2317,13 @@
"_name": "star_count",
"_objFlags": 0,
"_parent": {
"__id__": 37
"__id__": 41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 45
"__id__": 49
}
],
"_prefab": null,
......@@ -2193,7 +2379,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
"__id__": 48
},
"_enabled": true,
"_clip": null,
......@@ -2210,13 +2396,13 @@
"_name": "finish",
"_objFlags": 0,
"_parent": {
"__id__": 37
"__id__": 41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 47
"__id__": 51
}
],
"_prefab": null,
......@@ -2272,7 +2458,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
"__id__": 50
},
"_enabled": true,
"_clip": null,
......@@ -2289,13 +2475,13 @@
"_name": "big_star",
"_objFlags": 0,
"_parent": {
"__id__": 37
"__id__": 41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 49
"__id__": 53
}
],
"_prefab": null,
......@@ -2351,7 +2537,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
"__id__": 52
},
"_enabled": true,
"_clip": null,
......@@ -2368,13 +2554,13 @@
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 37
"__id__": 41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 51
"__id__": 55
}
],
"_prefab": null,
......@@ -2430,7 +2616,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
"__id__": 54
},
"_enabled": true,
"_clip": {
......@@ -2449,13 +2635,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 37
"__id__": 41
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 53
"__id__": 57
}
],
"_prefab": null,
......@@ -2511,7 +2697,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
"__id__": 56
},
"_enabled": true,
"_clip": {
......@@ -2532,7 +2718,11 @@
"_parent": {
"__id__": 10
},
"_children": [],
"_children": [
{
"__id__": 59
}
],
"_active": true,
"_components": [],
"_prefab": null,
......@@ -2583,6 +2773,104 @@
"groupIndex": 0,
"_id": "9f7b/MRIBNGoktNEBcoCil"
},
{
"__type__": "cc.Node",
"_name": "light",
"_objFlags": 0,
"_parent": {
"__id__": 58
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 60
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1479,
"height": 805.5
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "642xlLgHlAH7Ln+y/DDTE+"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
},
"_enabled": true,
"_materials": [],
"_armatureName": "light",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "2a0815df-0139-4db9-bbac-532307bdb1b5#ed296292-282e-48cf-bdfa-e1c99e0d03ee",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "2a0815df-0139-4db9-bbac-532307bdb1b5"
},
"_N$dragonAtlasAsset": {
"__uuid__": "ed296292-282e-48cf-bdfa-e1c99e0d03ee"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "b70BVS6dxJVJcKZ+ULLig6"
},
{
"__type__": "cc.Canvas",
"_name": "",
......@@ -2648,19 +2936,19 @@
},
"_children": [
{
"__id__": 59
"__id__": 65
},
{
"__id__": 63
"__id__": 69
},
{
"__id__": 67
"__id__": 73
},
{
"__id__": 71
"__id__": 77
},
{
"__id__": 75
"__id__": 81
}
],
"_active": false,
......@@ -2718,11 +3006,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 58
"__id__": 64
},
"_children": [
{
"__id__": 60
"__id__": 66
}
],
"_active": true,
......@@ -2780,11 +3068,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 59
"__id__": 65
},
"_children": [
{
"__id__": 61
"__id__": 67
}
],
"_active": true,
......@@ -2842,13 +3130,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 60
"__id__": 66
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 62
"__id__": 68
}
],
"_prefab": null,
......@@ -2904,7 +3192,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
"__id__": 67
},
"_enabled": true,
"_materials": [
......@@ -2934,11 +3222,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 58
"__id__": 64
},
"_children": [
{
"__id__": 64
"__id__": 70
}
],
"_active": true,
......@@ -2996,11 +3284,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 63
"__id__": 69
},
"_children": [
{
"__id__": 65
"__id__": 71
}
],
"_active": true,
......@@ -3058,13 +3346,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 64
"__id__": 70
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 66
"__id__": 72
}
],
"_prefab": null,
......@@ -3120,7 +3408,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
"__id__": 71
},
"_enabled": true,
"_materials": [
......@@ -3150,11 +3438,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 58
"__id__": 64
},
"_children": [
{
"__id__": 68
"__id__": 74
}
],
"_active": true,
......@@ -3212,11 +3500,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 67
"__id__": 73
},
"_children": [
{
"__id__": 69
"__id__": 75
}
],
"_active": true,
......@@ -3274,13 +3562,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 68
"__id__": 74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 70
"__id__": 76
}
],
"_prefab": null,
......@@ -3336,7 +3624,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 69
"__id__": 75
},
"_enabled": true,
"_materials": [
......@@ -3366,11 +3654,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 58
"__id__": 64
},
"_children": [
{
"__id__": 72
"__id__": 78
}
],
"_active": true,
......@@ -3428,11 +3716,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 71
"__id__": 77
},
"_children": [
{
"__id__": 73
"__id__": 79
}
],
"_active": true,
......@@ -3490,13 +3778,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 72
"__id__": 78
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 74
"__id__": 80
}
],
"_prefab": null,
......@@ -3552,7 +3840,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
"__id__": 79
},
"_enabled": true,
"_materials": [
......@@ -3582,11 +3870,11 @@
"_name": "quadBase",
"_objFlags": 0,
"_parent": {
"__id__": 58
"__id__": 64
},
"_children": [
{
"__id__": 76
"__id__": 82
}
],
"_active": true,
......@@ -3644,11 +3932,11 @@
"_name": "quad",
"_objFlags": 0,
"_parent": {
"__id__": 75
"__id__": 81
},
"_children": [
{
"__id__": 77
"__id__": 83
}
],
"_active": true,
......@@ -3706,13 +3994,13 @@
"_name": "paper",
"_objFlags": 0,
"_parent": {
"__id__": 76
"__id__": 82
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 78
"__id__": 84
}
],
"_prefab": null,
......@@ -3768,7 +4056,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
"__id__": 83
},
"_enabled": true,
"_materials": [
......@@ -3802,28 +4090,28 @@
},
"_children": [
{
"__id__": 80
"__id__": 86
},
{
"__id__": 82
"__id__": 88
},
{
"__id__": 84
"__id__": 90
},
{
"__id__": 86
"__id__": 92
},
{
"__id__": 88
"__id__": 94
},
{
"__id__": 90
"__id__": 96
},
{
"__id__": 92
"__id__": 98
},
{
"__id__": 94
"__id__": 100
}
],
"_active": false,
......@@ -3881,13 +4169,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 85
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 81
"__id__": 87
}
],
"_prefab": null,
......@@ -3943,7 +4231,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 80
"__id__": 86
},
"_enabled": true,
"_materials": [
......@@ -3973,13 +4261,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 85
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 83
"__id__": 89
}
],
"_prefab": null,
......@@ -4035,7 +4323,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 82
"__id__": 88
},
"_enabled": true,
"_materials": [
......@@ -4065,13 +4353,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 85
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 85
"__id__": 91
}
],
"_prefab": null,
......@@ -4127,7 +4415,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
"__id__": 90
},
"_enabled": true,
"_materials": [
......@@ -4157,13 +4445,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 85
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 87
"__id__": 93
}
],
"_prefab": null,
......@@ -4219,7 +4507,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 86
"__id__": 92
},
"_enabled": true,
"_materials": [
......@@ -4249,13 +4537,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 85
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 89
"__id__": 95
}
],
"_prefab": null,
......@@ -4311,7 +4599,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 88
"__id__": 94
},
"_enabled": true,
"_materials": [
......@@ -4341,13 +4629,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 85
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 91
"__id__": 97
}
],
"_prefab": null,
......@@ -4403,7 +4691,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 90
"__id__": 96
},
"_enabled": true,
"_materials": [
......@@ -4433,13 +4721,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 85
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 93
"__id__": 99
}
],
"_prefab": null,
......@@ -4495,7 +4783,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 92
"__id__": 98
},
"_enabled": true,
"_materials": [
......@@ -4525,13 +4813,13 @@
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 85
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 95
"__id__": 101
}
],
"_prefab": null,
......@@ -4587,7 +4875,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 94
"__id__": 100
},
"_enabled": true,
"_materials": [
......
......@@ -6,7 +6,7 @@
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
// import { getSprNode } from "./util";
import { getSprNode, playAudioByUrl, showBtnAnima, getScaleRateBy2Node, localPosTolocalPos, randomSortByArr, loadDragonBones, playAudio, showTrebleFirework, getSprNodeByUrl, setSprNodeMaxLen, delayCall, asyncDelay, RandomInt, exchangeNodePos, onHomeworkFinish, callNetworkApi, loopLog} from "../script/tx_find_match_util";
import { getSprNode, playAudioByUrl, showBtnAnima, getScaleRateBy2Node, localPosTolocalPos, randomSortByArr, getAngleByPos, playAudio, showTrebleFirework, getSprNodeByUrl, setSprNodeMaxLen, delayCall, asyncDelay, RandomInt, exchangeNodePos, onHomeworkFinish, callNetworkApi, loopLog, getPosByAngle} from "../script/tx_find_match_util";
cc.Class({
extends: cc.Component,
......@@ -981,6 +981,8 @@ cc.Class({
initData() {
console.log(' in initData');
this.starPoolArr = [];
this.CHECK_TYPE_LINE = 'LINE';
this.CHECK_TYPE_WRITE = 'WRITE';
......@@ -1286,9 +1288,7 @@ cc.Class({
playAudio(this.btnClip, () => {
})
},
......@@ -1307,6 +1307,11 @@ cc.Class({
cc.tween(quesBg)
.by(time / 8, {y: - 30}, {easing:"sineInOut"})
.call(() => {
playAudio(this.btnClip, () => {
})
})
.to(time / 3, {y: targetY}, {easing:"sineInOut"})
// .to(time / 8, {y: targetY + 10}, {easing:"sineInOut"})
......@@ -1363,6 +1368,93 @@ cc.Class({
},
showBgStar() {
this.particleLayer = new cc.Node();
this.canvas.addChild( this.particleLayer );
this.playOneStar();
},
getStarParticle() {
let star
if (this.starPoolArr.length == 0) {
star = getSprNode("bg_star");
this.particleLayer.addChild(star);
} else {
star = this.starPoolArr.pop();
}
return star;
},
playOneStar() {
const star = this.getStarParticle();
const pos = this.getParticlePos();
const scale = this.getParticleScale();
const rSpeed = this.getParticleRSpeed();
const angle = this.getPatticleAngle();
star.scale = scale;
star.angle = angle;
const len = Math.max(star.width, star.height);
star.x = pos.x - len / 2 * star.scale;
star.y = pos.y;
const edgeLen = Math.max(this.canvas.width, this.canvas.height);
const targetAngle = getAngleByPos(0, 0, this.canvas.width, -this.canvas.height);
const targetPos = getPosByAngle(targetAngle, edgeLen*2);
star.opacity = 255;
const time = 60;
cc.tween(star)
.by(time, {x: targetPos.x, y: targetPos.y, rotation: rSpeed * edgeLen})
.call(() => {
this.starPoolArr.push(star);
star.opacity = 0;
})
.start();
delayCall(5, () => {
this.playOneStar();
})
},
getPatticleAngle() {
return Math.random() * 360;
},
getParticleRSpeed() {
return 0.1 + Math.random() * 0.3;
},
getParticleScale() {
return 0.3 + Math.random() * 0.7;
},
getParticlePos() {
let x = -this.canvas.width / 2;
let y;
if (this.lastPY != null) {
if (this.lastPY < -this.canvas.height / 2) {
y = this.canvas.height / 2 - Math.random() * this.canvas.height;
} else {
y = -this.canvas.height / 2 - Math.random() * this.canvas.height;
}
} else {
y = this.canvas.height / 2 - Math.random() * this.canvas.height * 2;
}
this.lastPY = y;
return {x, y};
},
initBg() {
......@@ -1378,11 +1470,13 @@ cc.Class({
const bg = cc.find("Canvas/bg");
bg.scale = this._mapScaleMax;
this.showBgStar();
const quesBg = cc.find("Canvas/ques_bg");
quesBg.y = this.canvas.height / 2;
quesBg.baseY = quesBg.y;
this.quesBg = quesBg;
quesBg.zIndex = 5;
if (this.isVertical) {
quesBg.scale *= 1.5;
......@@ -1396,6 +1490,7 @@ cc.Class({
labelNode.color = cc.Color.fromHEX(new cc.Color(), '#2e4190')
labelNode.y = -quesBg.height * quesBg.anchorY + 250;
this.quesLabel = labelNode.getComponent(cc.Label);
labelNode.zIndex = 5;
quesBg.addChild(labelNode);
......@@ -1706,18 +1801,28 @@ cc.Class({
})
},
initRightIcon() {
const rightIcon = getSprNode("right");
this.canvas.addChild(rightIcon, 5);
initRightAnim() {
// const rightIcon = getSprNode("right");
// this.canvas.addChild(rightIcon, 5);
// const pos = exchangeNodePos(this.canvas, this.quesLabel.node);
// rightIcon.x = pos.x;
// rightIcon.y = pos.y - 20;
// this.rightIcon = rightIcon;
const rightAnimNode = cc.instantiate( cc.find("Canvas/res/anim/light") );
const pos = exchangeNodePos(this.canvas, this.quesLabel.node);
rightIcon.x = pos.x;
rightIcon.y = pos.y - 20;
this.rightIcon = rightIcon;
const rightAnim = rightAnimNode.getComponent(dragonBones.ArmatureDisplay);
rightAnimNode.x = pos.x;
rightAnimNode.y = pos.y - 220;
this.canvas.addChild(rightAnimNode, 5);
this.rightAnim = rightAnim;
},
showRight(optionItem) {
console.log('show right');
if (!this.rightIcon) {
this.initRightIcon();
if (!this.rightAnim) {
this.initRightAnim();
}
// this.disappearAnim(optionItem)
......@@ -1729,13 +1834,15 @@ cc.Class({
optionItem.active = false;
})
this.rightIcon.active = true;
// this.rightIcon.active = true;
this.rightAnim.playAnimation('newAnimation', 1);
this.appearAnim(this.rightIcon, 0.3);
delayCall(0.7, () => {
this.disappearAnim(this.rightIcon, 0.3);
})
// this.appearAnim(this.rightIcon, 0.3);
// delayCall(0.7, () => {
// this.disappearAnim(this.rightIcon, 0.3);
// })
this.addScore()
......@@ -1763,9 +1870,13 @@ cc.Class({
this.scoreNumSpr.active = true;
this.scoreNumSpr.opacity = 0;
// this.scoreNumSpr.opacity = 255;
this.scoreNumSpr.x = this.rightAnim.node.x;
this.scoreNumSpr.y = this.rightAnim.node.y + 195;
// return;
this.scoreNumSpr.x = this.rightIcon.x;
this.scoreNumSpr.y = this.rightIcon.y + 25;
cc.tween(this.scoreNumSpr)
.to(0.3, {opacity: 255}, {easing: "cubicIn"})
......@@ -1829,6 +1940,7 @@ cc.Class({
this.hideCurQues(() => {
this.showCurQues();
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment