Commit 05b2f43e authored by 范雪寒's avatar 范雪寒

feat: 画面部分基本完成

parent 27b75e0c
{"name":"right","version":"5.5","armature":[{"name":"Armature","defaultActions":[{"gotoAndPlay":"newAnimation"}],"bone":[{"name":"root","transform":{}},{"name":"1","transform":{"x":0.5052,"y":-0.1067},"parent":"root"},{"name":"十字架","transform":{"x":0.9,"skY":90,"y":-14.4,"skX":90},"parent":"root"},{"name":"盾","transform":{"x":0.6,"skY":-90.2848,"y":-0.9,"skX":-90.2848},"length":60,"parent":"root"},{"name":"星4","transform":{"x":-89.75,"y":-67.25},"parent":"root"},{"name":"星2","transform":{"x":56.45,"skY":90,"y":-88.55,"skX":90},"parent":"root"},{"name":"星3","transform":{"x":86.8,"y":48.35},"parent":"root"},{"name":"星1","transform":{"x":-45.6,"skY":45,"y":41.45,"skX":45},"parent":"root"}],"aabb":{"x":-194,"height":294,"y":-128.60037857684097,"width":384},"ik":[],"slot":[{"name":"1","color":{},"displayIndex":5,"parent":"1"},{"name":"盾","color":{},"z":1,"parent":"盾"},{"name":"十字架","color":{},"z":2,"parent":"十字架"},{"name":"星4","color":{},"z":3,"parent":"星4"},{"name":"星3","color":{},"z":4,"parent":"星3"},{"name":"星2","color":{},"z":5,"parent":"星2"},{"name":"星1","color":{},"z":6,"parent":"星1"}],"skin":[{"name":"","slot":[{"name":"星2","display":[{"name":"1/星2","transform":{"x":-0.45,"skY":-90,"y":-2.05,"skX":-90},"type":"image","path":"1/星2"}]},{"name":"1","display":[{"name":"1/1","transform":{"x":-1.0052,"y":-18.9937},"type":"image","path":"1/1"},{"name":"1/2","transform":{"x":5.4948,"y":-18.4937},"type":"image","path":"1/2"},{"name":"1/3","transform":{"x":-0.5052,"y":-15.4937},"type":"image","path":"1/3"},{"name":"1/4","transform":{"x":-3.5052,"y":-7.9937},"type":"image","path":"1/4"},{"name":"1/5","transform":{"x":-2.0052,"y":-3.9937},"type":"image","path":"1/5"},{"name":"1/6","transform":{"x":-2.5052,"y":18.5063},"type":"image","path":"1/6"}]},{"name":"盾","display":[{"name":"1/盾","transform":{"x":9.088,"skY":90.2848,"y":2.4452,"skX":90.2848},"type":"image","path":"1/盾"}]},{"name":"星1","display":[{"name":"1/星1","transform":{"x":0.1061,"skY":-45,"y":-2.1567,"skX":-45},"type":"image","path":"1/星1"}]},{"name":"十字架","display":[{"name":"1/十字架","transform":{"x":-0.1,"skY":-90,"y":-1.6,"skX":-90},"type":"image","path":"1/十字架"}]},{"name":"星4","display":[{"name":"1/星4","transform":{"x":1.75,"y":-0.75},"type":"image","path":"1/星4"}]},{"name":"星3","display":[{"name":"1/星3","transform":{"x":2.2,"y":-0.85},"type":"image","path":"1/星3"}]}]}],"frameRate":24,"type":"Armature","animation":[{"name":"newAnimation","frame":[],"bone":[{"name":"root","rotateFrame":[],"translateFrame":[],"scaleFrame":[]},{"name":"1","rotateFrame":[],"translateFrame":[{"duration":5},{"tweenEasing":0,"duration":5},{"y":48.6907,"duration":8}],"scaleFrame":[{"duration":5},{"tweenEasing":0,"duration":5},{"x":0.85,"y":0.9,"duration":8}]},{"name":"十字架","rotateFrame":[],"translateFrame":[],"scaleFrame":[{"duration":7},{"tweenEasing":0,"x":1.7,"y":1.7,"duration":3},{"duration":8}]},{"name":"盾","rotateFrame":[],"translateFrame":[],"scaleFrame":[{"duration":4},{"tweenEasing":0,"x":2.33,"y":2.33,"duration":4},{"duration":10}]},{"name":"星4","rotateFrame":[{"duration":8},{"duration":3,"tweenEasing":0},{"duration":7,"rotate":78.8649}],"translateFrame":[{"duration":8},{"tweenEasing":0,"x":46.0909,"y":26.7655,"duration":3},{"x":8.8272,"y":-5.6116,"duration":7}],"scaleFrame":[{"duration":8},{"tweenEasing":0,"x":0.55,"y":0.55,"duration":3},{"duration":7}]},{"name":"星2","rotateFrame":[{"duration":8},{"duration":3,"tweenEasing":0},{"duration":7,"rotate":-264.8158}],"translateFrame":[{"duration":8},{"tweenEasing":0,"x":-13.2109,"y":35.1361,"duration":3},{"x":29.3149,"y":10.1086,"duration":7}],"scaleFrame":[]},{"name":"星3","rotateFrame":[{"duration":8},{"duration":3,"tweenEasing":0},{"duration":7,"rotate":-99.3708}],"translateFrame":[{"duration":8},{"tweenEasing":0,"x":-56.2596,"y":-29.4195,"duration":3},{"x":-14.0823,"y":-7.1109,"duration":7}],"scaleFrame":[]},{"name":"星1","rotateFrame":[{"duration":8},{"duration":3,"tweenEasing":0},{"duration":7,"rotate":-84.1009}],"translateFrame":[{"duration":8},{"tweenEasing":0,"x":19.1715,"y":-13.9429,"duration":3},{"x":-11.224,"y":12.5835,"duration":7}],"scaleFrame":[]}],"playTimes":0,"ffd":[],"ik":[],"slot":[{"name":"1","displayFrame":[{"duration":1},{"duration":1,"value":1},{"duration":1,"value":2},{"duration":1,"value":3},{"duration":1,"value":4},{"duration":13,"value":5}],"colorFrame":[{"duration":5},{"duration":1,"tweenEasing":0},{"duration":4,"tweenEasing":0},{"duration":8,"color":{"aM":0}}]},{"name":"盾","displayFrame":[{"duration":4,"value":-1},{"duration":14}],"colorFrame":[{"duration":4},{"duration":4,"color":{"aM":13},"tweenEasing":0},{"duration":8,"tweenEasing":0},{"duration":2,"color":{"aM":0}}]},{"name":"十字架","displayFrame":[{"duration":7,"value":-1},{"duration":3},{"duration":8}],"colorFrame":[{"duration":7},{"duration":3,"color":{"aM":35},"tweenEasing":0},{"duration":6,"tweenEasing":0},{"duration":2,"color":{"aM":0}}]},{"name":"星4","displayFrame":[{"duration":8,"value":-1},{"duration":10}],"colorFrame":[{"duration":8},{"duration":3,"color":{"aM":28},"tweenEasing":0},{"duration":7,"tweenEasing":0},{"duration":0,"color":{"aM":0}}]},{"name":"星3","displayFrame":[{"duration":8,"value":-1},{"duration":10}],"colorFrame":[{"duration":8},{"duration":3,"color":{"aM":26},"tweenEasing":0},{"duration":7,"tweenEasing":0},{"duration":0,"color":{"aM":0}}]},{"name":"星2","displayFrame":[{"duration":8,"value":-1},{"duration":10}],"colorFrame":[{"duration":8},{"duration":3,"color":{"aM":18},"tweenEasing":0},{"duration":7,"tweenEasing":0},{"duration":0,"color":{"aM":0}}]},{"name":"星1","displayFrame":[{"duration":8,"value":-1},{"duration":10}],"colorFrame":[{"duration":8},{"duration":3,"color":{"aM":28},"tweenEasing":0},{"duration":7,"tweenEasing":0},{"duration":0,"color":{"aM":0}}]}],"duration":18}]}],"frameRate":24,"isGlobal":0}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "f00ffee5-b8a0-43c3-9e12-2a460784cf96",
"subMetas": {}
}
\ No newline at end of file
{"name":"right","imagePath":"right_tex.png","SubTexture":[{"name":"1/5","x":405,"height":291,"y":1,"width":399},{"name":"1/2","x":387,"height":282,"y":583,"width":364},{"name":"1/1","x":1,"height":233,"y":601,"width":301},{"name":"1/3","x":1,"height":302,"y":1,"width":402},{"name":"1/6","x":1,"height":294,"y":305,"width":384},{"name":"1/4","x":405,"height":287,"y":294,"width":396},{"name":"1/盾","x":1,"height":126,"y":836,"width":126},{"name":"1/十字架","x":304,"height":79,"y":601,"width":79},{"name":"1/星4","x":304,"height":48,"y":682,"width":48},{"name":"1/星3","x":304,"height":39,"y":778,"width":40},{"name":"1/星2","x":304,"height":44,"y":732,"width":45},{"name":"1/星1","x":346,"height":34,"y":778,"width":36}],"height":1024,"width":1024}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "2e77da60-7917-4a9a-a12b-04361666f448",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "6d153e22-f912-4cdd-87e9-7710c982ba3a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1024,
"height": 1024,
"platformSettings": {},
"subMetas": {
"right_tex": {
"ver": "1.0.4",
"uuid": "0ded7aed-dcd3-46ad-a8dc-e82ea5f49780",
"rawTextureUuid": "6d153e22-f912-4cdd-87e9-7710c982ba3a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -109.5,
"offsetY": 30.5,
"trimX": 1,
"trimY": 1,
"width": 803,
"height": 961,
"rawWidth": 1024,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -17,13 +17,19 @@
"__id__": 2
},
{
"__id__": 40
"__id__": 45
},
{
"__id__": 53
"__id__": 58
},
{
"__id__": 60
"__id__": 68
},
{
"__id__": 80
},
{
"__id__": 82
}
],
"_active": false,
......@@ -87,13 +93,13 @@
"_active": true,
"_components": [
{
"__id__": 37
"__id__": 42
},
{
"__id__": 38
"__id__": 43
},
{
"__id__": 39
"__id__": 44
}
],
"_prefab": null,
......@@ -272,10 +278,10 @@
"_active": true,
"_components": [
{
"__id__": 35
"__id__": 40
},
{
"__id__": 36
"__id__": 41
}
],
"_prefab": null,
......@@ -1520,12 +1526,15 @@
"_children": [
{
"__id__": 32
},
{
"__id__": 35
}
],
"_active": true,
"_components": [
{
"__id__": 34
"__id__": 39
}
],
"_prefab": null,
......@@ -1578,18 +1587,18 @@
},
{
"__type__": "cc.Node",
"_name": "Gun",
"_name": "GunPos",
"_objFlags": 0,
"_parent": {
"__id__": 31
},
"_children": [],
"_active": true,
"_components": [
"_children": [
{
"__id__": 33
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -1636,78 +1645,76 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "4akwWGl7BDTKhnf59PrPB8"
"_id": "5dTrSAog1EiqdNxsePONU3"
},
{
"__type__": "cc.Sprite",
"_name": "",
"__type__": "cc.Node",
"_name": "bg_water",
"_objFlags": 0,
"node": {
"_parent": {
"__id__": 32
},
"_enabled": true,
"_materials": [
"_children": [],
"_active": true,
"_components": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__id__": 34
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "46a0ad96-7c37-485a-bd82-ab24c93c70a2"
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"_contentSize": {
"__type__": "cc.Size",
"width": 238,
"height": 238
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "06E2ai+zBPwpNcFZeuoIBh"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "277770e3-f699-4696-b880-c8012c69eaf2"
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0
"y": 0,
"z": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a98fWlEH5JpK29NsroUUba"
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "e0OsqESgNL5YL99HMB+Kwz"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
"__id__": 33
},
"_enabled": true,
"_materials": [
......@@ -1718,10 +1725,10 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f9d9d756-d838-4d31-aba3-46e5ffc6e9b8"
"__uuid__": "a4a03ebc-3cd6-4904-b441-b012b4e6b71d"
},
"_type": 0,
"_sizeMode": 1,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
......@@ -1730,113 +1737,29 @@
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "97/S6HDq9MeqgmV1Zwnhbb"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 720,
"_id": "17A0y7MFRMZa6h7EBnzO0u"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_fitWidth": true,
"_fitHeight": false,
"_id": "59Cd0ovbdF4byw5sbjJDx7"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
"__type__": "4225eAWlg9IRYwHAtS39NnE",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_id": "1efsg28gpO0Izi6VsKWew7"
"_id": "0etIicbHZJ6J59UCOrkNTS"
},
{
"__type__": "cc.Node",
"_name": "StarBase",
"_name": "Gun",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 31
},
"_children": [
{
"__id__": 41
},
{
"__id__": 43
},
{
"__id__": 47
"__id__": 36
}
],
"_active": true,
"_components": [
{
"__id__": 52
"__id__": 37
},
{
"__id__": 38
}
],
"_prefab": null,
......@@ -1850,8 +1773,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 62,
"height": 66
"width": 238,
"height": 238
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -1862,8 +1785,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-548.632,
-397.426,
10,
110,
0,
0,
0,
......@@ -1885,24 +1808,20 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "15DCV85gVO/79iDEWhKkaY"
"_id": "4akwWGl7BDTKhnf59PrPB8"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_name": "Muzzle",
"_objFlags": 0,
"_parent": {
"__id__": 40
"__id__": 35
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 42
}
],
"_components": [],
"_prefab": null,
"_opacity": 100,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
......@@ -1912,9 +1831,2278 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 62,
"height": 66
},
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
115.663,
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": "c2mwhi/uFLaIaNrAlw2Cc2"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "46a0ad96-7c37-485a-bd82-ab24c93c70a2"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "06E2ai+zBPwpNcFZeuoIBh"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "72ubnvEnRDW45TNpsHlC5K"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 31
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "277770e3-f699-4696-b880-c8012c69eaf2"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a98fWlEH5JpK29NsroUUba"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f9d9d756-d838-4d31-aba3-46e5ffc6e9b8"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "97/S6HDq9MeqgmV1Zwnhbb"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 720,
"_id": "17A0y7MFRMZa6h7EBnzO0u"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_fitWidth": true,
"_fitHeight": false,
"_id": "59Cd0ovbdF4byw5sbjJDx7"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
"__type__": "4225eAWlg9IRYwHAtS39NnE",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_id": "1efsg28gpO0Izi6VsKWew7"
},
{
"__type__": "cc.Node",
"_name": "StarBase",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 46
},
{
"__id__": 48
},
{
"__id__": 52
}
],
"_active": true,
"_components": [
{
"__id__": 57
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 62,
"height": 66
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-548.632,
-397.426,
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": "15DCV85gVO/79iDEWhKkaY"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 45
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 47
}
],
"_prefab": null,
"_opacity": 100,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 62,
"height": 66
},
"_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": "f9HGAfEuFK8IdKQRKl0y3y"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0dc4b200-267c-4b62-84b2-bc11b1efa107"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b9KM/4bmxB+bmxfjQKBv7t"
},
{
"__type__": "cc.Node",
"_name": "Star",
"_objFlags": 0,
"_parent": {
"__id__": 45
},
"_children": [
{
"__id__": 49
}
],
"_active": false,
"_components": [
{
"__id__": 51
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 62,
"height": 69
},
"_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": "6388ISZn1Pvpo3KZME3u3L"
},
{
"__type__": "cc.Node",
"_name": "StarBig",
"_objFlags": 0,
"_parent": {
"__id__": 48
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 50
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 278,
"height": 275
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
-0.7071067811865475,
0.7071067811865476,
0.2,
0.2,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -90
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "6bdCSEuxxBBquaGwu6zIBC"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 49
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0e9a63a8-86de-4dd8-af76-e7ef31c6f934"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "849nEKVSNKG46IpdrYFbTR"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "1464151d-e115-4a96-9acf-443859be76eb"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "cfIfRtC7lB74dXtzWoDbjl"
},
{
"__type__": "cc.Node",
"_name": "Mask",
"_objFlags": 0,
"_parent": {
"__id__": 45
},
"_children": [
{
"__id__": 53
}
],
"_active": true,
"_components": [
{
"__id__": 55
},
{
"__id__": 56
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 62,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-33,
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": "c9zkW99NVPgqN05G98855+"
},
{
"__type__": "cc.Node",
"_name": "Star",
"_objFlags": 0,
"_parent": {
"__id__": 52
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 54
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 62,
"height": 66
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
},
"_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": "55U5IIHitOFoqJYyy2l50q"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0dc4b200-267c-4b62-84b2-bc11b1efa107"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f4/x4fG6BLwovo5Rk9pxZC"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 0,
"_segments": 64,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "58YACbBxtImL9q2XL+vOlU"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 52
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4,
"_left": 0,
"_right": 0,
"_top": -33,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "ddfhQo6A9PmJVcRhNoeFRZ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e3FlY1WOlLf5WYDMG2tY8D"
},
{
"__type__": "cc.Node",
"_name": "BallImg",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 59
},
{
"__id__": 61
},
{
"__id__": 65
}
],
"_active": true,
"_components": [
{
"__id__": 67
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 337,
"height": 265
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-895.282,
-553.661,
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": "8b8oYSo+VH1aarULSN14xC"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_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": 337,
"height": 265
},
"_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": "a1nRgJVSlDYqdHgP8TP3xU"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 59
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "56eaa174-9be9-4c47-bcb8-8db1a844cc8c"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "cefhgi0OBI/JzmkYDpE0zG"
},
{
"__type__": "cc.Node",
"_name": "Mask",
"_objFlags": 0,
"_parent": {
"__id__": 58
},
"_children": [
{
"__id__": 62
}
],
"_active": true,
"_components": [
{
"__id__": 64
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 176,
"height": 164
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
4.892,
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": "50HzolC3xILb62Jtl70g/W"
},
{
"__type__": "cc.Node",
"_name": "AnsterImg",
"_objFlags": 0,
"_parent": {
"__id__": 61
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 63
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 200
},
"_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": "5cXMEcZ35BX6usk3tvfkvu"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "dcszD0XmNM5b8RX5AjVdd0"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 1,
"_segments": 64,
"_N$alphaThreshold": 0,
"_N$inverted": false,
"_id": "c3Q45z/xRDvKfGVMNUksA0"
},
{
"__type__": "cc.Node",
"_name": "DistroyAnime",
"_objFlags": 0,
"_parent": {
"__id__": 58
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 66
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 384,
"height": 294
},
"_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": "ee5QLTfOxKbbyLNWjF4QWG"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "f00ffee5-b8a0-43c3-9e12-2a460784cf96#2e77da60-7917-4a9a-a12b-04361666f448",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "f00ffee5-b8a0-43c3-9e12-2a460784cf96"
},
"_N$dragonAtlasAsset": {
"__uuid__": "2e77da60-7917-4a9a-a12b-04361666f448"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "08p5KLohNKwpE/shB8F8gm"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "b8BkdszklPN70pKlN2Bav7"
},
{
"__type__": "cc.Node",
"_name": "BallTxt",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 69
},
{
"__id__": 71
},
{
"__id__": 77
}
],
"_active": true,
"_components": [
{
"__id__": 79
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 361,
"height": 163
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-529.374,
-633.931,
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": "681AdbUjZJ2YKCLqUFBU07"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 68
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 70
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 361,
"height": 163
},
"_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": "b3wbI1yFxG/Z6nsgaSdhKE"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 69
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e4116671-3caf-492e-8eeb-99b5356c14cd"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "92N+E4xWhHtrqVn+abm3eT"
},
{
"__type__": "cc.Node",
"_name": "Mask",
"_objFlags": 0,
"_parent": {
"__id__": 68
},
"_children": [
{
"__id__": 72
}
],
"_active": true,
"_components": [
{
"__id__": 76
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 250,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
15,
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": "85U2wHPthH9ILutd16I0Yh"
},
{
"__type__": "cc.Node",
"_name": "AnswerText",
"_objFlags": 0,
"_parent": {
"__id__": 71
},
"_children": [
{
"__id__": 73
}
],
"_active": true,
"_components": [
{
"__id__": 75
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 145.29,
"height": 63
},
"_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": "a6EHf73/RPgIAGcu33defw"
},
{
"__type__": "cc.PrivateNode",
"_name": "RICHTEXT_CHILD",
"_objFlags": 1024,
"_parent": {
"__id__": 72
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 74
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 55,
"g": 57,
"b": 123,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 145.29,
"height": 63
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-72.645,
-31.5,
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,
"showInEditor": false,
"_id": "48f3LiEXZGQ4QDVBE0KX/I"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 73
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "catgf f ",
"_N$string": "catgf f ",
"_fontSize": 50,
"_lineHeight": 50,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "68b79335-9901-4157-b5ae-be5a6745b1ad"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "d88Tt0W5ZFf4KKMnPXHe6l"
},
{
"__type__": "cc.RichText",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
},
"_enabled": true,
"_fontFamily": "Arial",
"_isSystemFontUsed": false,
"_N$string": "<color=#37397b>catgf f </color>",
"_N$horizontalAlign": 1,
"_N$fontSize": 50,
"_N$font": {
"__uuid__": "68b79335-9901-4157-b5ae-be5a6745b1ad"
},
"_N$cacheMode": 0,
"_N$maxWidth": 0,
"_N$lineHeight": 50,
"_N$imageAtlas": null,
"_N$handleTouchEvent": true,
"_id": "07WC7SRP5PJ7bMjHmFltWp"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 0,
"_segments": 64,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "fdLC/NprNG3r3lyGy9sONT"
},
{
"__type__": "cc.Node",
"_name": "DistroyAnime",
"_objFlags": 0,
"_parent": {
"__id__": 68
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 78
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 384,
"height": 294
},
"_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": "d4awFAImpLorK8OIbaKtdT"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 77
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "f00ffee5-b8a0-43c3-9e12-2a460784cf96#2e77da60-7917-4a9a-a12b-04361666f448",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "f00ffee5-b8a0-43c3-9e12-2a460784cf96"
},
"_N$dragonAtlasAsset": {
"__uuid__": "2e77da60-7917-4a9a-a12b-04361666f448"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "e9MuvEmzVIIoXhN44I9pD0"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "6bfEpPlJNIrbG13hrx3kA0"
},
{
"__type__": "cc.Node",
"_name": "Bullet",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 81
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 36,
"height": 173
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-811.47,
-978.396,
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": "73/OkYuNJCdI+c7ThcxuyI"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 80
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "393ae96f-dcef-485f-8b6a-8e5b454cd677"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0fdddacHFJ2L7so65VJC/V"
},
{
"__type__": "cc.Node",
"_name": "RabbonBase",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 83
},
{
"__id__": 86
},
{
"__id__": 89
},
{
"__id__": 92
},
{
"__id__": 95
},
{
"__id__": 98
},
{
"__id__": 101
},
{
"__id__": 104
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1552.697,
-1194.382,
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": "bf1YggNqpK6bEIXkdEts9V"
},
{
"__type__": "cc.Node",
"_name": "New Node",
"_objFlags": 0,
"_parent": {
"__id__": 82
},
"_children": [
{
"__id__": 84
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
340,
0,
0,
0,
0,
1,
0.5,
0.5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "41+yyYdWJI6bX8ui8wgX8K"
},
{
"__type__": "cc.Node",
"_name": "New Sprite",
"_objFlags": 0,
"_parent": {
"__id__": 83
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 85
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 252,
"g": 126,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 55,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
......@@ -1929,8 +4117,8 @@
0,
0,
0,
0,
1,
-0.7071067811865475,
0.7071067811865476,
1,
1,
1
......@@ -1940,21 +4128,21 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
"z": -90
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "f9HGAfEuFK8IdKQRKl0y3y"
"_id": "fcevnik2lCKo2wCinpknL5"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
"__id__": 84
},
"_enabled": true,
"_materials": [
......@@ -1965,7 +4153,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0dc4b200-267c-4b62-84b2-bc11b1efa107"
"__uuid__": "fae2e4dd-cbd3-4a27-8506-c6a2b11da5c6"
},
"_type": 0,
"_sizeMode": 1,
......@@ -1979,26 +4167,22 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b9KM/4bmxB+bmxfjQKBv7t"
"_id": "a7w1x/nKRGa5vV5+KPL4vc"
},
{
"__type__": "cc.Node",
"_name": "Star",
"_name": "New Node",
"_objFlags": 0,
"_parent": {
"__id__": 40
"__id__": 82
},
"_children": [
{
"__id__": 44
}
],
"_active": false,
"_components": [
{
"__id__": 46
"__id__": 87
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -2010,8 +4194,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 62,
"height": 69
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2023,14 +4207,14 @@
"ctor": "Float64Array",
"array": [
0,
-80,
0,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
......@@ -2045,35 +4229,35 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "6388ISZn1Pvpo3KZME3u3L"
"_id": "6aJZJ/PXlAv6mTQdL2X3vl"
},
{
"__type__": "cc.Node",
"_name": "StarBig",
"_name": "New Sprite",
"_objFlags": 0,
"_parent": {
"__id__": 43
"__id__": 86
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 45
"__id__": 88
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 246,
"g": 241,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 278,
"height": 275
"width": 55,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2091,8 +4275,8 @@
0,
-0.7071067811865475,
0.7071067811865476,
0.2,
0.2,
1,
1,
1
]
},
......@@ -2107,46 +4291,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "6bdCSEuxxBBquaGwu6zIBC"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0e9a63a8-86de-4dd8-af76-e7ef31c6f934"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "849nEKVSNKG46IpdrYFbTR"
"_id": "899D60LeNGmZmdAqSIXCye"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
"__id__": 87
},
"_enabled": true,
"_materials": [
......@@ -2157,7 +4309,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "1464151d-e115-4a96-9acf-443859be76eb"
"__uuid__": "fae2e4dd-cbd3-4a27-8506-c6a2b11da5c6"
},
"_type": 0,
"_sizeMode": 1,
......@@ -2171,29 +4323,22 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "cfIfRtC7lB74dXtzWoDbjl"
"_id": "92T3TGxpVPLocpW+tvPLKL"
},
{
"__type__": "cc.Node",
"_name": "Mask",
"_name": "New Node",
"_objFlags": 0,
"_parent": {
"__id__": 40
"__id__": 82
},
"_children": [
{
"__id__": 48
"__id__": 90
}
],
"_active": true,
"_components": [
{
"__id__": 50
},
{
"__id__": 51
}
],
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -2205,27 +4350,27 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 62,
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-33,
4,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
......@@ -2240,40 +4385,40 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c9zkW99NVPgqN05G98855+"
"_id": "d2dGwBm99NqIae/l17SGne"
},
{
"__type__": "cc.Node",
"_name": "Star",
"_name": "New Sprite",
"_objFlags": 0,
"_parent": {
"__id__": 47
"__id__": 89
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 49
"__id__": 91
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"r": 0,
"g": 255,
"b": 255,
"b": 15,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 62,
"height": 66
"width": 55,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
......@@ -2284,8 +4429,8 @@
0,
0,
0,
0,
1,
-0.7071067811865475,
0.7071067811865476,
1,
1,
1
......@@ -2295,21 +4440,21 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
"z": -90
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "55U5IIHitOFoqJYyy2l50q"
"_id": "c2SItVr+NASYjlxWhgqmVO"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
"__id__": 90
},
"_enabled": true,
"_materials": [
......@@ -2320,7 +4465,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "0dc4b200-267c-4b62-84b2-bc11b1efa107"
"__uuid__": "fae2e4dd-cbd3-4a27-8506-c6a2b11da5c6"
},
"_type": 0,
"_sizeMode": 1,
......@@ -2334,61 +4479,138 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f4/x4fG6BLwovo5Rk9pxZC"
"_id": "51QuMfmG9DsZgUpgRXrpE+"
},
{
"__type__": "cc.Mask",
"_name": "",
"__type__": "cc.Node",
"_name": "New Node",
"_objFlags": 0,
"node": {
"__id__": 47
"_parent": {
"__id__": 82
},
"_enabled": true,
"_materials": [
"_children": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__id__": 93
}
],
"_spriteFrame": null,
"_type": 0,
"_segments": 64,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "58YACbBxtImL9q2XL+vOlU"
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
88,
0,
0,
0,
0,
1,
0.5,
0.5,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "43o+jBtjNInJuDmGrAfr9D"
},
{
"__type__": "cc.Widget",
"_name": "",
"__type__": "cc.Node",
"_name": "New Sprite",
"_objFlags": 0,
"node": {
"__id__": 47
"_parent": {
"__id__": 92
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4,
"_left": 0,
"_right": 0,
"_top": -33,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "ddfhQo6A9PmJVcRhNoeFRZ"
"_children": [],
"_active": true,
"_components": [
{
"__id__": 94
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 239,
"b": 225,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 55,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
-0.7071067811865475,
0.7071067811865476,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -90
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3azT/ksrBA/IrQFBxvLG0B"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
"__id__": 93
},
"_enabled": true,
"_materials": [
......@@ -2398,7 +4620,9 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_spriteFrame": {
"__uuid__": "fae2e4dd-cbd3-4a27-8506-c6a2b11da5c6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
......@@ -2411,29 +4635,22 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "e3FlY1WOlLf5WYDMG2tY8D"
"_id": "0bb6aLl0BN34gmUV8L2kGA"
},
{
"__type__": "cc.Node",
"_name": "BallImg",
"_name": "New Node",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 82
},
"_children": [
{
"__id__": 54
"__id__": 96
}
],
"_active": true,
"_components": [
{
"__id__": 58
},
{
"__id__": 59
}
],
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -2445,8 +4662,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 337,
"height": 265
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2457,15 +4674,15 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-895.282,
-553.661,
0,
172,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
......@@ -2480,39 +4697,35 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "8b8oYSo+VH1aarULSN14xC"
"_id": "7egSJDPS5Lko+7ouN7KC8n"
},
{
"__type__": "cc.Node",
"_name": "Mask",
"_name": "New Sprite",
"_objFlags": 0,
"_parent": {
"__id__": 53
"__id__": 95
},
"_children": [
{
"__id__": 55
}
],
"_children": [],
"_active": true,
"_components": [
{
"__id__": 57
"__id__": 97
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 0,
"g": 216,
"b": 251,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 176,
"height": 164
"width": 55,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2524,12 +4737,12 @@
"ctor": "Float64Array",
"array": [
0,
4.892,
0,
0,
0,
0,
1,
-0.7071067811865475,
0.7071067811865476,
1,
1,
1
......@@ -2539,29 +4752,61 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
"z": -90
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "50HzolC3xILb62Jtl70g/W"
"_id": "81Vj5wEzJNLKNlXcwxUnbx"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 96
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "fae2e4dd-cbd3-4a27-8506-c6a2b11da5c6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "dcqI8FOepPGJCQ+GlwgZnR"
},
{
"__type__": "cc.Node",
"_name": "AnsterImg",
"_name": "New Node",
"_objFlags": 0,
"_parent": {
"__id__": 54
"__id__": 82
},
"_children": [],
"_active": true,
"_components": [
"_children": [
{
"__id__": 56
"__id__": 99
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -2573,8 +4818,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 200,
"height": 200
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2586,14 +4831,14 @@
"ctor": "Float64Array",
"array": [
0,
256,
0,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
......@@ -2608,66 +4853,76 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "5cXMEcZ35BX6usk3tvfkvu"
"_id": "ffrjLq9mlHsaoRiZktJ9vr"
},
{
"__type__": "cc.Sprite",
"_name": "",
"__type__": "cc.Node",
"_name": "New Sprite",
"_objFlags": 0,
"node": {
"__id__": 55
"_parent": {
"__id__": 98
},
"_enabled": true,
"_materials": [
"_children": [],
"_active": true,
"_components": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__id__": 100
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061"
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 95,
"g": 0,
"b": 249,
"a": 255
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"_contentSize": {
"__type__": "cc.Size",
"width": 55,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"x": 0.5,
"y": 0.5
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "dcszD0XmNM5b8RX5AjVdd0"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 54
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
-0.7071067811865475,
0.7071067811865476,
1,
1,
1
]
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 1,
"_segments": 64,
"_N$alphaThreshold": 0,
"_N$inverted": false,
"_id": "c3Q45z/xRDvKfGVMNUksA0"
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -90
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "8d8g/MJpJAAbJcrEvK7NBT"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
"__id__": 99
},
"_enabled": true,
"_materials": [
......@@ -2678,7 +4933,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "56eaa174-9be9-4c47-bcb8-8db1a844cc8c"
"__uuid__": "fae2e4dd-cbd3-4a27-8506-c6a2b11da5c6"
},
"_type": 0,
"_sizeMode": 1,
......@@ -2692,97 +4947,22 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a6Kg7VahtNMq5Qv6Z/HjUT"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "b8BkdszklPN70pKlN2Bav7"
"_id": "2bpoaN87BITKFVlzlDqiXM"
},
{
"__type__": "cc.Node",
"_name": "BallTxt",
"_name": "New Node",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 82
},
"_children": [
{
"__id__": 61
"__id__": 102
}
],
"_active": true,
"_components": [
{
"__id__": 67
},
{
"__id__": 68
}
],
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -2794,8 +4974,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 361,
"height": 163
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2806,15 +4986,15 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-529.374,
-633.931,
0,
-164,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
......@@ -2829,39 +5009,35 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "681AdbUjZJ2YKCLqUFBU07"
"_id": "253CrGTaRCV6hj4dAHtS1+"
},
{
"__type__": "cc.Node",
"_name": "Mask",
"_name": "New Sprite",
"_objFlags": 0,
"_parent": {
"__id__": 60
"__id__": 101
},
"_children": [
{
"__id__": 62
}
],
"_children": [],
"_active": true,
"_components": [
{
"__id__": 66
"__id__": 103
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 254,
"g": 3,
"b": 3,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 250,
"height": 60
"width": 55,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2873,12 +5049,12 @@
"ctor": "Float64Array",
"array": [
0,
15,
0,
0,
0,
0,
1,
-0.7071067811865475,
0.7071067811865476,
1,
1,
1
......@@ -2888,33 +5064,61 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
"z": -90
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "85U2wHPthH9ILutd16I0Yh"
"_id": "083N1Z4EdGuIisnT40JIQo"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "fae2e4dd-cbd3-4a27-8506-c6a2b11da5c6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "3dFEbpEpNOrITWVMloviI+"
},
{
"__type__": "cc.Node",
"_name": "AnswerText",
"_name": "New Node",
"_objFlags": 0,
"_parent": {
"__id__": 61
"__id__": 82
},
"_children": [
{
"__id__": 63
"__id__": 105
}
],
"_active": true,
"_components": [
{
"__id__": 65
}
],
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -2926,8 +5130,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 145.29,
"height": 63
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -2939,14 +5143,14 @@
"ctor": "Float64Array",
"array": [
0,
-248,
0,
0,
0,
0,
0,
1,
1,
1,
0.5,
0.5,
1
]
},
......@@ -2961,52 +5165,52 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a6EHf73/RPgIAGcu33defw"
"_id": "55p/nV799A5pLS/NwKFVBV"
},
{
"__type__": "cc.PrivateNode",
"_name": "RICHTEXT_CHILD",
"_objFlags": 1024,
"__type__": "cc.Node",
"_name": "New Sprite",
"_objFlags": 0,
"_parent": {
"__id__": 62
"__id__": 104
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 64
"__id__": 106
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 55,
"g": 57,
"b": 123,
"r": 210,
"g": 0,
"b": 244,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 145.29,
"height": 63
"width": 55,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-72.645,
-31.5,
0,
0,
0,
0,
1,
0,
-0.7071067811865475,
0.7071067811865476,
1,
1,
1
......@@ -3016,100 +5220,21 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
"z": -90
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "aeTyUK3DdKgKoEP+WXUczM"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "catgf f ",
"_N$string": "catgf f ",
"_fontSize": 50,
"_lineHeight": 50,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "68b79335-9901-4157-b5ae-be5a6745b1ad"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 0,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "307SbmsyVNm5QHA5W2rsgL"
},
{
"__type__": "cc.RichText",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
},
"_enabled": true,
"_fontFamily": "Arial",
"_isSystemFontUsed": false,
"_N$string": "<color=#37397b>catgf f </color>",
"_N$horizontalAlign": 1,
"_N$fontSize": 50,
"_N$font": {
"__uuid__": "68b79335-9901-4157-b5ae-be5a6745b1ad"
},
"_N$cacheMode": 0,
"_N$maxWidth": 0,
"_N$lineHeight": 50,
"_N$imageAtlas": null,
"_N$handleTouchEvent": true,
"_id": "07WC7SRP5PJ7bMjHmFltWp"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": null,
"_type": 0,
"_segments": 64,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "fdLC/NprNG3r3lyGy9sONT"
"_id": "47JvnI4zBHdK+IzDb2qWwp"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
"__id__": 105
},
"_enabled": true,
"_materials": [
......@@ -3120,7 +5245,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e4116671-3caf-492e-8eeb-99b5356c14cd"
"__uuid__": "fae2e4dd-cbd3-4a27-8506-c6a2b11da5c6"
},
"_type": 0,
"_sizeMode": 1,
......@@ -3134,74 +5259,6 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7a+leQzaNNfahbJ6lVKlor"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "6bfEpPlJNIrbG13hrx3kA0"
"_id": "65G+YFsohN4o7zSuUp/D1I"
}
]
\ No newline at end of file
import { onHomeworkFinish } from "./util";
import { defaultData } from '../script/defaultData.js';
import { addBtnListener, asyncTweenTo, Between, getSpriteFrimeByUrl, jelly, playAudioByUrl, playAudioByUrlSync, RandomInt } from "../script/util";
import {
addBtnListener,
showTrebleFirework,
asyncDelay,
asyncTweenBy,
asyncTweenTo,
Between,
exchangeNodePos,
getSpriteFrimeByUrl,
jelly,
playAudioByUrl,
playAudioByUrlSync,
RandomInt
} from "../script/util";
cc.Class({
......@@ -9,6 +22,11 @@ cc.Class({
properties: {
},
ctor() {
this.createSpeed = [1250, 1000, 1000, 800, 800, 640, 640, 512, 512];
this.moveSpeed = [5, 5, 4, 4, 3.2, 3.2, 2.56, 2.56, 2.048, 2.048];
},
// 生命周期 onLoad
onLoad() {
this.initSceneData();
......@@ -136,7 +154,7 @@ cc.Class({
BtnStart.active = false;
this.gameStart();
});
const BtnRestart = cc.find('Canvas/bg/BtnRestart')
const BtnRestart = cc.find('Canvas/bg/BtnRestart');
addBtnListener(BtnRestart, async () => {
await asyncTweenTo(BtnRestart, 0.1, { opacity: 0 });
BtnRestart.active = false;
......@@ -146,17 +164,30 @@ cc.Class({
addBtnListener(BtnSpeaker, async () => {
await this.playQuestionAudio();
});
const bg = cc.find('Canvas/bg');
bg.on('touchstart', (event) => {
this.shootTarget(bg, event.getLocation(), false);
});
},
initBg() {
const bgNode = cc.find('Canvas/bg');
bgNode.scale = this._mapScaleMax;
const table = cc.find('Canvas/bg/Table');
table.zIndex = 1;
const gunBase = cc.find('Canvas/bg/GunBase');
gunBase.zIndex = 1;
const speaker = cc.find('Canvas/bg/BtnSpeaker');
speaker.zIndex = 1;
},
createStars() {
let length = 1;
const starLayout = cc.find('Canvas/bg/StarLayout');
starLayout.removeAllChildren();
starLayout.zIndex = 2;
const paddingY = starLayout.getComponent(cc.Layout).spacingY;
for (let i = 0; i < this.data.questionList.length; i++) {
......@@ -167,6 +198,58 @@ cc.Class({
}
},
async showStar() {
const starBase = cc.find(`Canvas/bg/StarLayout/starBase_${this._status.currentQuestionIdx}`);
if (!starBase) {
return;
}
const star = starBase.getChildByName('Star');
star.active = true;
const starBig = star.getChildByName('StarBig');
starBig.scale = 1;
star.active = true;
star.scaleX = 0.7 / starBase.scale;
star.scaleY = 1 / starBase.scale;
star.angle = 90;
const canvas = cc.find('Canvas');
const startPos = star.parent.convertToNodeSpaceAR(canvas.convertToWorldSpaceAR(cc.v2(0, -canvas.height / 2)));
const middlePos = star.parent.convertToNodeSpaceAR(canvas.convertToWorldSpaceAR(cc.v2(0, -canvas.height / 4)));
star.x = startPos.x;
star.y = startPos.y - starBig.height;
cc.tween(star)
.to(0.3, { y: middlePos.y + 80 }, { easing: 'quadOut' })
.to(0.1, { y: middlePos.y + 40, scaleX: 1.2 / starBase.scale, scaleY: 0.8 / starBase.scale }, { easing: 'quadOut' })
.to(0.1, { y: middlePos.y, scaleX: 1 / starBase.scale, scaleY: 1 / starBase.scale }, { easing: 'quadOut' })
.delay(0.1)
.to(0.8, { angle: -720, scale: 1 })
.start();
cc.tween(star)
.delay(0.6)
.to(0.8, { x: 0 }, { easing: 'quadIn' })
.start();
cc.tween(star)
.delay(0.6)
.to(0.8, { y: 0 }, { easing: 'quadOut' })
.start();
await asyncDelay(0.6);
await asyncTweenTo(starBig, 0.8, { scale: 0 }, { easing: 'quadOut' });
},
isEndGame() {
return this._status.currentQuestionIdx >= this.data.questionList.length;
},
onGameEnd() {
showTrebleFirework(cc.find('Canvas/bg'), cc.find('RabbonBase').children);
onHomeworkFinish();
const BtnRestart = cc.find('Canvas/bg/BtnRestart');
BtnRestart.active = true;
},
async gameStart() {
this._status = {
currentQuestionIdx: 0,
......@@ -188,12 +271,13 @@ cc.Class({
startShowBalls() {
const currentQuestion = this.data.questionList[this._status.currentQuestionIdx];
const answerList = currentQuestion.answerList;
const timeList = [1250, 1000, 1000, 800, 800, 640, 640, 512, 512];
const time = timeList[currentQuestion.speedLevel];
const time = this.createSpeed[currentQuestion.speedLevel];
this.ballList = [];
this.showBallsinterval = setInterval(() => {
const answer = answerList[RandomInt(answerList.length)];
this.createBall(answer);
const ball = this.createBall(answer);
this.ballList.push(ball);
}, time);
},
......@@ -201,57 +285,98 @@ cc.Class({
if (this.showBallsinterval) {
clearInterval(this.showBallsinterval);
}
if (this.ballList) {
this.ballList.forEach(ball => {
ball.stopAllActions();
cc.tween(ball)
.to(0.5, { opacity: 0 })
.removeSelf()
.start();
});
this.ballList = [];
}
},
createBall(answer) {
let ball = null;
if (answer.answerImg) {
this.createImgBall(answer);
ball = this.createImgBall(answer);
} else {
this.createTextBall(answer);
ball = this.createTextBall(answer);
}
},
// answerAudio
// answerTxt
// answerImg
// rightAnswer
createImgBall(answer) {
const bg = cc.find('Canvas/bg');
const ball = cc.instantiate(cc.find('BallImg'));
ball.x = bg.width / 4 * RandomInt(-1, 1 + 1) + RandomInt(-50, 50);
ball.y = bg.height;
ball.x = bg.width / 2 * (RandomInt(0, 2) - 0.5) + RandomInt(-50, 50);
ball.y = -bg.height;
ball.parent = bg;
const img = cc.find('Mask/AnsterImg', ball);
getSpriteFrimeByUrl(answer.answerImg, (spriteFrame) => {
img.getComponent(cc.Sprite).spriteFrame = spriteFrame;
cc.tween(ball.getChildByName('bg'))
.to(0.2, { scaleX: 0.98, scaleY: 1.05 })
.to(0.2, { scaleX: 1.02, scaleY: 0.94 })
.union()
.repeatForever()
.start();
ball.on('touchstart', async (event) => {
const location = event.getLocation();
await this.shootTarget(ball, location, true);
if (answer.rightAnswer) {
this.targetDistroy(ball);
this._status.currentRightNumber++;
const currentQuestion = this.data.questionList[this._status.currentQuestionIdx];
this.updateRightNumber();
if (this._status.currentRightNumber >= currentQuestion.rigthNumber) {
this.stopShowBalls();
await asyncDelay(0.5);
await this.showStar();
this._status.currentRightNumber = 0;
this._status.currentQuestionIdx++;
if (this.isEndGame()) {
this.onGameEnd();
} else {
this.startShowBalls();
}
}
} else {
this.targetLaugh(ball);
}
});
const currentQuestion = this.data.questionList[this._status.currentQuestionIdx];
const timeList = [5, 5, 4, 4, 3.2, 3.2, 2.56, 2.56, 2.048, 2.048];
const time = timeList[currentQuestion.speedLevel];
const time = this.moveSpeed[currentQuestion.speedLevel];
cc.tween(ball)
.to(time, { y: -bg.height })
.to(time, { y: bg.height })
.removeSelf()
.start();
ball.moveSpeed = bg.height / time;
return ball;
},
createImgBall(answer) {
const ball = cc.instantiate(cc.find('BallImg'));
const img = cc.find('Mask/AnsterImg', ball);
getSpriteFrimeByUrl(answer.answerImg, (spriteFrame) => {
img.getComponent(cc.Sprite).spriteFrame = spriteFrame;
});
return ball;
},
createTextBall(answer) {
const bg = cc.find('Canvas/bg');
const ball = cc.instantiate(cc.find('BallTxt'));
ball.x = bg.width / 4 * RandomInt(-1, 1 + 1) + RandomInt(-50, 50);
ball.y = bg.height;
ball.parent = bg;
const text = cc.find('Mask/AnswerText', ball);
text.getComponent(cc.RichText).string = `<color=#37397b>${answer.answerTxt}</color>`;
return ball;
},
const currentQuestion = this.data.questionList[this._status.currentQuestionIdx];
updateRightNumber() {
this._status.currentRightNumber;
const totalRightNumber = this.data.questionList[this._status.currentQuestionIdx].rigthNumber;
const starBase = cc.find(`Canvas/bg/StarLayout/starBase_${this._status.currentQuestionIdx}`);
const mask = starBase.getChildByName('Mask');
const bg = starBase.getChildByName('bg');
const timeList = [5, 5, 4, 4, 3.2, 3.2, 2.56, 2.56, 2.048, 2.048];
const time = timeList[currentQuestion.speedLevel];
cc.tween(ball)
.to(time, { y: -bg.height })
.removeSelf()
cc.tween(mask)
.to(0.3, { height: bg.height * (this._status.currentRightNumber / totalRightNumber) })
.start();
},
......@@ -276,6 +401,75 @@ cc.Class({
speakerStopBlink() {
const btnSpeaker = cc.find(`Canvas/bg/BtnSpeaker`);
const btnSpeaker3 = cc.find(`Canvas/bg/BtnSpeaker/speaker_3`);
btnSpeaker.getComponent(cc.Animation).stop();
btnSpeaker.getComponent(cc.Sprite).spriteFrame = btnSpeaker3.getComponent(cc.Sprite).spriteFrame;
},
async shootTarget(node, location, shootBullet) {
const GunPos = cc.find('Canvas/bg/GunBase/GunPos');
const Gun = cc.find('Canvas/bg/GunBase/Gun');
const Muzzle = cc.find('Canvas/bg/GunBase/Gun/Muzzle');
const bg = cc.find('Canvas/bg')
let offsetY = 0;
if (node.moveSpeed) {
offsetY = node.moveSpeed * 0.4;
}
const shootSide = GunPos.convertToNodeSpaceAR(cc.v2(location.x, location.y + offsetY));
const bullet = cc.instantiate(cc.find('Bullet'));
bullet.parent = bg;
bullet.scaleY = 0;
if (!shootBullet) {
bullet.opacity = 0;
}
const angle = cc.v2(0, 1).signAngle(shootSide) * 180 / Math.PI;
bullet.angle = angle;
await asyncTweenTo(Gun, 0.1, { angle: angle, scaleY: 0.95 });
let startPos = exchangeNodePos(bg, Muzzle);
bullet.x = startPos.x;
bullet.y = startPos.y;
cc.tween(Gun)
.to(0.1, { scaleX: 0.95, scaleY: 1.05 })
.to(0.1, { scaleX: 1, scaleY: 1 })
.start();
let targetPos = bg.convertToNodeSpaceAR(cc.v2(location.x, location.y + offsetY));
let flySide = cc.v2(targetPos.x - startPos.x, targetPos.y - startPos.y);
await asyncTweenTo(bullet, 0.1, {
scaleY: flySide.mag() / bullet.height,
scaleX: Between(0.5, 1, bullet.height / flySide.mag())
});
bullet.setAnchorPoint(0.5, 1);
bullet.x = targetPos.x;
bullet.y = targetPos.y;
asyncTweenTo(bullet, 0.2, { opacity: 0, scaleY: 0 });
},
async targetDistroy(node) {
const bg = node.getChildByName('bg');
bg.active = false;
const DistroyAnime = node.getChildByName('DistroyAnime');
DistroyAnime.active = true;
const Mask = node.getChildByName('Mask');
cc.tween(Mask)
.to(0.5, { opacity: 0 })
.start();
},
async targetLaugh(node) {
const x = node.x;
let offsetX = RandomInt(20, 50) * 2 * (RandomInt(2) - 0.5);
let offsetY = RandomInt(20, 50) * 2 * (RandomInt(2) - 0.5);
await asyncTweenBy(node, 0.05, { x: offsetX, y: offsetY });
offsetX = RandomInt(20, 50) * 2 * (RandomInt(2) - 0.5);
offsetY = RandomInt(20, 50) * 2 * (RandomInt(2) - 0.5);
await asyncTweenBy(node, 0.05, { x: offsetX, y: offsetY });
await asyncTweenTo(node, 0.05, { x: x });
},
});
export const defaultData = {
questionList: [{
questionAudio: 'http://staging-teach.cdn.ireadabc.com/989f78ee25c48624047f9f0275eb4193.mp3',
speedLevel: 3,
speedLevel: 2,
rigthNumber: 5,
answerList: [{
answerAudio: '',
......@@ -49,80 +49,5 @@ export const defaultData = {
answerImg: '',
rightAnswer: false
}]
}, {
questionAudio: '',
speedLevel: 1,
rigthNumber: 5,
answerList: [{
answerAudio: '',
answerTxt: 'cat',
answerImg: '',
rightAnswer: true
}, {
answerAudio: '',
answerTxt: 'cet',
answerImg: '',
rightAnswer: false
}, {
answerAudio: '',
answerTxt: 'ket',
answerImg: '',
rightAnswer: false
}, {
answerAudio: '',
answerTxt: 'oet',
answerImg: '',
rightAnswer: false
}]
}, {
questionAudio: '',
speedLevel: 1,
rigthNumber: 5,
answerList: [{
answerAudio: '',
answerTxt: 'cat',
answerImg: '',
rightAnswer: true
}, {
answerAudio: '',
answerTxt: 'cet',
answerImg: '',
rightAnswer: false
}, {
answerAudio: '',
answerTxt: 'ket',
answerImg: '',
rightAnswer: false
}, {
answerAudio: '',
answerTxt: 'oet',
answerImg: '',
rightAnswer: false
}]
}, {
questionAudio: '',
speedLevel: 1,
rigthNumber: 5,
answerList: [{
answerAudio: '',
answerTxt: 'cat',
answerImg: '',
rightAnswer: true
}, {
answerAudio: '',
answerTxt: 'cet',
answerImg: '',
rightAnswer: false
}, {
answerAudio: '',
answerTxt: 'ket',
answerImg: '',
rightAnswer: false
}, {
answerAudio: '',
answerTxt: 'oet',
answerImg: '',
rightAnswer: false
}]
}],
}
\ No newline at end of file
......@@ -262,6 +262,7 @@ export async function showFireworks(fireworkSettings) {
rabbonNode.x = pos.x;
rabbonNode.y = pos.y;
rabbonNode.angle = 60 * Math.random() - 30;
rabbonNode.zIndex = 1;
let node = cc.instantiate(nodeList[RandomInt(nodeList.length)]);
node.parent = rabbonNode;
......
......@@ -26,7 +26,7 @@
"height": 173,
"rawWidth": 36,
"rawHeight": 173,
"borderTop": 0,
"borderTop": 46,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
......
{
"ver": "2.3.5",
"uuid": "59ed4da8-5c8e-4211-aa83-7cfbd1f94bb0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 238,
"height": 238,
"platformSettings": {},
"subMetas": {
"bg_water": {
"ver": "1.0.4",
"uuid": "a4a03ebc-3cd6-4904-b441-b012b4e6b71d",
"rawTextureUuid": "59ed4da8-5c8e-4211-aa83-7cfbd1f94bb0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 1,
"offsetY": -17,
"trimX": 54,
"trimY": 86,
"width": 132,
"height": 100,
"rawWidth": 238,
"rawHeight": 238,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "afcdd4b4-7d30-4229-b7bc-549324e9a8f5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 55,
"height": 76,
"platformSettings": {},
"subMetas": {
"彩带": {
"ver": "1.0.4",
"uuid": "fae2e4dd-cbd3-4a27-8506-c6a2b11da5c6",
"rawTextureUuid": "afcdd4b4-7d30-4229-b7bc-549324e9a8f5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 55,
"height": 76,
"rawWidth": 55,
"rawHeight": 76,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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