Commit 00d9c424 authored by 范雪寒's avatar 范雪寒

feat:

parent 998f34cc
{"frameRate":24,"name":"star","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-640,"y":-360,"width":1280,"height":720},"bone":[{"name":"root"},{"length":96,"name":"背景","parent":"root","transform":{"x":-5,"y":350.7,"skX":-90.7425,"skY":-90.7425}},{"name":"发光星星_拷贝_3","parent":"root","transform":{"x":31.3,"y":-286.8}},{"name":"发光星星_拷贝_8","parent":"root","transform":{"x":275.55,"y":-279.3}},{"name":"发光星星_拷贝_15","parent":"root","transform":{"x":416.65,"y":-166.8}},{"name":"发光星星_拷贝_6","parent":"root","transform":{"x":541.1,"y":-71.5}},{"name":"发光星星_拷贝_12","parent":"root","transform":{"x":379.55,"y":45.9}},{"name":"发光星星_拷贝_18","parent":"root","transform":{"x":544.6,"y":90.05}},{"name":"发光星星_拷贝_20","parent":"root","transform":{"x":270.1,"y":136.85}},{"name":"发光星星_拷贝_7","parent":"root","transform":{"x":459.9,"y":174.8}},{"name":"发光星星_拷贝_9","parent":"root","transform":{"x":299.2,"y":273.6}},{"name":"发光星星_拷贝_10","parent":"root","transform":{"x":88.25,"y":288.6}},{"name":"发光星星_拷贝_16","parent":"root","transform":{"x":-79.45,"y":252.45}},{"name":"发光星星_拷贝_11","parent":"root","transform":{"x":-223.3,"y":273.65}},{"name":"发光星星","parent":"root","transform":{"x":-396.3,"y":173.9}},{"name":"发光星星_拷贝_13","parent":"root","transform":{"x":-555.2,"y":77.65}},{"name":"发光星星_拷贝","parent":"root","transform":{"x":-421.05,"y":-33.55}},{"name":"发光星星_拷贝_14","parent":"root","transform":{"x":-283.35,"y":-116.55}},{"name":"发光星星_拷贝_19","parent":"root","transform":{"x":-92.7,"y":-204.8}},{"name":"发光星星_拷贝_5","parent":"root","transform":{"x":-198.6,"y":-299.25}},{"name":"发光星星_拷贝_2","parent":"root","transform":{"x":-339.85,"y":-240.1}},{"name":"发光星星_拷贝_17","parent":"root","transform":{"x":-497.85,"y":-189.8}}],"slot":[{"name":"背景","parent":"背景"},{"name":"发光星星","parent":"发光星星"},{"name":"发光星星_拷贝_13","parent":"发光星星_拷贝_13"},{"name":"发光星星_拷贝_17","parent":"发光星星_拷贝_17"},{"name":"发光星星_拷贝_18","parent":"发光星星_拷贝_18"},{"name":"发光星星_拷贝_19","parent":"发光星星_拷贝_19"},{"name":"发光星星_拷贝_20","parent":"发光星星_拷贝_20"},{"name":"发光星星_拷贝_14","parent":"发光星星_拷贝_14"},{"name":"发光星星_拷贝","parent":"发光星星_拷贝"},{"name":"发光星星_拷贝_2","parent":"发光星星_拷贝_2"},{"name":"发光星星_拷贝_3","parent":"发光星星_拷贝_3"},{"name":"发光星星_拷贝_15","parent":"发光星星_拷贝_15"},{"name":"发光星星_拷贝_16","parent":"发光星星_拷贝_16"},{"name":"发光星星_拷贝_5","parent":"发光星星_拷贝_5"},{"name":"发光星星_拷贝_6","parent":"发光星星_拷贝_6"},{"name":"发光星星_拷贝_7","parent":"发光星星_拷贝_7"},{"name":"发光星星_拷贝_12","parent":"发光星星_拷贝_12"},{"name":"发光星星_拷贝_9","parent":"发光星星_拷贝_9"},{"name":"发光星星_拷贝_10","parent":"发光星星_拷贝_10"},{"name":"发光星星_拷贝_11","parent":"发光星星_拷贝_11"},{"name":"发光星星_拷贝_8","parent":"发光星星_拷贝_8"}],"skin":[{"slot":[{"name":"发光星星_拷贝_6","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_6","transform":{"x":2.4,"y":-2.5}}]},{"name":"发光星星","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星","transform":{"x":0.8,"y":-0.4}}]},{"name":"发光星星_拷贝","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝","transform":{"x":1.55,"y":-1.45}}]},{"name":"背景","display":[{"name":"从中间往四周炸星星停留1s后消失/背景","transform":{"x":350.61,"y":9.54,"skX":90.74,"skY":90.74}}]},{"name":"发光星星_拷贝_11","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_11","transform":{"x":-1.2,"y":-1.65}}]},{"name":"发光星星_拷贝_20","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_20","transform":{"x":0.9,"y":-0.85}}]},{"name":"发光星星_拷贝_5","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_5","transform":{"x":0.1,"y":-0.75}}]},{"name":"发光星星_拷贝_8","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_8","transform":{"x":-1.05,"y":-3.7}}]},{"name":"发光星星_拷贝_15","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_15","transform":{"x":1.85,"y":-1.2}}]},{"name":"发光星星_拷贝_12","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_12","transform":{"x":0.95,"y":-3.9}}]},{"name":"发光星星_拷贝_13","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_13","transform":{"x":1.2,"y":-2.15}}]},{"name":"发光星星_拷贝_3","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_3","transform":{"x":0.7,"y":-3.2}}]},{"name":"发光星星_拷贝_2","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_2","transform":{"x":0.35,"y":-4.9}}]},{"name":"发光星星_拷贝_9","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_9","transform":{"x":2.3,"y":-1.6}}]},{"name":"发光星星_拷贝_18","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_18","transform":{"x":-0.6,"y":-2.05}}]},{"name":"发光星星_拷贝_14","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_14","transform":{"x":-0.15,"y":-2.45}}]},{"name":"发光星星_拷贝_7","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_7","transform":{"x":1.1,"y":-1.3}}]},{"name":"发光星星_拷贝_10","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_10","transform":{"x":1.25,"y":-2.1}}]},{"name":"发光星星_拷贝_19","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_19","transform":{"x":-0.3,"y":-1.2}}]},{"name":"发光星星_拷贝_16","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_16","transform":{"x":-0.05,"y":-0.95}}]},{"name":"发光星星_拷贝_17","display":[{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_17","transform":{"x":-1.15,"y":-1.2}}]}]}],"animation":[{"duration":50,"playTimes":0,"name":"normal","bone":[{"name":"发光星星_拷贝_3","translateFrame":[{"duration":10,"tweenEasing":0,"x":-31.3,"y":286.8},{"duration":40}]},{"name":"发光星星_拷贝_8","translateFrame":[{"duration":10,"tweenEasing":0,"x":-275.55,"y":279.3},{"duration":40}]},{"name":"发光星星_拷贝_15","translateFrame":[{"duration":10,"tweenEasing":0,"x":-416.65,"y":166.8},{"duration":40}]},{"name":"发光星星_拷贝_6","translateFrame":[{"duration":10,"tweenEasing":0,"x":-541.1,"y":71.5},{"duration":40}]},{"name":"发光星星_拷贝_12","translateFrame":[{"duration":10,"tweenEasing":0,"x":-379.55,"y":-45.9},{"duration":40}]},{"name":"发光星星_拷贝_18","translateFrame":[{"duration":10,"tweenEasing":0,"x":-544.6,"y":-90.05},{"duration":40}]},{"name":"发光星星_拷贝_20","translateFrame":[{"duration":10,"tweenEasing":0,"x":-270.1,"y":-136.85},{"duration":40}]},{"name":"发光星星_拷贝_7","translateFrame":[{"duration":10,"tweenEasing":0,"x":-459.9,"y":-174.8},{"duration":40}]},{"name":"发光星星_拷贝_9","translateFrame":[{"duration":10,"tweenEasing":0,"x":-299.2,"y":-273.6},{"duration":40}]},{"name":"发光星星_拷贝_10","translateFrame":[{"duration":10,"tweenEasing":0,"x":-88.25,"y":-288.6},{"duration":40}]},{"name":"发光星星_拷贝_16","translateFrame":[{"duration":10,"tweenEasing":0,"x":79.45,"y":-252.45},{"duration":40}]},{"name":"发光星星_拷贝_11","translateFrame":[{"duration":10,"tweenEasing":0,"x":223.3,"y":-273.65},{"duration":40}]},{"name":"发光星星","translateFrame":[{"duration":10,"tweenEasing":0,"x":396.3,"y":-173.9},{"duration":40}]},{"name":"发光星星_拷贝_13","translateFrame":[{"duration":10,"tweenEasing":0,"x":555.2,"y":-77.65},{"duration":40}]},{"name":"发光星星_拷贝","translateFrame":[{"duration":10,"tweenEasing":0,"x":421.05,"y":33.55},{"duration":40}]},{"name":"发光星星_拷贝_14","translateFrame":[{"duration":10,"tweenEasing":0,"x":283.35,"y":116.55},{"duration":40}]},{"name":"发光星星_拷贝_19","translateFrame":[{"duration":10,"tweenEasing":0,"x":92.7,"y":204.8},{"duration":40}]},{"name":"发光星星_拷贝_5","translateFrame":[{"duration":10,"tweenEasing":0,"x":198.6,"y":299.25},{"duration":40}]},{"name":"发光星星_拷贝_2","translateFrame":[{"duration":10,"tweenEasing":0,"x":339.85,"y":240.1},{"duration":40}]},{"name":"发光星星_拷贝_17","translateFrame":[{"duration":10,"tweenEasing":0,"x":497.85,"y":189.8},{"duration":40}]}],"slot":[{"name":"发光星星","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_13","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_17","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_18","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_19","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_20","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_14","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_2","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_3","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_15","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_16","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_5","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_6","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_7","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_12","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_9","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_10","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_11","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]},{"name":"发光星星_拷贝_8","colorFrame":[{"duration":34,"tweenEasing":0},{"duration":16,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]}]}],"defaultActions":[{"gotoAndPlay":"normal"}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "304c8042-dfa5-44bf-9ef9-8889c921a013",
"subMetas": {}
}
\ No newline at end of file
{"width":2048,"SubTexture":[{"width":1280,"y":1,"height":720,"name":"从中间往四周炸星星停留1s后消失/背景","x":1},{"width":127,"y":879,"height":123,"name":"从中间往四周炸星星停留1s后消失/发光星星","x":1},{"width":72,"y":952,"height":69,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_13","x":817},{"width":46,"y":963,"height":44,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_17","x":571},{"width":46,"y":955,"height":44,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_18","x":738},{"width":46,"y":971,"height":44,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_19","x":381},{"width":46,"y":956,"height":44,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_20","x":658},{"width":77,"y":879,"height":74,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_14","x":738},{"width":159,"y":723,"height":154,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝","x":1},{"width":159,"y":723,"height":154,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_2","x":806},{"width":124,"y":879,"height":120,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_3","x":130},{"width":85,"y":879,"height":82,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_15","x":571},{"width":73,"y":879,"height":71,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_16","x":817},{"width":93,"y":879,"height":90,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_5","x":476},{"width":93,"y":879,"height":90,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_6","x":381},{"width":78,"y":879,"height":75,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_7","x":658},{"width":159,"y":723,"height":154,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_12","x":162},{"width":159,"y":723,"height":154,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_9","x":484},{"width":123,"y":879,"height":119,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_10","x":256},{"width":159,"y":723,"height":154,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_11","x":645},{"width":159,"y":723,"height":154,"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_8","x":323}],"height":1024,"name":"star","imagePath":"star_tex.png"}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "060ce59e-6380-447a-ac67-75270cbf6a8a",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "3ab2811e-fc4a-499f-9601-686c6d823253",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 1024,
"platformSettings": {},
"subMetas": {
"star_tex": {
"ver": "1.0.4",
"uuid": "7ac379af-44e9-417c-bfbe-21d1a586c798",
"rawTextureUuid": "3ab2811e-fc4a-499f-9601-686c6d823253",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -383,
"offsetY": 1,
"trimX": 1,
"trimY": 1,
"width": 1280,
"height": 1020,
"rawWidth": 2048,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
...@@ -302,15 +302,21 @@ ...@@ -302,15 +302,21 @@
}, },
{ {
"__id__": 42 "__id__": 42
},
{
"__id__": 61
},
{
"__id__": 78
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 61 "__id__": 83
}, },
{ {
"__id__": 62 "__id__": 84
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2856,6 +2862,944 @@ ...@@ -2856,6 +2862,944 @@
"_originalHeight": 720, "_originalHeight": 720,
"_id": "64C8UsugxNQ5bBEBlbEZWd" "_id": "64C8UsugxNQ5bBEBlbEZWd"
}, },
{
"__type__": "cc.Node",
"_name": "New Node",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 62
},
{
"__id__": 65
},
{
"__id__": 68
},
{
"__id__": 71
},
{
"__id__": 74
}
],
"_active": false,
"_components": [
{
"__id__": 77
}
],
"_prefab": null,
"_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": [
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": "8aMQ/LrgJJXLamdzPRgRAs"
},
{
"__type__": "cc.Node",
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 61
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 63
},
{
"__id__": 64
}
],
"_prefab": null,
"_opacity": 50,
"_color": {
"__type__": "cc.Color",
"r": 46,
"g": 0,
"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": [
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": "4c4sXhZRJOrLaVzGX4GdzJ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f6uhkzkAdLTZcu6CJv3DIY"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
},
"_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": 100,
"_originalHeight": 100,
"_id": "755VanNytOBbH+yCofIhBY"
},
{
"__type__": "cc.Node",
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 61
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 66
},
{
"__id__": 67
}
],
"_prefab": null,
"_opacity": 100,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 10
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
355,
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": "34uyfp5vZFK5OLooUV6Ham"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b70wrixHBCXJiKYl//uEbS"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 41,
"_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": 100,
"_originalHeight": 0,
"_id": "87ug39YttME6awxFiAGWqw"
},
{
"__type__": "cc.Node",
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 61
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 69
},
{
"__id__": 70
}
],
"_prefab": null,
"_opacity": 100,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 10
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-355,
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": "11sDudqxJA9bIFCpEUpdu3"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "fcONrQudhAUagTkNGcOlJ5"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 44,
"_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": 100,
"_originalHeight": 10,
"_id": "f3RYMS9LFEqoEwVubJ28/H"
},
{
"__type__": "cc.Node",
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 61
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 72
},
{
"__id__": 73
}
],
"_prefab": null,
"_opacity": 100,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 10,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-635,
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": "f7klnAOihGwp2XKvCbQ3cj"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b0FtOTfy5NdJJ6FLUHmYWY"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 13,
"_left": 0,
"_right": 590,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 10,
"_id": "120QXsrwRHP5g1f2FWLNSY"
},
{
"__type__": "cc.Node",
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 61
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 75
},
{
"__id__": 76
}
],
"_prefab": null,
"_opacity": 100,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 10,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
635,
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": "4dXFZZamlE1LtRVQSwFHVz"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 74
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "857UBC1zlKfI22qcHkuvJW"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 74
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 37,
"_left": 590,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 10,
"_id": "3fRiY2na1HU4R6Y8GhCLnf"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_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": "12LdxdbhJLH7ZwUfhbh20a"
},
{
"__type__": "cc.Node",
"_name": "coolcat",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 79
}
],
"_active": false,
"_components": [
{
"__id__": 82
}
],
"_prefab": null,
"_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": [
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": "59PPwEN51EYosVqaqvsP8e"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 78
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 80
},
{
"__id__": 81
}
],
"_prefab": null,
"_opacity": 150,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_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": "eezXuEXt5L2rPc5FhPF6K/"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
},
"_enabled": true,
"_materials": [],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "3580SV2J1FybvDGYQ7wKTB"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
},
"_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": 100,
"_originalHeight": 100,
"_id": "87/t6oPxdE2og9bAZ445is"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 78
},
"_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": 100,
"_originalHeight": 100,
"_id": "ac8X+QIhhDbqqqh/k/3K22"
},
{ {
"__type__": "d98e34LKINGEIpG3utycEds", "__type__": "d98e34LKINGEIpG3utycEds",
"_name": "", "_name": "",
......
import { initAir } from "./air"; import { initAir } from "./air";
import { middleLayerBase } from "./middleLayerBase"; import { middleLayerBase } from "./middleLayerBase";
import { buttonOnceClick, buttonOnClick } from "./util"; import { asyncLoadDragonBoneAnime, buttonOnceClick, buttonOnClick } from "./util";
const { ccclass, property } = cc._decorator; const { ccclass, property } = cc._decorator;
...@@ -74,12 +74,42 @@ export default class NewClass extends middleLayerBase { ...@@ -74,12 +74,42 @@ export default class NewClass extends middleLayerBase {
// 如果是part 的最后一页课件,播放获得拼读小伙的动画 // 如果是part 的最后一页课件,播放获得拼读小伙的动画
if (this.courseIndex == this.courses.length - 1) { if (this.courseIndex == this.courses.length - 1) {
this.playGetParterAnim(); await this.playGetParterAnim();
} }
// 如果是最后一个part,要解锁下一个文件夹 // 如果是最后一个part,要解锁下一个文件夹
} }
playGetParterAnim() {
async playGetParterAnim() {
// const animData = this.getData('NJ_game_select: partnerData');
const animData = {
havePic: "http://staging-teach.cdn.ireadabc.com/7a23e43f8ec4964e3feb9709ec553fd4.png",
skeJsonData: {
url: "http://staging-teach.cdn.ireadabc.com/5069b9316d9b69705281752f03b47901.json",
name: "mao_ske.json"
},
texJsonData: {
url: "http://staging-teach.cdn.ireadabc.com/3bbb72fd8ad3c02aa1df8d3785f4b34f.json",
name: "mao_tex.json"
},
texPngData: {
url: "http://staging-teach.cdn.ireadabc.com/c130de476dac5e9bbd71f92b2711d3ba.png",
name: "mao_tex.png"
},
}
console.log(this.node.width);
console.log(this.node.height);
const coolcat = cc.find('middleLayer/coolcat');
await asyncLoadDragonBoneAnime(coolcat, animData);
const animaNode = coolcat['animaNode'];
animaNode.scale = 0.6;
animaNode.getComponent(dragonBones.ArmatureDisplay).playAnimation('normal', -1);
const widget: cc.Widget = animaNode.addComponent(cc.Widget);
widget.isAlignBottom = true;
widget.isAlignRight = true;
widget.right = 600;
widget.bottom = 340;
coolcat.active = true;
// animData.havePic
} }
hideWaitingLetters() { hideWaitingLetters() {
cc.find('middleLayer/loadingLayer').active = false; cc.find('middleLayer/loadingLayer').active = false;
...@@ -144,6 +174,11 @@ export default class NewClass extends middleLayerBase { ...@@ -144,6 +174,11 @@ export default class NewClass extends middleLayerBase {
} }
this.initListener(); this.initListener();
setTimeout(() => {
console.log('playGetParterAnim');
this.playGetParterAnim();
}, 4000);
} }
initListener() { initListener() {
......
{
"ver": "2.3.5",
"uuid": "a9b74b58-7019-49b6-9bd5-95370d7f960f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 576,
"height": 576,
"platformSettings": {},
"subMetas": {
"拼读小伙伴背后转光": {
"ver": "1.0.4",
"uuid": "45d79668-f606-4017-a94e-55644dc93641",
"rawTextureUuid": "a9b74b58-7019-49b6-9bd5-95370d7f960f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 576,
"height": 576,
"rawWidth": 576,
"rawHeight": 576,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"version": "1.1.1",
"windows": {
"main": {
"main": true,
"url": "app://editor/index.html",
"windowType": "dockable",
"x": 0,
"y": 23,
"width": 1680,
"height": 1027,
"layout": {
"type": "dock-h",
"children": [
{
"width": 283,
"height": 948,
"type": "dock-v",
"children": [
{
"width": 283,
"height": 401,
"type": "panel",
"active": 0,
"children": [
"hierarchy"
]
},
{
"width": 283,
"height": 544,
"type": "panel",
"active": 0,
"children": [
"assets"
]
}
]
},
{
"width": 1065,
"height": 948,
"type": "dock-v",
"children": [
{
"width": 1065,
"height": 678.984375,
"type": "dock-h",
"children": [
{
"width": 785.734375,
"height": 678.984375,
"type": "panel",
"active": 0,
"children": [
"scene"
]
},
{
"width": 276.265625,
"height": 678.984375,
"type": "panel",
"active": 0,
"children": [
"node-library"
]
}
]
},
{
"width": 1065,
"height": 266,
"type": "panel",
"active": 0,
"children": [
"console",
"timeline",
"game-window"
]
}
]
},
{
"width": 326,
"height": 948,
"type": "panel",
"active": 0,
"children": [
"inspector",
"cocos-services"
]
}
]
},
"panels": [
"hierarchy",
"assets",
"scene",
"node-library",
"console",
"timeline",
"game-window",
"inspector",
"cocos-services"
]
},
"worker": {}
},
"panels": {},
"panelLabelWidth": {}
}
{
"last-edit": "0737ce42-24f0-45c6-8e1a-8bdab4f74ba3",
"recent-items": [
"0737ce42-24f0-45c6-8e1a-8bdab4f74ba3"
]
}
{
"user": {
"name": "User",
"prefab": []
}
}
{
"nodeFoldStates": [
"eezEZLXWtMaq/uGQHUptlc",
"9bLfcYeeNKrr524vzWchiM",
"53LUHHG2pEr79fyrvazXJs",
"d9f+b0lmZGSJJae6zrADhp",
"a5esZu+45LA5mBpvttspPD",
"6caZQRGatDJJMWpck1fhab",
"129LljDQdMwInPkc014det",
"dakzXgcFFDe7XQsi8SiYG5",
"bc+NX8srtGCpx8x3MHUErI",
"24Zl1MP11Mt6VlqPvlG3rl",
"0f1T6DNhBOHY8hHqUk9ZAE",
"93uSl1NwFDwIOXrw1DgVsg"
]
}
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