Commit 44df56b3 authored by 杨一航's avatar 杨一航

feat:1.1

parent 370bdbb3
{
"__type__": "cc.AnimationClip",
"_name": "loopPP",
"_objFlags": 0,
"_native": "",
"_duration": 0.8333333333333334,
"sample": 60,
"speed": 1,
"wrapMode": 2,
"curveData": {
"props": {
"scale": [
{
"frame": 0,
"value": {
"__type__": "cc.Vec2",
"x": 1,
"y": 1
}
},
{
"frame": 0.3333333333333333,
"value": {
"__type__": "cc.Vec2",
"x": 1.1,
"y": 1.1
}
},
{
"frame": 0.5,
"value": {
"__type__": "cc.Vec2",
"x": 1,
"y": 1
}
},
{
"frame": 0.8333333333333334,
"value": {
"__type__": "cc.Vec2",
"x": 1,
"y": 1
}
}
]
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.0",
"uuid": "6764ec33-f680-482f-a9d2-5b5edac24e93",
"subMetas": {}
}
\ No newline at end of file
......@@ -81,22 +81,25 @@
"__id__": 378
},
{
"__id__": 395
"__id__": 386
},
{
"__id__": 402
"__id__": 403
},
{
"__id__": 410
}
],
"_active": true,
"_components": [
{
"__id__": 415
"__id__": 423
},
{
"__id__": 416
"__id__": 424
},
{
"__id__": 417
"__id__": 425
}
],
"_prefab": null,
......@@ -3744,7 +3747,7 @@
"__id__": 115
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 116
......@@ -16536,7 +16539,7 @@
"__id__": 339
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 374
......@@ -18498,7 +18501,7 @@
},
{
"__type__": "cc.Node",
"_name": "PlayerOffLineLayer",
"_name": "cover",
"_objFlags": 0,
"_parent": {
"__id__": 2
......@@ -18506,18 +18509,347 @@
"_children": [
{
"__id__": 379
}
],
"_active": true,
"_components": [
{
"__id__": 384
},
{
"__id__": 385
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1960
},
"_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": "68RFD8iB9O5Zhyu+IO3nWG"
},
{
"__type__": "cc.Node",
"_name": "btn_konw",
"_objFlags": 0,
"_parent": {
"__id__": 378
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 380
},
{
"__id__": 381
},
{
"__id__": 383
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 166,
"height": 181
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-444.901,
-333.676,
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": "6eEUhTg7tPnpgCK2G1Mlih"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 379
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8f8811c6-2c88-4b74-abc9-12ccfc80072e"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "11f02q0SFDiKUVbbCBJRh+"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 379
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 382
}
],
"_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": "2fxlm+2pFCB4eBqiNuta3T"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 2
},
"component": "",
"_componentId": "408a6f4ZfpM8Yzyg+IOGg/V",
"handler": "onCloseCover",
"customEventData": ""
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 379
},
"_enabled": true,
"_defaultClip": {
"__uuid__": "6764ec33-f680-482f-a9d2-5b5edac24e93"
},
"_clips": [
{
"__uuid__": "6764ec33-f680-482f-a9d2-5b5edac24e93"
}
],
"playOnLoad": true,
"_id": "95uVsVqJJCbbqVL01TMk3P"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 378
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "91b538c0-1d1f-46f8-8a13-00745514fb61"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "9eQ9Q22fFJn5plFOY5XI0f"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 378
},
"_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": 1125,
"_originalHeight": 2001,
"_id": "27quwVyo5Al5j00xJPxdEl"
},
{
"__type__": "cc.Node",
"_name": "PlayerOffLineLayer",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 387
},
{
"__id__": 391
}
],
"_active": false,
"_components": [
{
"__id__": 393
"__id__": 401
},
{
"__id__": 394
"__id__": 402
}
],
"_prefab": null,
......@@ -18573,19 +18905,19 @@
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 378
"__id__": 386
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 380
"__id__": 388
},
{
"__id__": 381
"__id__": 389
},
{
"__id__": 382
"__id__": 390
}
],
"_prefab": null,
......@@ -18641,7 +18973,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 379
"__id__": 387
},
"_enabled": true,
"_materials": [
......@@ -18673,7 +19005,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 379
"__id__": 387
},
"_enabled": true,
"alignMode": 2,
......@@ -18700,7 +19032,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 379
"__id__": 387
},
"_enabled": true,
"_normalMaterial": null,
......@@ -18768,20 +19100,20 @@
"_name": "BtnFrame",
"_objFlags": 0,
"_parent": {
"__id__": 378
"__id__": 386
},
"_children": [
{
"__id__": 384
"__id__": 392
},
{
"__id__": 388
"__id__": 396
}
],
"_active": true,
"_components": [
{
"__id__": 392
"__id__": 400
}
],
"_prefab": null,
......@@ -18837,19 +19169,19 @@
"_name": "BtnExit",
"_objFlags": 0,
"_parent": {
"__id__": 383
"__id__": 391
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 385
"__id__": 393
},
{
"__id__": 386
"__id__": 394
},
{
"__id__": 387
"__id__": 395
}
],
"_prefab": null,
......@@ -18905,7 +19237,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 384
"__id__": 392
},
"_enabled": true,
"_materials": [
......@@ -18935,7 +19267,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 384
"__id__": 392
},
"_enabled": true,
"alignMode": 1,
......@@ -18962,7 +19294,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 384
"__id__": 392
},
"_enabled": true,
"_normalMaterial": null,
......@@ -19030,19 +19362,19 @@
"_name": "BtnPlayAgain",
"_objFlags": 0,
"_parent": {
"__id__": 383
"__id__": 391
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 389
"__id__": 397
},
{
"__id__": 390
"__id__": 398
},
{
"__id__": 391
"__id__": 399
}
],
"_prefab": null,
......@@ -19098,7 +19430,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 388
"__id__": 396
},
"_enabled": true,
"_materials": [
......@@ -19128,7 +19460,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 388
"__id__": 396
},
"_enabled": true,
"alignMode": 1,
......@@ -19155,7 +19487,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 388
"__id__": 396
},
"_enabled": true,
"_normalMaterial": null,
......@@ -19223,7 +19555,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 383
"__id__": 391
},
"_enabled": true,
"_materials": [
......@@ -19253,7 +19585,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 378
"__id__": 386
},
"_enabled": true,
"alignMode": 2,
......@@ -19280,7 +19612,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 378
"__id__": 386
},
"_enabled": true,
"_id": "09WU6NXc9OR4frB91TsN13"
......@@ -19294,10 +19626,10 @@
},
"_children": [
{
"__id__": 396
"__id__": 404
},
{
"__id__": 399
"__id__": 407
}
],
"_active": false,
......@@ -19355,11 +19687,11 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 395
"__id__": 403
},
"_children": [
{
"__id__": 397
"__id__": 405
}
],
"_active": true,
......@@ -19417,13 +19749,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 396
"__id__": 404
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 398
"__id__": 406
}
],
"_prefab": null,
......@@ -19479,7 +19811,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 397
"__id__": 405
},
"_enabled": true,
"_materials": [],
......@@ -19510,11 +19842,11 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 395
"__id__": 403
},
"_children": [
{
"__id__": 400
"__id__": 408
}
],
"_active": true,
......@@ -19572,13 +19904,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 399
"__id__": 407
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 401
"__id__": 409
}
],
"_prefab": null,
......@@ -19634,7 +19966,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 400
"__id__": 408
},
"_enabled": true,
"_materials": [],
......@@ -19664,22 +19996,22 @@
},
"_children": [
{
"__id__": 403
"__id__": 411
},
{
"__id__": 405
"__id__": 413
},
{
"__id__": 407
"__id__": 415
},
{
"__id__": 409
"__id__": 417
},
{
"__id__": 411
"__id__": 419
},
{
"__id__": 413
"__id__": 421
}
],
"_active": true,
......@@ -19737,13 +20069,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 402
"__id__": 410
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 404
"__id__": 412
}
],
"_prefab": null,
......@@ -19799,7 +20131,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 403
"__id__": 411
},
"_enabled": true,
"_clip": {
......@@ -19818,13 +20150,13 @@
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 402
"__id__": 410
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 406
"__id__": 414
}
],
"_prefab": null,
......@@ -19880,7 +20212,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 405
"__id__": 413
},
"_enabled": true,
"_clip": {
......@@ -19899,13 +20231,13 @@
"_name": "win",
"_objFlags": 0,
"_parent": {
"__id__": 402
"__id__": 410
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 408
"__id__": 416
}
],
"_prefab": null,
......@@ -19961,7 +20293,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 407
"__id__": 415
},
"_enabled": true,
"_clip": {
......@@ -19980,13 +20312,13 @@
"_name": "lose",
"_objFlags": 0,
"_parent": {
"__id__": 402
"__id__": 410
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 410
"__id__": 418
}
],
"_prefab": null,
......@@ -20042,7 +20374,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 409
"__id__": 417
},
"_enabled": true,
"_clip": {
......@@ -20061,13 +20393,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 402
"__id__": 410
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 412
"__id__": 420
}
],
"_prefab": null,
......@@ -20123,7 +20455,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 411
"__id__": 419
},
"_enabled": true,
"_clip": {
......@@ -20142,13 +20474,13 @@
"_name": "match",
"_objFlags": 0,
"_parent": {
"__id__": 402
"__id__": 410
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 414
"__id__": 422
}
],
"_prefab": null,
......@@ -20204,7 +20536,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 413
"__id__": 421
},
"_enabled": true,
"_clip": {
......
......@@ -433,6 +433,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
onCloseCover() {
this.node.getChildByName("cover").active = false;
}
finish() {
// onHomeworkFinish();
......
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