Commit ecd65728 authored by 范雪寒's avatar 范雪寒

feat:

parent 0073dffd
{
"ver": "2.0.1",
"uuid": "f0680ae0-c079-45ef-abd7-9e63d90b982b",
"uuid": "7dd331c0-bfda-43a7-8e24-7166504efc99",
"downloadMode": 0,
"duration": 0.130612,
"duration": 0.873878,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "f6c4b544-baa4-490f-b440-f9d553c9cdfe",
"downloadMode": 0,
"duration": 0.45102,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "b28063de-0f80-4f41-a084-40929c129b4f",
"downloadMode": 0,
"duration": 1.808583,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "5a3c1f94-ee24-4cdc-91ba-eaa7efe3070e",
"downloadMode": 0,
"duration": 0.372875,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "ca971933-de5e-40f2-a18f-43b4e7e733de",
"downloadMode": 0,
"duration": 3.448163,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "e896297a-99eb-4c87-9978-0c018c604443",
"downloadMode": 0,
"duration": 0.6818,
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"grow","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-12.03,"y":87.9,"width":114,"height":114},"bone":[{"name":"root","transform":{"skX":0.8267,"skY":0.8267}},{"name":"bone","parent":"root","transform":{"x":1040.062,"y":-391.2294}},{"name":"point10","parent":"bone","transform":{"skX":-2.9955,"skY":-2.9955}},{"name":"point9","parent":"bone","transform":{"skX":-2.9955,"skY":-2.9955}},{"name":"point8","parent":"bone","transform":{"skX":-2.9955,"skY":-2.9955}},{"name":"point7","parent":"bone","transform":{"skX":-2.9955,"skY":-2.9955}},{"name":"point6","parent":"bone","transform":{"skX":-2.9955,"skY":-2.9955}},{"name":"point1","parent":"bone","transform":{"skX":-2.9955,"skY":-2.9955}},{"name":"point2","parent":"bone","transform":{"skX":-2.9955,"skY":-2.9955}},{"name":"point4","parent":"bone","transform":{"skX":-2.9955,"skY":-2.9955}},{"name":"point5","parent":"bone","transform":{"skX":-2.9955,"skY":-2.9955}},{"name":"point3","parent":"bone","transform":{"skX":-2.9955,"skY":-2.9955}},{"name":"point","parent":"bone","transform":{"skX":-2.9955,"skY":-2.9955}}],"slot":[{"name":"生长光点","parent":"point","color":{"aM":0}},{"name":"生长光点1","parent":"point1","color":{"aM":0}},{"name":"生长光点2","parent":"point2","color":{"aM":0}},{"name":"生长光点3","parent":"point3","color":{"aM":0}},{"name":"生长光点4","parent":"point4","color":{"aM":0}},{"name":"生长光点5","parent":"point5","color":{"aM":0}},{"name":"生长光点6","parent":"point6","color":{"aM":0}},{"name":"生长光点7","parent":"point7","color":{"aM":0}},{"name":"生长光点8","parent":"point8","color":{"aM":0}},{"name":"生长光点9","parent":"point9","color":{"aM":0}},{"name":"生长光点10","parent":"point10","color":{"aM":0}}],"skin":[{"slot":[{"name":"生长光点6","display":[{"name":"生长光点","transform":{"x":-1019.63,"y":482.84}}]},{"name":"生长光点7","display":[{"name":"生长光点","transform":{"x":-1019.63,"y":482.84}}]},{"name":"生长光点9","display":[{"name":"生长光点","transform":{"x":-1019.63,"y":482.84}}]},{"name":"生长光点3","display":[{"name":"生长光点","transform":{"x":-1019.63,"y":482.84}}]},{"name":"生长光点","display":[{"name":"生长光点","transform":{"x":-1019.63,"y":482.84}}]},{"name":"生长光点2","display":[{"name":"生长光点","transform":{"x":-1019.63,"y":482.84}}]},{"name":"生长光点5","display":[{"name":"生长光点","transform":{"x":-1019.63,"y":482.84}}]},{"name":"生长光点8","display":[{"name":"生长光点","transform":{"x":-1019.63,"y":482.84}}]},{"name":"生长光点4","display":[{"name":"生长光点","transform":{"x":-1019.63,"y":482.84}}]},{"name":"生长光点1","display":[{"name":"生长光点","transform":{"x":-1019.63,"y":482.84}}]},{"name":"生长光点10","display":[{"name":"生长光点","transform":{"x":-1019.63,"y":482.84}}]}]}],"animation":[{"duration":30,"playTimes":0,"name":"normal","bone":[{"name":"point","translateFrame":[{"duration":17,"tweenEasing":0,"x":-92,"y":175},{"duration":13,"x":-92,"y":-213}]},{"name":"point1","translateFrame":[{"duration":24,"tweenEasing":0,"x":0.5,"y":192.5},{"duration":6,"x":0.5,"y":-376.5}]},{"name":"point2","translateFrame":[{"duration":16,"tweenEasing":0,"x":-46.5,"y":165.5},{"duration":14,"x":-46.5,"y":-339.5}]},{"name":"point3","translateFrame":[{"duration":20,"tweenEasing":0,"x":-132.5,"y":193},{"duration":10,"x":-132.5,"y":-293}]},{"name":"point4","translateFrame":[{"duration":18,"tweenEasing":0,"x":56,"y":200.5},{"duration":12,"x":7.5,"y":-130}]},{"name":"point5","translateFrame":[{"duration":30,"tweenEasing":0,"x":-51,"y":153.5},{"duration":0,"x":-51,"y":-154}]},{"name":"point6","translateFrame":[{"duration":20,"tweenEasing":0,"x":-76,"y":188.5},{"duration":10,"x":-71.5,"y":-407}]},{"name":"point7","translateFrame":[{"duration":22,"tweenEasing":0,"x":27.5,"y":206},{"duration":8,"x":27.5,"y":-242.5}]},{"name":"point8","translateFrame":[{"duration":15,"tweenEasing":0,"x":-105,"y":164},{"duration":15,"x":-105,"y":-112}]},{"name":"point9","translateFrame":[{"duration":26,"tweenEasing":0,"x":-16,"y":180},{"duration":4,"x":-16,"y":-211.5}]},{"name":"point10","translateFrame":[{"duration":28,"tweenEasing":0,"x":-80.5,"y":149.5},{"duration":2,"x":-48,"y":-276.5}]}],"slot":[{"name":"生长光点","colorFrame":[{"duration":3,"tweenEasing":0,"value":{"aM":0}},{"duration":12,"tweenEasing":0},{"duration":2,"tweenEasing":0},{"duration":13,"value":{"aM":0}}]},{"name":"生长光点1","colorFrame":[{"duration":4,"tweenEasing":0,"value":{"aM":0}},{"duration":18,"tweenEasing":0},{"duration":2,"tweenEasing":0},{"duration":6,"value":{"aM":0}}]},{"name":"生长光点2","colorFrame":[{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":8,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":14,"value":{"aM":0}}]},{"name":"生长光点3","colorFrame":[{"duration":4,"tweenEasing":0,"value":{"aM":0}},{"duration":13,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":10,"value":{"aM":0}}]},{"name":"生长光点4","colorFrame":[{"duration":6,"tweenEasing":0,"value":{"aM":0}},{"duration":10,"tweenEasing":0},{"duration":2,"tweenEasing":0},{"duration":12,"value":{"aM":0}}]},{"name":"生长光点5","colorFrame":[{"duration":7,"tweenEasing":0,"value":{"aM":0}},{"duration":19,"tweenEasing":0},{"duration":4,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"生长光点6","colorFrame":[{"duration":6,"tweenEasing":0,"value":{"aM":0}},{"duration":11,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":10,"value":{"aM":0}}]},{"name":"生长光点7","colorFrame":[{"duration":3,"tweenEasing":0,"value":{"aM":0}},{"duration":16,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":8,"value":{"aM":0}}]},{"name":"生长光点8","colorFrame":[{"duration":2,"tweenEasing":0,"value":{"aM":0}},{"duration":10,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":15,"value":{"aM":0}}]},{"name":"生长光点9","colorFrame":[{"duration":4,"tweenEasing":0,"value":{"aM":0}},{"duration":19,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":4,"value":{"aM":0}}]},{"name":"生长光点10","colorFrame":[{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":20,"tweenEasing":0},{"duration":3,"tweenEasing":0},{"duration":2,"value":{"aM":0}}]}]}],"defaultActions":[{"gotoAndPlay":"normal"}],"canvas":{"width":382,"height":756}},{"type":"MovieClip","frameRate":24,"name":"MovieClip","bone":[{"name":"root"}],"defaultActions":[{}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "3177927b-5490-4a40-a071-16a9804339fd",
"subMetas": {}
}
\ No newline at end of file
{"name":"grow","SubTexture":[{"name":"生长光点","x":1,"height":114,"y":1,"width":114}],"height":128,"imagePath":"grow_tex.png","width":128}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "f50cbb84-d7d6-4bfb-b5d6-750a3a720723",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "5955660c-9bed-40d2-96ab-d57b69abba9c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 128,
"height": 128,
"platformSettings": {},
"subMetas": {
"grow_tex": {
"ver": "1.0.4",
"uuid": "0d0d518b-03a4-41e5-8924-40e499179326",
"rawTextureUuid": "5955660c-9bed-40d2-96ab-d57b69abba9c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -6,
"offsetY": 6,
"trimX": 1,
"trimY": 1,
"width": 114,
"height": 114,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{"frameRate":24,"name":"vs","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-296.5,"y":-297,"width":593,"height":594},"bone":[{"name":"root"},{"name":"star","parent":"root"},{"name":"vs","parent":"root"},{"name":"star1","parent":"root"},{"name":"star11","parent":"root"},{"name":"star12","parent":"root"},{"name":"star13","parent":"root"},{"name":"star14","parent":"root"},{"name":"star15","parent":"root"},{"name":"star16","parent":"root"},{"name":"star17","parent":"root"},{"name":"star18","parent":"root"},{"name":"star19","parent":"root"},{"name":"star110","parent":"root"}],"slot":[{"name":"star_01","parent":"star","color":{"aM":0}},{"name":"star_011","parent":"star1","color":{"aM":0}},{"name":"star_0111","parent":"star11","color":{"aM":0}},{"name":"star_0112","parent":"star12","color":{"aM":0}},{"name":"star_0113","parent":"star13","color":{"aM":0}},{"name":"star_0114","parent":"star14","color":{"aM":0}},{"name":"star_0115","parent":"star15","color":{"aM":0}},{"name":"star_0116","parent":"star16","color":{"aM":0}},{"name":"star_0117","parent":"star17","color":{"aM":0}},{"name":"star_0118","parent":"star18","color":{"aM":0}},{"name":"star_0119","parent":"star19","color":{"aM":0}},{"name":"star_01110","parent":"star110","color":{"aM":0}},{"name":"img_vs","parent":"vs"}],"skin":[{"slot":[{"name":"star_0115","display":[{"name":"star_01"}]},{"name":"star_0111","display":[{"name":"star_01"}]},{"name":"star_0118","display":[{"name":"star_01"}]},{"name":"star_01","display":[{"name":"star_01"}]},{"name":"star_011","display":[{"name":"star_01"}]},{"name":"img_vs","display":[{"name":"img_vs"}]},{"name":"star_0113","display":[{"name":"star_01"}]},{"name":"star_0117","display":[{"name":"star_01"}]},{"name":"star_0119","display":[{"name":"star_01"}]},{"name":"star_0116","display":[{"name":"star_01"}]},{"name":"star_01110","display":[{"name":"star_01"}]},{"name":"star_0112","display":[{"name":"star_01"}]},{"name":"star_0114","display":[{"name":"star_01"}]}]}],"animation":[{"duration":35,"playTimes":0,"name":"normal","bone":[{"name":"star","translateFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":-293.5}],"scaleFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":0.01,"y":0.01}]},{"name":"vs","scaleFrame":[{"duration":6,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":1.47,"y":1.47},{"duration":11,"tweenEasing":0,"x":1.47,"y":1.47},{"duration":10}]},{"name":"star1","translateFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":388.5}],"scaleFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":0.01,"y":0.01}]},{"name":"star11","translateFrame":[{"duration":20},{"duration":11,"tweenEasing":0},{"duration":4,"x":-315,"y":-153.5}],"scaleFrame":[{"duration":20},{"duration":11,"tweenEasing":0},{"duration":4,"x":-0.36,"y":-0.36}]},{"name":"star12","translateFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":-189,"y":277}],"scaleFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":0.01,"y":0.01}]},{"name":"star13","translateFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":-165,"y":-345.5}],"scaleFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":0.01,"y":0.01}]},{"name":"star14","translateFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":125,"y":297}],"scaleFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":0.01,"y":0.01}]},{"name":"star15","translateFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":129.5,"y":-340}],"scaleFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":0.01,"y":0.01}]},{"name":"star16","translateFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":199.5,"y":247.5}],"scaleFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":0.01,"y":0.01}]},{"name":"star17","translateFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"y":-389}],"scaleFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":0.01,"y":0.01}]},{"name":"star18","translateFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":-32.5,"y":370.5}],"scaleFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":0.01,"y":0.01}]},{"name":"star19","translateFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":-311.5,"y":181.5}],"scaleFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":0.01,"y":0.01}]},{"name":"star110","translateFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":321,"y":-202}],"scaleFrame":[{"duration":20},{"duration":15,"tweenEasing":0},{"duration":0,"x":0.01,"y":0.01}]}],"slot":[{"name":"star_01","colorFrame":[{"duration":20,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":10}]},{"name":"star_011","colorFrame":[{"duration":20,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0},{"duration":4,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"star_0111","colorFrame":[{"duration":20,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0},{"duration":4,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"star_0112","colorFrame":[{"duration":20,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0},{"duration":4,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"star_0113","colorFrame":[{"duration":20,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0},{"duration":4,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"star_0114","colorFrame":[{"duration":20,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":10}]},{"name":"star_0115","colorFrame":[{"duration":20,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"duration":10}]},{"name":"star_0116","colorFrame":[{"duration":20,"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0,"value":{"aM":0}},{"duration":9}]},{"name":"star_0117","colorFrame":[{"duration":20,"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0,"value":{"aM":0}},{"duration":9}]},{"name":"star_0118","colorFrame":[{"duration":20,"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0,"value":{"aM":0}},{"duration":9}]},{"name":"star_0119","colorFrame":[{"duration":20,"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0},{"duration":4,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"star_01110","colorFrame":[{"duration":20,"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0},{"duration":4,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]}],"zOrder":{"frame":[{"duration":35}]}}],"defaultActions":[{"gotoAndPlay":"normal"}],"canvas":{"width":1024,"height":1024}},{"type":"MovieClip","frameRate":24,"name":"MovieClip","bone":[{"name":"root"}],"defaultActions":[{}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "cd47b9bc-3df9-4102-8708-9981e0cbf221",
"subMetas": {}
}
\ No newline at end of file
{"name":"vs","SubTexture":[{"name":"star_01","x":1,"height":169,"y":597,"width":174},{"name":"img_vs","x":1,"height":594,"y":1,"width":593}],"height":1024,"imagePath":"vs_tex.png","width":1024}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "4d383739-c916-4c07-8eb0-933686886df6",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f3f3e66a-ef67-423c-8ddc-ab5c5397bb66",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1024,
"height": 1024,
"platformSettings": {},
"subMetas": {
"vs_tex": {
"ver": "1.0.4",
"uuid": "c76707fb-0d0f-4310-aae9-c8011dccbe85",
"rawTextureUuid": "f3f3e66a-ef67-423c-8ddc-ab5c5397bb66",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -214.5,
"offsetY": 128.5,
"trimX": 1,
"trimY": 1,
"width": 593,
"height": 765,
"rawWidth": 1024,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "e8c8033c-0218-413a-85c2-d3f3f694ea72",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "16a2c4e8-61fc-46f2-b6ac-55e744630ede",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "LoadingLayer",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 7
},
{
"__id__": 11
},
{
"__id__": 14
},
{
"__id__": 17
},
{
"__id__": 21
},
{
"__id__": 25
},
{
"__id__": 34
}
],
"_active": true,
"_components": [
{
"__id__": 54
},
{
"__id__": 55
}
],
"_prefab": {
"__id__": 56
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"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": ""
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 4
},
{
"__id__": 5
}
],
"_prefab": {
"__id__": 6
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
640,
360,
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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "2163211c-9302-4166-893a-be24e4eda962"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__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": 2176,
"_originalHeight": 1600,
"_id": ""
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_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": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "a1GjpGzJdD65Biy/y88Sq8",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "layout",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
},
{
"__id__": 9
}
],
"_prefab": {
"__id__": 10
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
640,
610,
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": ""
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 300,
"height": 200
},
"_resize": 1,
"_N$layoutType": 1,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 500,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 18,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 250,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "afaLDsGNdF8rTS2GfZ3h3s",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "left",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
}
],
"_prefab": {
"__id__": 13
},
"_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": [
240,
610,
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": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 18,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 250,
"_horizontalCenter": -400,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "24ejo0WoZJxpoRK40tkCN+",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 15
}
],
"_prefab": {
"__id__": 16
},
"_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": [
1040,
610,
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": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 18,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 250,
"_horizontalCenter": 400,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "42DCsVISJGIKgyDyhKrDpv",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "vs",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
},
{
"__id__": 19
}
],
"_prefab": {
"__id__": 20
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 593,
"height": 594
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
640,
610,
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": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 18,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 250,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "cd47b9bc-3df9-4102-8708-9981e0cbf221#4d383739-c916-4c07-8eb0-933686886df6",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "cd47b9bc-3df9-4102-8708-9981e0cbf221"
},
"_N$dragonAtlasAsset": {
"__uuid__": "4d383739-c916-4c07-8eb0-933686886df6"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "4cZmgdmo1Az6QuveaZ6W/3",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "label",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 22
},
{
"__id__": 23
}
],
"_prefab": {
"__id__": 24
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 63
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
640,
633.901,
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": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "",
"_N$string": "",
"_fontSize": 50,
"_lineHeight": 50,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "bdac295a-5671-4f2e-a096-d1f0cbe4355b"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 16,
"_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": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "8bJSQRyJRA0Jkcc+8GY5Do",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "progressBar",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 26
}
],
"_active": true,
"_components": [
{
"__id__": 30
},
{
"__id__": 31
},
{
"__id__": 32
}
],
"_prefab": {
"__id__": 33
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1578,
"height": 42
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
640,
555,
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": ""
},
{
"__type__": "cc.Node",
"_name": "bar",
"_objFlags": 512,
"_parent": {
"__id__": 25
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 27
},
{
"__id__": 28
}
],
"_prefab": {
"__id__": 29
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 32
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-784,
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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6359268b-7d99-407e-a7e4-2d29eaf0bc67"
},
"_type": 2,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 8,
"_left": 5,
"_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": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "1coIwLNVZGEZEzF3dItpuK",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "18994b29-1d03-4165-a3ec-a470e996e99a"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.ProgressBar",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
},
"_enabled": true,
"_N$totalLength": 1568,
"_N$barSprite": {
"__id__": 27
},
"_N$mode": 0,
"_N$progress": 0,
"_N$reverse": false,
"_id": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 16,
"_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": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "55nJZ9Uk5CArtjDKXyL9xa",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "head",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 35
},
{
"__id__": 38
},
{
"__id__": 44
},
{
"__id__": 47
},
{
"__id__": 50
}
],
"_active": false,
"_components": [],
"_prefab": {
"__id__": 53
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 340,
"height": 340
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1233.11,
-606.716,
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": ""
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 34
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 36
}
],
"_prefab": {
"__id__": 37
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 258,
"height": 258
},
"_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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "89d07b3a-2999-49eb-9a7f-31addfa26717"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "eauguU1wtOrbhO0xPWGhAt",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 34
},
"_children": [
{
"__id__": 39
}
],
"_active": true,
"_components": [
{
"__id__": 42
}
],
"_prefab": {
"__id__": 43
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 258,
"height": 258
},
"_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": ""
},
{
"__type__": "cc.Node",
"_name": "headImg",
"_objFlags": 0,
"_parent": {
"__id__": 38
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 40
}
],
"_prefab": {
"__id__": 41
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 36
},
"_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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "60BI1U1b9OoZRIDunWHW0a",
"sync": false
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 38
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_spriteFrame": {
"__uuid__": "89d07b3a-2999-49eb-9a7f-31addfa26717"
},
"_type": 2,
"_segments": 64,
"_N$alphaThreshold": 0.6,
"_N$inverted": false,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "5cd2Jos1dOS46NiARvN6qg",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "frame",
"_objFlags": 0,
"_parent": {
"__id__": 34
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 45
}
],
"_prefab": {
"__id__": 46
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 280,
"height": 280
},
"_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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 1,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d1e76bbe-19cd-4b0f-b1e4-1dab0f15db1b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "8aSOlD3bNAYbWZEGUBpU7X",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "frame_self",
"_objFlags": 0,
"_parent": {
"__id__": 34
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 48
}
],
"_prefab": {
"__id__": 49
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 388,
"height": 388
},
"_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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 47
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "18e7b494-5f08-424a-bcc9-7c802668be83"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "ddBCn3FshPQ4V9KDNSlBfr",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "name",
"_objFlags": 0,
"_parent": {
"__id__": 34
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 51
}
],
"_prefab": {
"__id__": 52
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 122.34,
"height": 63
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-203.314,
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": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "Label",
"_N$string": "Label",
"_fontSize": 50,
"_lineHeight": 50,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "b2c8b99b-9591-4c2d-8fe0-34536a5d109d"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "6anh4wjaRPMqyS2LhXSx4j",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "f9qrJyDh5P1oErn3FfsNL7",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"alignMode": 2,
"_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": ""
},
{
"__type__": "3fc7eOREhBBg64j6ED+6MVe",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"fileId": "",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "4839576b-7c74-49ab-aa3e-8eeec631d7c0",
"optimizationPolicy": "SINGLE_INSTANCE",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "e2900f5f-b4c4-4e75-af9c-44394cc4773c",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "b2c8b99b-9591-4c2d-8fe0-34536a5d109d",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "47ac2804-dd13-4e67-a551-f2af947a17a4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2176,
"height": 1600,
"platformSettings": {},
"subMetas": {
"bg": {
"ver": "1.0.4",
"uuid": "2163211c-9302-4166-893a-be24e4eda962",
"rawTextureUuid": "47ac2804-dd13-4e67-a551-f2af947a17a4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 2176,
"height": 1600,
"rawWidth": 2176,
"rawHeight": 1600,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "bdac295a-5671-4f2e-a096-d1f0cbe4355b",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "30eca875-dbb3-4505-b41f-3f502fa4f3e7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "point",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1568,
"height": 32,
"platformSettings": {},
"subMetas": {
"progress_bar": {
"ver": "1.0.4",
"uuid": "6359268b-7d99-407e-a7e4-2d29eaf0bc67",
"rawTextureUuid": "30eca875-dbb3-4505-b41f-3f502fa4f3e7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1568,
"height": 32,
"rawWidth": 1568,
"rawHeight": 32,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "2614ae74-82b8-4165-b007-67734e1fab8e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "point",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1578,
"height": 42,
"platformSettings": {},
"subMetas": {
"progress_bg": {
"ver": "1.0.4",
"uuid": "18994b29-1d03-4165-a3ec-a470e996e99a",
"rawTextureUuid": "2614ae74-82b8-4165-b007-67734e1fab8e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1578,
"height": 42,
"rawWidth": 1578,
"rawHeight": 42,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "3377045c-74ca-4627-8df4-0c602930a041",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 280,
"height": 280,
"platformSettings": {},
"subMetas": {
"tx_01": {
"ver": "1.0.4",
"uuid": "d1e76bbe-19cd-4b0f-b1e4-1dab0f15db1b",
"rawTextureUuid": "3377045c-74ca-4627-8df4-0c602930a041",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 280,
"height": 280,
"rawWidth": 280,
"rawHeight": 280,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "407949db-a810-44d7-ada9-9956e0feb5dd",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 258,
"height": 258,
"platformSettings": {},
"subMetas": {
"tx_01zw": {
"ver": "1.0.4",
"uuid": "89d07b3a-2999-49eb-9a7f-31addfa26717",
"rawTextureUuid": "407949db-a810-44d7-ada9-9956e0feb5dd",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 258,
"height": 258,
"rawWidth": 258,
"rawHeight": 258,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "c66a5e80-6f62-4db4-8b0e-dd54c24577da",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 388,
"height": 388,
"platformSettings": {},
"subMetas": {
"tx_xuanzhong": {
"ver": "1.0.4",
"uuid": "18e7b494-5f08-424a-bcc9-7c802668be83",
"rawTextureUuid": "c66a5e80-6f62-4db4-8b0e-dd54c24577da",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 388,
"height": 388,
"rawWidth": 388,
"rawHeight": 388,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -17,7 +17,7 @@
"__id__": 2
},
{
"__id__": 132
"__id__": 141
}
],
"_active": false,
......@@ -84,13 +84,13 @@
"_active": true,
"_components": [
{
"__id__": 129
"__id__": 138
},
{
"__id__": 130
"__id__": 139
},
{
"__id__": 131
"__id__": 140
}
],
"_prefab": null,
......@@ -345,13 +345,16 @@
"__id__": 8
},
{
"__id__": 100
"__id__": 103
},
{
"__id__": 111
"__id__": 116
},
{
"__id__": 122
"__id__": 129
},
{
"__id__": 136
}
],
"_active": true,
......@@ -419,13 +422,13 @@
"__id__": 11
},
{
"__id__": 18
"__id__": 21
},
{
"__id__": 96
"__id__": 99
},
{
"__id__": 98
"__id__": 101
}
],
"_active": true,
......@@ -584,10 +587,13 @@
"__id__": 12
},
{
"__id__": 14
"__id__": 15
},
{
"__id__": 16
"__id__": 17
},
{
"__id__": 19
}
],
"_active": true,
......@@ -652,6 +658,9 @@
"_components": [
{
"__id__": 13
},
{
"__id__": 14
}
],
"_prefab": null,
......@@ -734,6 +743,74 @@
"_atlas": null,
"_id": "1evXM5BgpNXKdgnSmaUqVs"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_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": "12qeOVYsxHkqMMPpsd4PHk"
},
{
"__type__": "cc.Node",
"_name": "point",
......@@ -745,7 +822,7 @@
"_active": true,
"_components": [
{
"__id__": 15
"__id__": 16
}
],
"_prefab": null,
......@@ -801,7 +878,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 14
"__id__": 15
},
"_enabled": true,
"_materials": [
......@@ -839,7 +916,7 @@
"_active": true,
"_components": [
{
"__id__": 17
"__id__": 18
}
],
"_prefab": null,
......@@ -895,7 +972,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
"__id__": 17
},
"_enabled": true,
"_materials": [
......@@ -922,6 +999,100 @@
"_atlas": null,
"_id": "36ctt3aVdB+rALZBlY4eqX"
},
{
"__type__": "cc.Node",
"_name": "hatBlink",
"_objFlags": 0,
"_parent": {
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 20
}
],
"_prefab": null,
"_opacity": 0,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 156,
"height": 155
},
"_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": "93G51qUUdGmpVjcJMf/YFZ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4fb05006-f192-4fa2-a680-64030ca06442"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "eb6vqvJLlIZLmARGnJkoYq"
},
{
"__type__": "cc.Node",
"_name": "boardItems",
......@@ -931,10 +1102,7 @@
},
"_children": [
{
"__id__": 19
},
{
"__id__": 21
"__id__": 22
},
{
"__id__": 24
......@@ -1007,6 +1175,9 @@
},
{
"__id__": 93
},
{
"__id__": 96
}
],
"_active": true,
......@@ -1064,13 +1235,13 @@
"_name": "start",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 20
"__id__": 23
}
],
"_prefab": null,
......@@ -1126,7 +1297,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
"__id__": 22
},
"_enabled": true,
"letter": "S",
......@@ -1139,16 +1310,16 @@
"_name": "dog",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 22
"__id__": 25
},
{
"__id__": 23
"__id__": 26
}
],
"_prefab": null,
......@@ -1204,7 +1375,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
"__id__": 24
},
"_enabled": true,
"_materials": [
......@@ -1236,7 +1407,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
"__id__": 24
},
"_enabled": true,
"letter": "D",
......@@ -1249,16 +1420,16 @@
"_name": "fan",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 25
"__id__": 28
},
{
"__id__": 26
"__id__": 29
}
],
"_prefab": null,
......@@ -1314,7 +1485,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
"__id__": 27
},
"_enabled": true,
"_materials": [
......@@ -1346,7 +1517,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
"__id__": 27
},
"_enabled": true,
"letter": "F",
......@@ -1359,16 +1530,16 @@
"_name": "cat",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 28
"__id__": 31
},
{
"__id__": 29
"__id__": 32
}
],
"_prefab": null,
......@@ -1424,7 +1595,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 27
"__id__": 30
},
"_enabled": true,
"_materials": [
......@@ -1456,7 +1627,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 27
"__id__": 30
},
"_enabled": true,
"letter": "C",
......@@ -1469,16 +1640,16 @@
"_name": "tea",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 31
"__id__": 34
},
{
"__id__": 32
"__id__": 35
}
],
"_prefab": null,
......@@ -1534,7 +1705,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
"__id__": 33
},
"_enabled": true,
"_materials": [
......@@ -1566,7 +1737,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
"__id__": 33
},
"_enabled": true,
"letter": "C",
......@@ -1579,16 +1750,16 @@
"_name": "ant",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 34
"__id__": 37
},
{
"__id__": 35
"__id__": 38
}
],
"_prefab": null,
......@@ -1644,7 +1815,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
"__id__": 36
},
"_enabled": true,
"_materials": [
......@@ -1676,7 +1847,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
"__id__": 36
},
"_enabled": true,
"letter": "A",
......@@ -1689,16 +1860,16 @@
"_name": "envelope",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 37
"__id__": 40
},
{
"__id__": 38
"__id__": 41
}
],
"_prefab": null,
......@@ -1754,7 +1925,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
"__id__": 39
},
"_enabled": true,
"_materials": [
......@@ -1786,7 +1957,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 36
"__id__": 39
},
"_enabled": true,
"letter": "E",
......@@ -1799,16 +1970,16 @@
"_name": "bed",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 40
"__id__": 43
},
{
"__id__": 41
"__id__": 44
}
],
"_prefab": null,
......@@ -1864,7 +2035,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
"__id__": 42
},
"_enabled": true,
"_materials": [
......@@ -1896,7 +2067,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
"__id__": 42
},
"_enabled": true,
"letter": "B",
......@@ -1909,16 +2080,16 @@
"_name": "computer",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 43
"__id__": 46
},
{
"__id__": 44
"__id__": 47
}
],
"_prefab": null,
......@@ -1974,7 +2145,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
"__id__": 45
},
"_enabled": true,
"_materials": [
......@@ -2006,7 +2177,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 42
"__id__": 45
},
"_enabled": true,
"letter": "C",
......@@ -2019,16 +2190,16 @@
"_name": "fork",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 46
"__id__": 49
},
{
"__id__": 47
"__id__": 50
}
],
"_prefab": null,
......@@ -2084,7 +2255,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
"__id__": 48
},
"_enabled": true,
"_materials": [
......@@ -2116,7 +2287,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
"__id__": 48
},
"_enabled": true,
"letter": "F",
......@@ -2129,16 +2300,16 @@
"_name": "apple",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 49
"__id__": 52
},
{
"__id__": 50
"__id__": 53
}
],
"_prefab": null,
......@@ -2194,7 +2365,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
"__id__": 51
},
"_enabled": true,
"_materials": [
......@@ -2226,7 +2397,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
"__id__": 51
},
"_enabled": true,
"letter": "A",
......@@ -2239,16 +2410,16 @@
"_name": "doll",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 52
"__id__": 55
},
{
"__id__": 53
"__id__": 56
}
],
"_prefab": null,
......@@ -2304,7 +2475,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
"__id__": 54
},
"_enabled": true,
"_materials": [
......@@ -2336,7 +2507,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
"__id__": 54
},
"_enabled": true,
"letter": "D",
......@@ -2349,16 +2520,16 @@
"_name": "car",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 55
"__id__": 58
},
{
"__id__": 56
"__id__": 59
}
],
"_prefab": null,
......@@ -2414,7 +2585,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 54
"__id__": 57
},
"_enabled": true,
"_materials": [
......@@ -2446,7 +2617,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 54
"__id__": 57
},
"_enabled": true,
"letter": "C",
......@@ -2459,16 +2630,16 @@
"_name": "desk",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 58
"__id__": 61
},
{
"__id__": 59
"__id__": 62
}
],
"_prefab": null,
......@@ -2524,7 +2695,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
"__id__": 60
},
"_enabled": true,
"_materials": [
......@@ -2556,7 +2727,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 57
"__id__": 60
},
"_enabled": true,
"letter": "D",
......@@ -2569,16 +2740,16 @@
"_name": "ax",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 61
"__id__": 64
},
{
"__id__": 62
"__id__": 65
}
],
"_prefab": null,
......@@ -2634,7 +2805,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
"__id__": 63
},
"_enabled": true,
"_materials": [
......@@ -2666,7 +2837,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
"__id__": 63
},
"_enabled": true,
"letter": "A",
......@@ -2679,16 +2850,16 @@
"_name": "fish",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 64
"__id__": 67
},
{
"__id__": 65
"__id__": 68
}
],
"_prefab": null,
......@@ -2744,7 +2915,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
"__id__": 66
},
"_enabled": true,
"_materials": [
......@@ -2776,7 +2947,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
"__id__": 66
},
"_enabled": true,
"letter": "F",
......@@ -2789,16 +2960,16 @@
"_name": "banana",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 67
"__id__": 70
},
{
"__id__": 68
"__id__": 71
}
],
"_prefab": null,
......@@ -2854,7 +3025,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
"__id__": 69
},
"_enabled": true,
"_materials": [
......@@ -2886,7 +3057,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 66
"__id__": 69
},
"_enabled": true,
"letter": "B",
......@@ -2899,16 +3070,16 @@
"_name": "elbow",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 70
"__id__": 73
},
{
"__id__": 71
"__id__": 74
}
],
"_prefab": null,
......@@ -2964,7 +3135,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 69
"__id__": 72
},
"_enabled": true,
"_materials": [
......@@ -2996,7 +3167,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 69
"__id__": 72
},
"_enabled": true,
"letter": "E",
......@@ -3009,16 +3180,16 @@
"_name": "bird",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 73
"__id__": 76
},
{
"__id__": 74
"__id__": 77
}
],
"_prefab": null,
......@@ -3074,7 +3245,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
"__id__": 75
},
"_enabled": true,
"_materials": [
......@@ -3106,7 +3277,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 72
"__id__": 75
},
"_enabled": true,
"letter": "B",
......@@ -3119,16 +3290,16 @@
"_name": "house",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 76
"__id__": 79
},
{
"__id__": 77
"__id__": 80
}
],
"_prefab": null,
......@@ -3184,7 +3355,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
"__id__": 78
},
"_enabled": true,
"_materials": [
......@@ -3216,7 +3387,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 75
"__id__": 78
},
"_enabled": true,
"letter": "H",
......@@ -3229,16 +3400,16 @@
"_name": "egg",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 79
"__id__": 82
},
{
"__id__": 80
"__id__": 83
}
],
"_prefab": null,
......@@ -3294,7 +3465,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
"__id__": 81
},
"_enabled": true,
"_materials": [
......@@ -3326,7 +3497,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
"__id__": 81
},
"_enabled": true,
"letter": "E",
......@@ -3339,16 +3510,16 @@
"_name": "bear",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 82
"__id__": 85
},
{
"__id__": 83
"__id__": 86
}
],
"_prefab": null,
......@@ -3404,7 +3575,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
"__id__": 84
},
"_enabled": true,
"_materials": [
......@@ -3436,7 +3607,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 81
"__id__": 84
},
"_enabled": true,
"letter": "B",
......@@ -3449,16 +3620,16 @@
"_name": "duck",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 85
"__id__": 88
},
{
"__id__": 86
"__id__": 89
}
],
"_prefab": null,
......@@ -3514,7 +3685,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
"__id__": 87
},
"_enabled": true,
"_materials": [
......@@ -3546,7 +3717,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 84
"__id__": 87
},
"_enabled": true,
"letter": "D",
......@@ -3559,16 +3730,16 @@
"_name": "elephant",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 88
"__id__": 91
},
{
"__id__": 89
"__id__": 92
}
],
"_prefab": null,
......@@ -3624,7 +3795,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
"__id__": 90
},
"_enabled": true,
"_materials": [
......@@ -3656,7 +3827,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 87
"__id__": 90
},
"_enabled": true,
"letter": "E",
......@@ -3669,16 +3840,16 @@
"_name": "alligator",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 91
"__id__": 94
},
{
"__id__": 92
"__id__": 95
}
],
"_prefab": null,
......@@ -3734,7 +3905,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 90
"__id__": 93
},
"_enabled": true,
"_materials": [
......@@ -3766,7 +3937,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 90
"__id__": 93
},
"_enabled": true,
"letter": "A",
......@@ -3779,16 +3950,16 @@
"_name": "end",
"_objFlags": 0,
"_parent": {
"__id__": 18
"__id__": 21
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 94
"__id__": 97
},
{
"__id__": 95
"__id__": 98
}
],
"_prefab": null,
......@@ -3844,7 +4015,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
"__id__": 96
},
"_enabled": true,
"_materials": [
......@@ -3874,7 +4045,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 93
"__id__": 96
},
"_enabled": true,
"letter": "E",
......@@ -3893,7 +4064,7 @@
"_active": true,
"_components": [
{
"__id__": 97
"__id__": 100
}
],
"_prefab": null,
......@@ -3913,14 +4084,14 @@
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
921.256,
-707.598,
928.148,
-790.304,
0,
0,
0,
......@@ -3949,7 +4120,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 96
"__id__": 99
},
"_enabled": true,
"_materials": [
......@@ -3987,7 +4158,7 @@
"_active": true,
"_components": [
{
"__id__": 99
"__id__": 102
}
],
"_prefab": null,
......@@ -4007,14 +4178,14 @@
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-938.793,
-701.08,
-931.901,
-783.786,
0,
0,
0,
......@@ -4043,7 +4214,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 98
"__id__": 101
},
"_enabled": true,
"_materials": [
......@@ -4079,13 +4250,16 @@
},
"_children": [
{
"__id__": 101
"__id__": 104
},
{
"__id__": 107
"__id__": 110
},
{
"__id__": 109
"__id__": 112
},
{
"__id__": 114
}
],
"_active": true,
......@@ -4143,17 +4317,17 @@
"_name": "life_blue",
"_objFlags": 0,
"_parent": {
"__id__": 100
"__id__": 103
},
"_children": [
{
"__id__": 102
"__id__": 105
}
],
"_active": true,
"_components": [
{
"__id__": 106
"__id__": 109
}
],
"_prefab": null,
......@@ -4209,17 +4383,17 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 101
"__id__": 104
},
"_children": [
{
"__id__": 103
"__id__": 106
}
],
"_active": true,
"_components": [
{
"__id__": 105
"__id__": 108
}
],
"_prefab": null,
......@@ -4275,13 +4449,13 @@
"_name": "prograssbar",
"_objFlags": 0,
"_parent": {
"__id__": 102
"__id__": 105
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 104
"__id__": 107
}
],
"_prefab": null,
......@@ -4337,7 +4511,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 103
"__id__": 106
},
"_enabled": true,
"_materials": [
......@@ -4369,7 +4543,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
"__id__": 105
},
"_enabled": true,
"_materials": [
......@@ -4389,7 +4563,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 101
"__id__": 104
},
"_enabled": true,
"_materials": [
......@@ -4421,13 +4595,13 @@
"_name": "dice_bg",
"_objFlags": 0,
"_parent": {
"__id__": 100
"__id__": 103
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 108
"__id__": 111
}
],
"_prefab": null,
......@@ -4483,7 +4657,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 107
"__id__": 110
},
"_enabled": true,
"_materials": [
......@@ -4512,16 +4686,110 @@
},
{
"__type__": "cc.Node",
"_name": "pieceBlue",
"_name": "faceFrame",
"_objFlags": 0,
"_parent": {
"__id__": 100
"__id__": 103
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 110
"__id__": 113
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 319,
"height": 319
},
"_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": "0bfyX/nTdPJIpfRKUryv4/"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 112
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "961b4c40-b93f-4af5-af66-e3683eb2b5b6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "3eBvzgQ0pNBaDuTKh285uq"
},
{
"__type__": "cc.Node",
"_name": "faceBlue",
"_objFlags": 0,
"_parent": {
"__id__": 103
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 115
}
],
"_prefab": null,
......@@ -4577,7 +4845,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 109
"__id__": 114
},
"_enabled": true,
"_materials": [
......@@ -4613,13 +4881,16 @@
},
"_children": [
{
"__id__": 112
"__id__": 117
},
{
"__id__": 118
"__id__": 123
},
{
"__id__": 120
"__id__": 125
},
{
"__id__": 127
}
],
"_active": true,
......@@ -4677,17 +4948,17 @@
"_name": "life_red",
"_objFlags": 0,
"_parent": {
"__id__": 111
"__id__": 116
},
"_children": [
{
"__id__": 113
"__id__": 118
}
],
"_active": true,
"_components": [
{
"__id__": 117
"__id__": 122
}
],
"_prefab": null,
......@@ -4743,17 +5014,17 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 112
"__id__": 117
},
"_children": [
{
"__id__": 114
"__id__": 119
}
],
"_active": true,
"_components": [
{
"__id__": 116
"__id__": 121
}
],
"_prefab": null,
......@@ -4809,13 +5080,13 @@
"_name": "prograssbar",
"_objFlags": 0,
"_parent": {
"__id__": 113
"__id__": 118
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 115
"__id__": 120
}
],
"_prefab": null,
......@@ -4871,7 +5142,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 114
"__id__": 119
},
"_enabled": true,
"_materials": [
......@@ -4903,7 +5174,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 113
"__id__": 118
},
"_enabled": true,
"_materials": [
......@@ -4923,7 +5194,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 112
"__id__": 117
},
"_enabled": true,
"_materials": [
......@@ -4955,13 +5226,13 @@
"_name": "dice_bg",
"_objFlags": 0,
"_parent": {
"__id__": 111
"__id__": 116
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 119
"__id__": 124
}
],
"_prefab": null,
......@@ -5017,7 +5288,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 118
"__id__": 123
},
"_enabled": true,
"_materials": [
......@@ -5046,16 +5317,110 @@
},
{
"__type__": "cc.Node",
"_name": "pieceRed",
"_name": "faceFrame",
"_objFlags": 0,
"_parent": {
"__id__": 111
"__id__": 116
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 121
"__id__": 126
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 319,
"height": 319
},
"_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": "81ZHP6D99B8LMITFwVAYJd"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 125
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ad273e18-b723-4e1d-9092-71a4de3aa643"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "edAsFxZ/FGAasLXSBFMn7B"
},
{
"__type__": "cc.Node",
"_name": "faceRed",
"_objFlags": 0,
"_parent": {
"__id__": 116
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 128
}
],
"_prefab": null,
......@@ -5111,7 +5476,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 120
"__id__": 127
},
"_enabled": true,
"_materials": [
......@@ -5147,13 +5512,13 @@
},
"_children": [
{
"__id__": 123
"__id__": 130
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 128
"__id__": 135
}
],
"_prefab": null,
......@@ -5209,20 +5574,20 @@
"_name": "Background",
"_objFlags": 512,
"_parent": {
"__id__": 122
"__id__": 129
},
"_children": [
{
"__id__": 124
"__id__": 131
}
],
"_active": true,
"_components": [
{
"__id__": 126
"__id__": 133
},
{
"__id__": 127
"__id__": 134
}
],
"_prefab": null,
......@@ -5278,13 +5643,13 @@
"_name": "Label",
"_objFlags": 512,
"_parent": {
"__id__": 123
"__id__": 130
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 125
"__id__": 132
}
],
"_prefab": null,
......@@ -5340,7 +5705,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 124
"__id__": 131
},
"_enabled": true,
"_materials": [
......@@ -5373,7 +5738,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
"__id__": 130
},
"_enabled": true,
"_materials": [
......@@ -5405,7 +5770,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
"__id__": 130
},
"_enabled": true,
"alignMode": 0,
......@@ -5432,7 +5797,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 122
"__id__": 129
},
"_enabled": true,
"_normalMaterial": null,
......@@ -5505,10 +5870,99 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 123
"__id__": 130
},
"_id": "72uh6FFMhPZJXe9I3tJ4Qt"
},
{
"__type__": "cc.Node",
"_name": "loadingLayerBase",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 137
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 2560,
"height": 1920
},
"_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": "2eyal03X9Mp4FrqxkZCAVH"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 136
},
"_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": "9fr0grwX5J57n69Cqpwnin"
},
{
"__type__": "cc.Canvas",
"_name": "",
......@@ -5561,6 +6015,9 @@
"__id__": 2
},
"_enabled": true,
"loadingLayerPrefab": {
"__uuid__": "4839576b-7c74-49ab-aa3e-8eeec631d7c0"
},
"_id": "eaTVUpqahPfZeO9+sUI7RP"
},
{
......@@ -5574,7 +6031,7 @@
"_active": true,
"_components": [
{
"__id__": 133
"__id__": 142
}
],
"_prefab": null,
......@@ -5630,7 +6087,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 132
"__id__": 141
},
"_enabled": true,
"_materials": [
......
import { asyncDelay, asyncTweenTo, onHomeworkFinish, RandomInt } from "../script/util";
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent";
import { NetworkHelper } from "./NetworkHelper";
import { NetworkHelper } from "../script/NetworkHelper";
import { GameServer } from "../script/Server";
const { ccclass, property } = cc._decorator;
@ccclass
export default class SceneComponent extends MyCocosSceneComponent {
@property(cc.Prefab)
loadingLayerPrefab = null;
addPreloadImage() {
// TODO 根据自己的配置预加载图片资源
// this._imageResList.push({ url: this.data.pic_url });
......@@ -28,66 +32,40 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.initListener();
}
gameData;
_status = {
Red: 0,
Blue: 0,
letter: '',
current: 'Blue'
};
playerId;
isRoomOwner;
server: GameServer;
networkHelper: NetworkHelper;
async initData() {
this.networkHelper = new NetworkHelper();
this.gameData = { Red: 0, Blue: 0, current: 'Blue' };
this.playerId = await this.networkHelper.init('op_16', 2);
const roomInfo = this.networkHelper.getRoomInfo();
if (roomInfo.playerList.length == roomInfo.maxPlayers) {
if (this.playerId == roomInfo.playerList[0].id) {
this.networkHelper.startGame();
}
}
roomInfo.playerList.forEach(player => {
// const startPos = JSON.parse(player.customProfile);
// this.createTank(player.id, startPos);
});
this.initNetworkListener();
this.networkHelper.on('playerJoin', (event) => {
const roomInfo = this.networkHelper.getRoomInfo();
if (roomInfo.playerList.length == roomInfo.maxPlayers) {
this.networkHelper.startGame();
}
this.log("playerJoin" + JSON.stringify(event));
});
this.networkHelper.on('playerLeave', (event) => {
this.log("playerLeave" + JSON.stringify(event));
});
this.networkHelper.on('gameStart', (event) => {
setInterval(() => {
this.networkHelper.sendFrame({
id: this.playerId,
pos: {
x: RandomInt(-300, 300),
y: RandomInt(-300, 300)
}
});
}, 1000);
});
this.playerId = await this.networkHelper.init('op_16', 2);
this.networkHelper.on('frameEvent', (event) => {
// this.log("frameEvent", event);
const roomInfo = this.networkHelper.getRoomInfo();
event.data.frame.items.forEach(item => {
let node;
if (item.data.id == roomInfo.playerList[0].id) {
node = cc.find('Canvas/bg/chessBoard/pieceBlue');
} else {
node = cc.find('Canvas/bg/chessBoard/pieceRed');
}
cc.tween(node)
.to(0.1, { x: item.data.pos.x, y: item.data.pos.y })
.start();
const room = this.networkHelper.room;
if (this.playerId == room.roomInfo.owner) {
console.log('房主');
this.isRoomOwner = true;
this.server = new GameServer(2, this.networkHelper);
await this.networkHelper.startFrameSync();
this.server.addPlayer({
uuid: this.playerId,
isAI: false
});
});
this.server.startMatch();
}
}
initView() {
this.initBg();
this.initLoadingLayer();
this.initPiece();
}
......@@ -100,42 +78,395 @@ export default class SceneComponent extends MyCocosSceneComponent {
bg.scale = Math.min(canvas.width / bg.width, canvas.height / bg.height);
}
loadingLayer;
initLoadingLayer() {
const loadingLayerBase = cc.find('Canvas/bg/loadingLayerBase');
const loadingLayerNode = cc.instantiate(this.loadingLayerPrefab);
loadingLayerBase.addChild(loadingLayerNode);
this.loadingLayer = loadingLayerNode.getComponent('LoadingLayer');
this.loadingLayer.setMaxPlayerNumber(2);
this.loadingLayer.onLoadFinished(() => {
// if (this.server) {
// this.server.start();
// }
});
}
blinkTheDice() {
const dice = cc.find('Canvas/bg/chessBoard/diceBg/hatBlink');
cc.tween(dice)
.set({ opacity: 0 })
.to(0.3, { opacity: 255 })
.to(0.3, { opacity: 0 })
.union()
.repeatForever()
.start();
}
stopBlinkTheDice() {
const dice = cc.find('Canvas/bg/chessBoard/diceBg/hatBlink');
dice.stopAllActions();
}
greyDice() {
const dice = cc.find('Canvas/bg/chessBoard/diceBg/dice');
dice.color = cc.color(150, 150, 150);
}
stopGreyDice() {
const dice = cc.find('Canvas/bg/chessBoard/diceBg/dice');
dice.color = cc.color(255, 255, 255);
}
initPiece() {
const offsetX = { Red: -45, Blue: 45 };
const offsetY = { Red: -90, Blue: -90 };
const board = cc.find('Canvas/bg/chessBoard/boardItems');
const pieceNodeRed = cc.find(`Canvas/bg/chessBoard/pieceRed`)
const startIdxRed = this.gameData['Red'];
const startIdxRed = this._status['Red'];
const boardNodeRed = board.children[startIdxRed];
pieceNodeRed.x = boardNodeRed.x + offsetX.Red;
pieceNodeRed.y = boardNodeRed.y;
pieceNodeRed.y = boardNodeRed.y + offsetY.Red;
const pieceNodeBlue = cc.find(`Canvas/bg/chessBoard/pieceBlue`)
const startIdxBlue = this.gameData['Blue'];
const startIdxBlue = this._status['Blue'];
const boardNodeBlue = board.children[startIdxBlue];
pieceNodeBlue.x = boardNodeBlue.x + offsetX.Blue;
pieceNodeBlue.y = boardNodeBlue.y;
pieceNodeBlue.y = boardNodeBlue.y + offsetY.Blue;
}
// update (dt) {},
initListener() {
const btn = cc.find('Canvas/bg/New Button');
btn.on('click', async () => {
const idx = RandomInt(6);
await this.rollTheDice(idx);
this.movePiece(
['A', 'B', 'C', 'D', 'E', 'F'][idx],
this.gameData.current
);
this._status.letter = ['A', 'B', 'C', 'D', 'E', 'F'][idx];
});
const dice = cc.find('Canvas/bg/chessBoard/diceBg/dice');
dice.on('click', () => {
if (this._status.letter != '') {
return;
}
const playerMe = this.allPlayerList.find(player => player.uuid == this.playerId);
if (this._status.current == playerMe.color) {
this.networkHelper.sendFrame({
type: 'roll',
uuid: playerMe.uuid
});
}
});
const pieceBlue = cc.find('Canvas/bg/chessBoard/pieceBlue');
this.addPieceTouchEventListener(pieceBlue, 'Blue');
const pieceRed = cc.find('Canvas/bg/chessBoard/pieceRed');
this.addPieceTouchEventListener(pieceRed, 'Red');
}
addPieceTouchEventListener(node: cc.Node, color) {
node.on(cc.Node.EventType.TOUCH_START, (event: cc.Event.EventTouch) => {
if (this._status.current != color) {
this.blinkPiece(node);
return;
}
if (this._status.letter == '') {
this.blinkPiece(node);
return;
}
if (node['cantMove']) {
return;
}
this.stopRollPiece(node);
node['touchStartPos'] = {
nodeX: node.x,
nodeY: node.y,
touchX: event.getLocation().x,
touchY: event.getLocation().y
};
});
node.on(cc.Node.EventType.TOUCH_MOVE, (event: cc.Event.EventTouch) => {
if (this._status.current != color) {
return;
}
if (this._status.letter == '') {
return;
}
if (node['cantMove']) {
return;
}
const pos = event.getLocation();
const touchStartPos = node['touchStartPos'];
const worldNodePos = node.parent.convertToWorldSpaceAR(cc.v2(touchStartPos.nodeX, touchStartPos.nodeY));
const nodePos = node.parent.convertToNodeSpaceAR(cc.v2(
worldNodePos.x + pos.x - touchStartPos.touchX,
worldNodePos.y + pos.y - touchStartPos.touchY,
))
node.setPosition(nodePos);
});
node.on(cc.Node.EventType.TOUCH_END, async (event: cc.Event.EventTouch) => {
if (this._status.current != color) {
return;
}
if (this._status.letter == '') {
return;
}
if (node['cantMove']) {
return;
}
if (this.checkNodeInRightBlock(node, color)) {
const rightBlock = this.getRightBlock();
const idx = this.getNextRightIdx();
this.pieceFindRightBlock(rightBlock, idx);
this._status.letter = '';
this.changeSide();
this.updateStatus();
const playerMe = this.allPlayerList.find(player => player.uuid == this.playerId);
this.networkHelper.sendFrame({
type: 'right',
idx: idx,
uuid: playerMe.uuid,
color: playerMe.color
});
} else {
const playerMe = this.allPlayerList.find(player => player.uuid == this.playerId);
this.networkHelper.sendFrame({
type: 'wrong',
uuid: playerMe.uuid,
color: playerMe.color
});
this._status.letter = '';
this.changeSide();
this.updateStatus();
node['cantMove'] = true;
await this.pieceGoBack(node);
node['cantMove'] = false;
}
});
}
blinkPiece(node) {
node.stopAllActions();
cc.tween(node)
.set({ scale: 1 })
.to(0.05, { scale: 1.05 })
.to(0.05, { scale: 1 })
.start();
}
rollPiece(node: cc.Node) {
node.stopAllActions();
cc.tween(node)
.set({ scale: 1, angle: 0 })
.to(0.1, { angle: -10 })
.to(0.2, { angle: 10 })
.to(0.1, { angle: 0 })
.delay(1)
.union()
.repeatForever()
.start();
}
stopRollPiece(node) {
node.scale = 1;
node.angle = 0;
node.stopAllActions();
}
getRightBlock() {
const board = cc.find('Canvas/bg/chessBoard/boardItems');
const startIdx = this._status[this._status.current];
for (let i = startIdx + 1; i < board.children.length; i++) {
const targetNode = board.children[i];
const itemData = targetNode.getComponent('ItemData');
if (itemData.letter.toLowerCase() == this._status.letter.toLowerCase()) {
return targetNode;
}
}
return null;
}
getNextRightIdx() {
const board = cc.find('Canvas/bg/chessBoard/boardItems');
const startIdx = this._status[this._status.current];
for (let i = startIdx + 1; i < board.children.length; i++) {
const targetNode = board.children[i];
const itemData = targetNode.getComponent('ItemData');
if (itemData.letter.toLowerCase() == this._status.letter.toLowerCase()) {
return i;
}
}
return -1;
}
checkNodeInRightBlock(node, color) {
const board = cc.find('Canvas/bg/chessBoard/boardItems');
const startIdx = this._status[color];
for (let i = startIdx + 1; i < board.children.length; i++) {
const targetNode = board.children[i];
const itemData = targetNode.getComponent('ItemData');
if (itemData.letter.toLowerCase() == this._status.letter.toLowerCase()) {
if (targetNode.getBoundingBox().intersects(node.getBoundingBox())) {
return true;
}
return false
}
}
return false
}
pieceFindRightBlock(rightBlock, idx) {
const board = cc.find('Canvas/bg/chessBoard/boardItems');
const color = this._status.current;
const piece = cc.find(`Canvas/bg/chessBoard/piece${color}`);
const prograssbar = cc.find(`Canvas/bg/Life${color.toLowerCase()}/life_${color.toLowerCase()}/mask/prograssbar`);
const mask = cc.find(`Canvas/bg/Life${color.toLowerCase()}/life_${color.toLowerCase()}/mask`);
const targetHeight = (idx / board.children.length - 2) * prograssbar.height;
const offsetX = { Red: -45, Blue: 45 };
const offsetY = { Red: -90, Blue: -90 };
cc.tween(mask)
.to(1, { height: targetHeight }, { easing: 'cubicInOut' })
.start();
cc.tween(piece)
.to(1, {
x: rightBlock.x + offsetX[color],
y: rightBlock.y + offsetY[color]
})
.start();
this._status[color] = idx;
}
updateStatus(status = null) {
if (status) {
this._status = status;
}
const playerMe = this.allPlayerList.find(player => player.uuid == this.playerId);
if (playerMe.color == this._status.current) {
this.stopGreyDice();
if (this._status.letter == '') {
this.blinkTheDice();
} else {
this.stopBlinkTheDice();
this.rollPiece(this.getCurrentPiece());
}
} else {
this.greyDice();
}
}
getCurrentPiece() {
if (this._status.current == 'Red') {
return cc.find('Canvas/bg/chessBoard/pieceRed');
} else {
return cc.find('Canvas/bg/chessBoard/pieceBlue');
}
}
changeSide() {
if (this._status.current == 'Red') {
this._status.current = 'Blue';
} else {
this._status.current = 'Red';
}
}
pieceGoBack(node) {
return new Promise((resolve, reject) => {
const touchStartPos = node['touchStartPos'];
cc.tween(node)
.to(0.7, { x: touchStartPos.nodeX, y: touchStartPos.nodeY }, { easing: 'cubicOut' })
.call(() => {
resolve(null);
})
.start();
});
}
allPlayerList;
initNetworkListener() {
this.networkHelper.on('playerJoin', (event) => {
if (this.server) {
this.server.onPlayerJoin(event);
}
cc.log("playerJoin" + JSON.stringify(event));
});
this.networkHelper.on('playerLeave', (event) => {
cc.log("playerLeave" + JSON.stringify(event));
});
this.networkHelper.on('gameStart', (event) => {
});
this.networkHelper.on('frameEvent', (event) => {
event.data.frame.items.forEach(async item => {
if (this.server) {
this.server.onFrameEvent(item.data);
}
if (item.data.type == 'SERVER_allPlayerInfo') {
item.data.playerData.forEach(player => {
if (!this.allPlayerList) {
this.allPlayerList = [];
}
if (!this.allPlayerList.find(listPlayer => listPlayer.uuid == player.uuid)) {
this.allPlayerList.push({
uuid: player.uuid,
name: player.name,
color: player.color,
headUrl: player.headUrl
});
}
this.loadPlayerHeadImage();
this.loadingLayer.addPlayer(
player.name,
player.uuid == this.playerId,
player.headUrl,
player.uuid
);
})
} else if (item.data.type == 'SERVER_updateStatus') {
console.log('SERVER_updateStatus: ' + JSON.stringify(item.data.status));
this.updateStatus(item.data.status);
} else if (item.data.type == 'SERVER_playerRoll') {
console.log('item.data.letter = ' + item.data.letter);
const status = this._status;
status.letter = item.data.letter;
const idx = ['A', 'B', 'C', 'D', 'E', 'F'].findIndex(letter => letter == status.letter);
await this.rollTheDice(idx);
this.updateStatus(status);
}
});
});
}
loadPlayerHeadImage() {
const red = cc.find('Canvas/bg/Lifered/faceRed');
const blue = cc.find('Canvas/bg/Lifeblue/faceBlue');
this.allPlayerList.forEach(player => {
this.getSpriteFrimeByUrl(player.headUrl, (sf) => {
if (player.color == 'Red') {
red.getComponent(cc.Sprite).spriteFrame = sf;
} else {
blue.getComponent(cc.Sprite).spriteFrame = sf;
}
});
});
}
async movePiece(letter, color) {
const offsetX = { Red: -45, Blue: 45 };
const offsetY = { Red: -90, Blue: -90 };
const pieceNode = cc.find(`Canvas/bg/chessBoard/piece${color}`)
const board = cc.find('Canvas/bg/chessBoard/boardItems');
const startIdx = this.gameData[color];
const startIdx = this._status[color];
for (let i = startIdx + 1; i < board.children.length; i++) {
const targetNode = board.children[i];
......@@ -148,10 +479,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
.to(1, { height: targetHeight }, { easing: 'cubicInOut' })
.start();
await asyncTweenTo(pieceNode, 1, { x: targetNode.x + offsetX[color], y: targetNode.y }, { easing: 'cubicInOut' });
await asyncTweenTo(pieceNode, 1, {
x: targetNode.x + offsetX[color],
y: targetNode.y + offsetY[color]
}, { easing: 'cubicInOut' });
if (itemData.letter.toLowerCase() == letter.toLowerCase()) {
this.gameData[color] = i;
this._status[color] = i;
return;
}
}
......@@ -163,11 +497,16 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
rollTheDice(num) {
const dice = cc.find('Canvas/bg/chessBoard/diceBg/dice');
if (dice['cantRoll']) {
return;
}
return new Promise((resolve, reject) => {
const dice = cc.find('Canvas/bg/chessBoard/diceBg/dice');
const targetAngle = Math.ceil(dice.angle / 360 + 1) * 360;
const time = (targetAngle - 360 - dice.angle) / 360;
dice['cantRoll'] = true;
cc.tween(dice)
.by(3, { angle: 360 }, { easing: "cubicIn" })
.to(time, { angle: targetAngle })
......@@ -178,6 +517,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
.by(1 / 6 * num, { angle: 60 * num })
.by(3, { angle: 360 }, { easing: "cubicOut" })
.call(() => {
dice['cantRoll'] = false;
resolve(null);
})
.start();
......@@ -193,4 +533,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
});
})
}
// 生命周期
onDestroy() {
this.networkHelper.onDestroy();
}
}
const { ccclass, property } = cc._decorator;
@ccclass
export default class SceneComponent extends cc.Component {
ctor() {
}
// 生命周期 onLoad
onLoad() {
this.initSize();
}
_designSize; // 设计分辨率
_frameSize; // 屏幕分辨率
_mapScaleMin; // 场景中常用缩放(取大值)
_mapScaleMax; // 场景中常用缩放(取小值)
_cocosScale; // cocos 自缩放 (较少用到)
initSize() {
// 注意cc.winSize只有在适配后(修改fitHeight/fitWidth后)才能获取到正确的值,因此使用cc.getFrameSize()来获取初始的屏幕大小
let screen_size = cc.view.getFrameSize().width / cc.view.getFrameSize().height
let design_size = cc.Canvas.instance.designResolution.width / cc.Canvas.instance.designResolution.height
let f = screen_size >= design_size
cc.Canvas.instance.fitHeight = f
cc.Canvas.instance.fitWidth = !f
const frameSize = cc.view.getFrameSize();
this._frameSize = frameSize;
this._designSize = cc.view.getDesignResolutionSize();
let sx = cc.winSize.width / frameSize.width;
let sy = cc.winSize.height / frameSize.height;
this._cocosScale = Math.min(sx, sy);
sx = frameSize.width / this._designSize.width;
sy = frameSize.height / this._designSize.height;
this._mapScaleMin = Math.min(sx, sy) * this._cocosScale;
this._mapScaleMax = Math.max(sx, sy) * this._cocosScale;
}
// 生命周期 start
async start() {
this.updateLabel('创建房间中');
this.progressTo(0.1, 1);
await this.asyncDelay(1);
this.updateLabel('匹配小伙伴中');
}
async initView() {
this.setMaxPlayerNumber(5);
}
_maxPlayerNum;
setMaxPlayerNumber(number) {
this._maxPlayerNum = number;
}
_playerList;
addPlayer(name, isSelf, headUrl, uuid) {
if (!this._playerList) {
this._playerList = [];
}
if (this._playerList.find(player => player.uuid == uuid)) {
return;
}
this._playerList.push({ name, isSelf, headUrl, uuid });
console.log('name = ' + name);
const layout = cc.find('layout', this.node);
const headNode = cc.instantiate(cc.find('head', this.node));
headNode.x = 0;
headNode.y = 0;
headNode.active = true;
const frameSelf = cc.find('frame_self', headNode);
if (!isSelf) {
frameSelf.opacity = 0;
}
const nameLabel = cc.find('name', headNode);
nameLabel.getComponent(cc.Label).string = name;
const headImg = cc.find('mask/headImg', headNode);
this.loadSpriteByUrl(headImg, headUrl, () => {
const scale = Math.max(
headImg.parent.width / headImg.width,
headImg.parent.height / headImg.height
);
headImg.scale = scale;
});
if (this._playerList.length == 1) {
cc.find('left', this.node).addChild(headNode);
} else {
cc.find('right', this.node).addChild(headNode);
}
const rate = Math.min(1, this._playerList.length / this._maxPlayerNum);
if (rate == 1) {
this.updateLabel('同步中');
}
this.progressTo(rate, 3);
}
_onLoadFinishFunc;
onLoadFinished(func) {
this._onLoadFinishFunc = func;
}
async asyncDelay(time) {
return new Promise((resolve, reject) => {
try {
this._timeoutIds.push(setTimeout(() => {
resolve(null);
}, time * 1000));
} catch (e) {
reject(e);
}
});
}
updateLabel(str) {
const label = cc.find('label', this.node).getComponent(cc.Label);
if (label['tweenAction']) {
label['tweenAction'].stop();
}
label['tweenAction'] = cc.tween(label)
.set({ string: `${str}` })
.delay(0.4)
.set({ string: `${str}.` })
.delay(0.4)
.set({ string: `${str}..` })
.delay(0.4)
.set({ string: `${str}...` })
.delay(0.4)
.union()
.repeatForever()
.start();
}
_maxRate = 0;
progressTo(rate, time) {
this._maxRate = Math.max(this._maxRate, rate);
const duration = Math.max(time + this.RandomInt(-1, 1), 1);
const progress = cc.find('progressBar', this.node).getComponent(cc.ProgressBar);
if (progress['tweenAction']) {
progress['tweenAction'].stop();
}
const easingList = [
'linear',
'quadInOut',
'cubicInOut',
];
progress['tweenAction'] = cc.tween(progress)
.to(duration, { progress: this._maxRate }, { easing: easingList[this.RandomInt(easingList.length)] })
.call(() => {
if (rate == 1) {
if (this._onLoadFinishFunc) {
this._onLoadFinishFunc();
}
this.node.active = false;
}
})
.start();
}
RandomInt(a, b = 0) {
let max = Math.max(a, b);
let min = Math.min(a, b);
return Math.floor(Math.random() * (max - min) + min);
}
// ------------------------------------------------
loadSpriteByUrl(node, url, cb) {
cc.loader.load({ url }, (err, img) => {
if (!node) {
cb && cb();
}
const spriteFrame = new cc.SpriteFrame(img)
const spr = node.getComponent(cc.Sprite);
spr.spriteFrame = spriteFrame;
cb && cb();
});
}
currentPlayedAudioId;
stopCurrentPlayedAudio() {
if (this.currentPlayedAudioId !== null) {
cc.audioEngine.stop(this.currentPlayedAudioId);
this.currentPlayedAudioId = null;
}
}
playEffect(name, cb) {
this.stopCurrentPlayedAudio();
const audioNode = cc.find(`audios/${name}`);
const audioClip = audioNode.getComponent(cc.AudioSource).clip;
const audioId = cc.audioEngine.play(audioClip, false, 0.8);
this.currentPlayedAudioId = audioId;
if (cb) {
cc.audioEngine.setFinishCallback(audioId, cb);
}
}
playAudioByUrl(audio_url, cb = null) {
if (!audio_url) {
if (cb) {
cb();
}
return;
}
this.stopCurrentPlayedAudio();
cc.assetManager.loadRemote(audio_url.toLowerCase(), (err, audioClip) => {
const audioId = cc.audioEngine.play(audioClip, false, 0.8);
this.currentPlayedAudioId = audioId;
if (cb) {
cc.audioEngine.setFinishCallback(audioId, cb);
}
});
}
_timeoutIds = [];
_intervalIds = [];
// 生命周期
onDestroy() {
this._timeoutIds.forEach(id => {
clearTimeout(id);
});
this._intervalIds.forEach(id => {
clearInterval(id);
});
}
}
{
"ver": "1.0.8",
"uuid": "3fc7e391-1210-4183-ae23-e840fee8c55e",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
......@@ -74,7 +74,7 @@ export class NetworkHelper {
}
if (!cacertFile) {
this.log('没有cacertFile!!!');
console.log('没有cacertFile!!!');
}
config.cacertNativeUrl = cc.loader.md5Pipe && cc.ENGINE_VERSION < "2.4.0" ?
cc.loader.md5Pipe.transformURL(cacertFile.nativeUrl) :
......@@ -82,13 +82,13 @@ export class NetworkHelper {
}
MGOBE.Listener.init(gameInfo, config, event => {
this.log(JSON.stringify(event));
console.log(JSON.stringify(event));
if (event.code !== 0) {
this.log("初始化失败: " + event.code);
console.log("初始化失败: " + event.code);
reject();
return;
}
this.log("初始化成功");
console.log("初始化成功");
resolve(null);
});
});
......@@ -105,7 +105,7 @@ export class NetworkHelper {
this.room.onStartFrameSync = this.onStartFrameSync.bind(this);
this.room.onStopFrameSync = this.onStopFrameSync.bind(this);
this.room.onRecvFromGameSvr = this.onRecvFromGameSvr.bind(this);
this.log('this.room = ' + JSON.stringify(this.room.roomInfo));
console.log('this.room = ' + JSON.stringify(this.room.roomInfo));
}
joinRoom(roomType: string, maxPlayers: number, customData: string = '') {
......@@ -124,7 +124,7 @@ export class NetworkHelper {
};
this.room.matchRoom(matchRoomPara, event => {
this.log(JSON.stringify(event))
console.log(JSON.stringify(event))
if (event.code === 0) {
cc.log("匹配成功: " + event.data.roomInfo.id);
const player = event.data.roomInfo.playerList.find(player => player.name == playerName);
......@@ -140,13 +140,13 @@ export class NetworkHelper {
leaveRoom() {
return new Promise((resolve, reject) => {
this.room.leaveRoom({}, event => {
this.log(JSON.stringify(event))
console.log(JSON.stringify(event))
if (event.code === 0) {
this.log("退房成功" + this.room.roomInfo.id);
console.log("退房成功" + this.room.roomInfo.id);
// this.room.initRoom();
resolve(null);
} else {
this.log("退房失败");
console.log("退房失败");
}
});
});
......@@ -156,7 +156,7 @@ export class NetworkHelper {
return new Promise((resolve, reject) => {
this.room.changeRoom({ isForbidJoin: true }, (event) => {
console.log('关门')
this.log(JSON.stringify(event))
// console.log(JSON.stringify(event))
resolve(null);
});
});
......@@ -174,7 +174,7 @@ export class NetworkHelper {
startFrameSync() {
return new Promise((resolve, reject) => {
this.room.startFrameSync({}, event => {
this.log(JSON.stringify(event))
console.log(JSON.stringify(event))
if (event.code === 0) {
cc.log("开始帧同步成功,请到控制台查看具体帧同步信息");
resolve(null);
......@@ -192,12 +192,12 @@ export class NetworkHelper {
return;
}
this.room.stopFrameSync({}, event => {
this.log(JSON.stringify(event))
console.log(JSON.stringify(event))
if (event.code === 0) {
this.log("停止帧同步成功");
console.log("停止帧同步成功");
resolve(null);
} else {
this.log("停止帧同步失败");
console.log("停止帧同步失败");
reject(event.code);
}
});
......@@ -250,12 +250,12 @@ export class NetworkHelper {
async onDestroy() {
try {
this.log('onDestroy1')
console.log('onDestroy1')
MGOBE.Listener.clear();
await this.stopGame();
this.log('onDestroy2')
console.log('onDestroy2')
} catch (e) {
this.log(JSON.stringify(e));
console.log(JSON.stringify(e));
}
}
......
import { RandomInt } from "../script/util";
import { NetworkHelper } from "./NetworkHelper";
export class GameServer {
playerList = [];
playerMaxNumber = 0;
networkHelper: NetworkHelper = null;
nameList = [
'Chris', 'Benny', 'Leslie', 'Devin', 'Sam',
'Kerry', 'Joey', 'Hailey', 'Fred', 'Arrow',
'Tony', 'Michael',
];
headUrls = [
'http://staging-teach.cdn.ireadabc.com/0751c28419a0e8ffb1f0e84435b081ce.png',
'http://staging-teach.cdn.ireadabc.com/f596e586a31ac2813b1702557941c022.png',
'http://staging-teach.cdn.ireadabc.com/f0f396c52c42239913fd94523db979fa.png',
'http://staging-teach.cdn.ireadabc.com/9f2d2ef622fa33d4e2abcbdc4b40ab6a.png',
'http://staging-teach.cdn.ireadabc.com/f40ce4a8630039c4cf48a63fc1399c52.png'
];
constructor(playerMaxNumber, networkHelper) {
this.playerMaxNumber = playerMaxNumber;
this.networkHelper = networkHelper;
this._timeoutIds = [];
this._intervalIds = [];
this.headUrls = this.headUrls.sort((a, b) => RandomInt(2) - 1);
this.nameList = this.nameList.sort((a, b) => RandomInt(2) - 1);
this.networkHelper.startFrameSync();
}
addPlayer(player) {
console.log('addPlayer');
this.playerList.push({
name: this.nameList.splice(0, 1)[0],
uuid: player.uuid,
color: player.uuid == this.networkHelper.room.roomInfo.owner ? 'Blue' : 'Red',
isAI: player.isAI,
headUrl: this.headUrls.splice(0, 1)[0],
complete: false,
duration: null
});
if (this.playerList.length == this.playerMaxNumber) {
this.networkHelper.closeRoom();
this.startGame();
this.startAI();
}
this.networkHelper.sendFrame({
type: 'SERVER_allPlayerInfo',
playerData: this.playerList
});
}
gameStatus = {
Red: 0,
Blue: 0,
letter: '',
current: 'Blue'
};
startGame() {
this.networkHelper.sendFrame({
type: 'SERVER_updateStatus',
status: this.gameStatus
});
}
onPlayerJoin(event) {
this.addPlayer({
uuid: event.data.joinPlayerId,
isAI: false
});
}
startMatch() {
for (let i = 0; i < this.playerMaxNumber; i++) {
this._timeoutIds.push(setTimeout(() => {
const count = this.playerMaxNumber - this.playerList.length;
if (count > 0) {
this.addPlayer({
uuid: 'ai_' + i,
isAI: true
});
}
}, RandomInt(10000, 15000)));
}
}
onFrameEvent(data) {
if (data.type == 'roll') {
const player = this.playerList.find(player => player.uuid == data.uuid);
const letter = ['A', 'B', 'C', 'D', 'E', 'F'][RandomInt(6)];
this.gameStatus.letter = letter;
this.networkHelper.sendFrame({
type: 'SERVER_playerRoll',
letter: letter
});
}
}
startAI() {
this.playerList
.filter(player => player.isAI == true)
.forEach(player => {
});
}
_timeoutIds = null;
_intervalIds = null;
// 生命周期
onDestroy() {
this._timeoutIds.forEach(id => {
clearTimeout(id);
});
this._intervalIds.forEach(id => {
clearInterval(id);
});
}
}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "c9a02bcc-9ce4-4bc3-a4af-f8538554250e",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "033e4121-604e-4025-a564-ae4f6f9ad174",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "30968867-0801-40ad-af1c-7e693a374b19",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1064,
"height": 451,
"platformSettings": {},
"subMetas": {
"失败": {
"ver": "1.0.4",
"uuid": "88509eaa-1979-4b1b-8467-1213107d8d9b",
"rawTextureUuid": "30968867-0801-40ad-af1c-7e693a374b19",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1064,
"height": 451,
"rawWidth": 1064,
"rawHeight": 451,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "7fd24a72-0dcf-410e-a5a0-50eb2c6dd22a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 319,
"height": 319,
"platformSettings": {},
"subMetas": {
"红色边框": {
"ver": "1.0.4",
"uuid": "ad273e18-b723-4e1d-9092-71a4de3aa643",
"rawTextureUuid": "7fd24a72-0dcf-410e-a5a0-50eb2c6dd22a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 319,
"height": 319,
"rawWidth": 319,
"rawHeight": 319,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "be46f91b-9dfa-4f4a-b026-2d491d8cc6e0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2176,
"height": 485,
"platformSettings": {},
"subMetas": {
"胜利失败背景": {
"ver": "1.0.4",
"uuid": "c5823412-a5f8-4ec4-8828-d41608b90e8c",
"rawTextureUuid": "be46f91b-9dfa-4f4a-b026-2d491d8cc6e0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 2176,
"height": 485,
"rawWidth": 2176,
"rawHeight": 485,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "346354b4-b49e-4822-b4d9-b4788f6d04eb",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1070,
"height": 451,
"platformSettings": {},
"subMetas": {
"胜利文字": {
"ver": "1.0.4",
"uuid": "f41aec72-d848-49d4-b123-5685b65f97b4",
"rawTextureUuid": "346354b4-b49e-4822-b4d9-b4788f6d04eb",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1070,
"height": 451,
"rawWidth": 1070,
"rawHeight": 451,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "a943b9ca-061f-42d2-bcc3-9eac9ddd09ab",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 319,
"height": 319,
"platformSettings": {},
"subMetas": {
"蓝色边框": {
"ver": "1.0.4",
"uuid": "961b4c40-b93f-4af5-af66-e3683eb2b5b6",
"rawTextureUuid": "a943b9ca-061f-42d2-bcc3-9eac9ddd09ab",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 319,
"height": 319,
"rawWidth": 319,
"rawHeight": 319,
"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