Commit 54c8ea67 authored by 范雪寒's avatar 范雪寒

feat: player offline layer

parent 912c2a58
{
"ver": "1.1.2",
"uuid": "9696bc51-6bb3-405d-a8ed-0004ec3c80ae",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
cc.Class({
extends: cc.Component,
properties: {
},
start () {
const BtnExit = cc.find('BtnFrame/BtnExit', this.node);
BtnExit.on('click', ()=>{
const middleLayer = cc.find('middleLayer');
if(middleLayer) {
cc.game.removePersistRootNode(middleLayer);
}
cc.director.getScene().destroy();
cc.audioEngine.stopAll();
if (window.courseware) {
window.courseware.freeAllOcMethod();
}
cc.director.loadScene("debug_shell", null, null, (err, scene) => {
});
});
const BtnPlayAgain = cc.find('BtnFrame/BtnPlayAgain', this.node);
BtnPlayAgain.on('click', ()=>{
const sceneName = cc.director.getScene().name;
cc.director.getScene().destroy();
cc.audioEngine.stopAll();
if (window.courseware) {
window.courseware.freeAllOcMethod();
}
cc.director.loadScene(sceneName, null, null, (err, scene) => {
});
});
},
});
{
"ver": "1.0.8",
"uuid": "b0f566a5-d2a1-4389-9c1c-92e315e3f71a",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"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": "PlayerOffLineLayer",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 7
}
],
"_active": false,
"_components": [
{
"__id__": 20
},
{
"__id__": 21
}
],
"_prefab": {
"__id__": 22
},
"_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": [
1280,
960,
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": 100,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_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": ""
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_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": ""
},
{
"__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__": "1e11f1b1-8bd1-448d-92da-17f062444db3"
},
"fileId": "a2lcBX6axJcYgWizPAwXJQ",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "BtnFrame",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 8
},
{
"__id__": 13
}
],
"_active": true,
"_components": [
{
"__id__": 18
}
],
"_prefab": {
"__id__": 19
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 684,
"height": 244
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
2,
2,
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": "BtnExit",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
},
{
"__id__": 10
},
{
"__id__": 11
}
],
"_prefab": {
"__id__": 12
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 158,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
150,
-50,
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__": 8
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5ad5a040-45af-4787-b6ad-ef6d25814c6c"
},
"_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.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 16,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 150,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_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__": "1e11f1b1-8bd1-448d-92da-17f062444db3"
},
"fileId": "2dFg2BRxNDIbzNQUJzInwD",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "BtnPlayAgain",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
},
{
"__id__": 15
},
{
"__id__": 16
}
],
"_prefab": {
"__id__": 17
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 158,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-150,
-50,
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__": 13
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f5f86bc8-874a-4fd8-9dc9-e89b2f7420e6"
},
"_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.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 16,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": -150,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": ""
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
},
"_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__": "1e11f1b1-8bd1-448d-92da-17f062444db3"
},
"fileId": "426YGeaQ1GSqxAl0es/FZ5",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4560a114-94c8-4372-ade2-c489c6e74bb7"
},
"_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__": "1e11f1b1-8bd1-448d-92da-17f062444db3"
},
"fileId": "1bsWjap9JK84XN2hkYfXDb",
"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__": "b0f56al0qFDiZwckuMV4/ca",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "1e11f1b1-8bd1-448d-92da-17f062444db3"
},
"fileId": "",
"sync": false
}
]
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "1e11f1b1-8bd1-448d-92da-17f062444db3",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "2fd40893-f2f4-411c-8fe3-4399d0b91937",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "484a02bb-20eb-4a48-b440-c9b9c08bed96",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 158,
"height": 60,
"platformSettings": {},
"subMetas": {
"BtnExit": {
"ver": "1.0.4",
"uuid": "5ad5a040-45af-4787-b6ad-ef6d25814c6c",
"rawTextureUuid": "484a02bb-20eb-4a48-b440-c9b9c08bed96",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 158,
"height": 60,
"rawWidth": 158,
"rawHeight": 60,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "cb354f78-665c-443e-9893-e06d09b42cd4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 684,
"height": 244,
"platformSettings": {},
"subMetas": {
"BtnFrame": {
"ver": "1.0.4",
"uuid": "4560a114-94c8-4372-ade2-c489c6e74bb7",
"rawTextureUuid": "cb354f78-665c-443e-9893-e06d09b42cd4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 684,
"height": 244,
"rawWidth": 684,
"rawHeight": 244,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "90340e1e-6634-40aa-936d-a81f5968ffc0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 158,
"height": 60,
"platformSettings": {},
"subMetas": {
"BtnPlayAgain": {
"ver": "1.0.4",
"uuid": "f5f86bc8-874a-4fd8-9dc9-e89b2f7420e6",
"rawTextureUuid": "90340e1e-6634-40aa-936d-a81f5968ffc0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 158,
"height": 60,
"rawWidth": 158,
"rawHeight": 60,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -17,10 +17,10 @@
"__id__": 2
},
{
"__id__": 172
"__id__": 194
},
{
"__id__": 185
"__id__": 207
}
],
"_active": false,
......@@ -84,19 +84,19 @@
"__id__": 7
},
{
"__id__": 154
"__id__": 176
}
],
"_active": true,
"_components": [
{
"__id__": 169
"__id__": 191
},
{
"__id__": 170
"__id__": 192
},
{
"__id__": 171
"__id__": 193
}
],
"_prefab": null,
......@@ -367,12 +367,15 @@
},
{
"__id__": 151
},
{
"__id__": 153
}
],
"_active": true,
"_components": [
{
"__id__": 153
"__id__": 175
}
],
"_prefab": null,
......@@ -6739,58 +6742,33 @@
"_atlas": null,
"_id": "fc8448+HZJqqhlGZue2Lzm"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_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": 2560,
"_originalHeight": 1920,
"_id": "17YA8Nu1dLN6R6o3Ie/SyN"
},
{
"__type__": "cc.Node",
"_name": "endBg",
"_name": "PlayerOffLineLayer",
"_objFlags": 0,
"_parent": {
"__id__": 2
"__id__": 7
},
"_children": [
{
"__id__": 155
"__id__": 154
},
{
"__id__": 158
"__id__": 159
}
],
"_active": false,
"_components": [
{
"__id__": 167
"__id__": 172
},
{
"__id__": 168
"__id__": 173
}
],
"_prefab": null,
"_prefab": {
"__id__": 174
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -6813,8 +6791,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
1280,
960,
0,
0,
0,
......@@ -6836,18 +6814,21 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c2LGM+IBlEgp7HT+DBiBoZ"
"_id": "72C22cBvpIHJeqbjpKzYUv"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 154
"__id__": 153
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 155
},
{
"__id__": 156
},
......@@ -6855,8 +6836,10 @@
"__id__": 157
}
],
"_prefab": null,
"_opacity": 0,
"_prefab": {
"__id__": 158
},
"_opacity": 100,
"_color": {
"__type__": "cc.Color",
"r": 0,
......@@ -6901,14 +6884,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9cjbtB0sNCsLMdza0zrJ8B"
"_id": "e87Ggqo85HkoLdm5YqONNO"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 155
"__id__": 154
},
"_enabled": true,
"_materials": [
......@@ -6933,14 +6916,14 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "60jQo7aKpO+755Gs2kdTZQ"
"_id": "eaVBC2+oNLK7smnTHCJQmm"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 155
"__id__": 154
},
"_enabled": true,
"alignMode": 2,
......@@ -6960,33 +6943,111 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_id": "3c8tUAlc9PQoBjysSDbTCd"
"_id": "54tjHRt6dF45WVrMw/Qldi"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
},
"_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": "5cBZCA0pFLK7Bicx5tDTT1"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 153
},
"asset": {
"__uuid__": "1e11f1b1-8bd1-448d-92da-17f062444db3"
},
"fileId": "a2lcBX6axJcYgWizPAwXJQ",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "labelBg",
"_name": "BtnFrame",
"_objFlags": 0,
"_parent": {
"__id__": 154
"__id__": 153
},
"_children": [
{
"__id__": 159
"__id__": 160
},
{
"__id__": 162
"__id__": 165
}
],
"_active": true,
"_components": [
{
"__id__": 165
},
{
"__id__": 166
"__id__": 170
}
],
"_prefab": null,
"_prefab": {
"__id__": 171
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -6997,8 +7058,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 2176,
"height": 485
"width": 684,
"height": 244
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -7016,8 +7077,8 @@
0,
0,
1,
1,
1,
2,
2,
1
]
},
......@@ -7032,26 +7093,31 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "94OW6myZZCT6VNaP4RYn5r"
"_id": "2cy2QB+3pPB4QGS4ogoSdK"
},
{
"__type__": "cc.Node",
"_name": "labelLoss",
"_name": "BtnExit",
"_objFlags": 0,
"_parent": {
"__id__": 158
"__id__": 159
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 160
"__id__": 161
},
{
"__id__": 161
"__id__": 162
},
{
"__id__": 163
}
],
"_prefab": null,
"_prefab": {
"__id__": 164
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
......@@ -7062,8 +7128,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1064,
"height": 451
"width": 158,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -7074,8 +7140,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
150,
-50,
0,
0,
0,
......@@ -7097,14 +7163,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "ddk/9W0hlK/K1u2b15srM6"
"_id": "b4CTFGOgRJSJo+8wK+XNh1"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 159
"__id__": 160
},
"_enabled": true,
"_materials": [
......@@ -7115,7 +7181,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "88509eaa-1979-4b1b-8467-1213107d8d9b"
"__uuid__": "5ad5a040-45af-4787-b6ad-ef6d25814c6c"
},
"_type": 0,
"_sizeMode": 1,
......@@ -7129,25 +7195,25 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a4fjLFK5dMtZVi2TZCTuW9"
"_id": "59/v/1cspLOrYiZ3YMzI5j"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 159
"__id__": 160
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 18,
"_alignFlags": 16,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 150,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
......@@ -7156,53 +7222,850 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "45Btqc8j1IPp+Xl21JVWSS"
"_id": "35t8Q1fENODJWin601idcm"
},
{
"__type__": "cc.Node",
"_name": "labelWin",
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"_parent": {
"__id__": 158
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 163
"node": {
"__id__": 160
},
{
"__id__": 164
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"_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
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1070,
"height": 451
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
"_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": "f0GF8UWp5JzZAMhMP8GaLW"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 153
},
"asset": {
"__uuid__": "1e11f1b1-8bd1-448d-92da-17f062444db3"
},
"fileId": "2dFg2BRxNDIbzNQUJzInwD",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "BtnPlayAgain",
"_objFlags": 0,
"_parent": {
"__id__": 159
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 166
},
{
"__id__": 167
},
{
"__id__": 168
}
],
"_prefab": {
"__id__": 169
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 158,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-150,
-50,
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": "e4/Kq8kFNAcpEjxeRpbQGZ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f5f86bc8-874a-4fd8-9dc9-e89b2f7420e6"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "afP8CaOwFFXJeOp8+gydyD"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 16,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": -150,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "afR8KNFx1HVK6YbXQyCx0/"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
},
"_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": "01Gq4VRMtH54x5d/qNjCD6"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 153
},
"asset": {
"__uuid__": "1e11f1b1-8bd1-448d-92da-17f062444db3"
},
"fileId": "426YGeaQ1GSqxAl0es/FZ5",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 159
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4560a114-94c8-4372-ade2-c489c6e74bb7"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "231CoouRtOa4FNyUstpYl4"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 153
},
"asset": {
"__uuid__": "1e11f1b1-8bd1-448d-92da-17f062444db3"
},
"fileId": "1bsWjap9JK84XN2hkYfXDb",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 153
},
"_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": "0bRMt2vnZPnpd9xunK+k1T"
},
{
"__type__": "b0f56al0qFDiZwckuMV4/ca",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 153
},
"_enabled": true,
"_id": "f1HtC+YZ9Jq7qaM4EidkGP"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 153
},
"asset": {
"__uuid__": "1e11f1b1-8bd1-448d-92da-17f062444db3"
},
"fileId": "",
"sync": false
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_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": 2560,
"_originalHeight": 1920,
"_id": "17YA8Nu1dLN6R6o3Ie/SyN"
},
{
"__type__": "cc.Node",
"_name": "endBg",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 177
},
{
"__id__": 180
}
],
"_active": false,
"_components": [
{
"__id__": 189
},
{
"__id__": 190
}
],
"_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": "c2LGM+IBlEgp7HT+DBiBoZ"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 176
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 178
},
{
"__id__": 179
}
],
"_prefab": null,
"_opacity": 0,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"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": "9cjbtB0sNCsLMdza0zrJ8B"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 177
},
"_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": "60jQo7aKpO+755Gs2kdTZQ"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 177
},
"_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": "3c8tUAlc9PQoBjysSDbTCd"
},
{
"__type__": "cc.Node",
"_name": "labelBg",
"_objFlags": 0,
"_parent": {
"__id__": 176
},
"_children": [
{
"__id__": 181
},
{
"__id__": 184
}
],
"_active": true,
"_components": [
{
"__id__": 187
},
{
"__id__": 188
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 2176,
"height": 485
},
"_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": "94OW6myZZCT6VNaP4RYn5r"
},
{
"__type__": "cc.Node",
"_name": "labelLoss",
"_objFlags": 0,
"_parent": {
"__id__": 180
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 182
},
{
"__id__": 183
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1064,
"height": 451
},
"_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": "ddk/9W0hlK/K1u2b15srM6"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 181
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "88509eaa-1979-4b1b-8467-1213107d8d9b"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a4fjLFK5dMtZVi2TZCTuW9"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 181
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 18,
"_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": "45Btqc8j1IPp+Xl21JVWSS"
},
{
"__type__": "cc.Node",
"_name": "labelWin",
"_objFlags": 0,
"_parent": {
"__id__": 180
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 185
},
{
"__id__": 186
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1070,
"height": 451
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
......@@ -7228,7 +8091,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 162
"__id__": 184
},
"_enabled": true,
"_materials": [
......@@ -7260,7 +8123,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 162
"__id__": 184
},
"_enabled": true,
"alignMode": 1,
......@@ -7287,7 +8150,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 158
"__id__": 180
},
"_enabled": true,
"_materials": [
......@@ -7319,7 +8182,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 158
"__id__": 180
},
"_enabled": true,
"alignMode": 2,
......@@ -7346,7 +8209,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
"__id__": 176
},
"_enabled": true,
"alignMode": 2,
......@@ -7373,7 +8236,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
"__id__": 176
},
"_enabled": true,
"_normalMaterial": null,
......@@ -7502,22 +8365,22 @@
},
"_children": [
{
"__id__": 173
"__id__": 195
},
{
"__id__": 175
"__id__": 197
},
{
"__id__": 177
"__id__": 199
},
{
"__id__": 179
"__id__": 201
},
{
"__id__": 181
"__id__": 203
},
{
"__id__": 183
"__id__": 205
}
],
"_active": true,
......@@ -7575,13 +8438,13 @@
"_name": "落子",
"_objFlags": 0,
"_parent": {
"__id__": 172
"__id__": 194
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 174
"__id__": 196
}
],
"_prefab": null,
......@@ -7637,7 +8500,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 173
"__id__": 195
},
"_enabled": true,
"_clip": {
......@@ -7656,13 +8519,13 @@
"_name": "正确",
"_objFlags": 0,
"_parent": {
"__id__": 172
"__id__": 194
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 176
"__id__": 198
}
],
"_prefab": null,
......@@ -7718,7 +8581,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 175
"__id__": 197
},
"_enabled": true,
"_clip": {
......@@ -7737,13 +8600,13 @@
"_name": "失败",
"_objFlags": 0,
"_parent": {
"__id__": 172
"__id__": 194
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 178
"__id__": 200
}
],
"_prefab": null,
......@@ -7799,7 +8662,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 177
"__id__": 199
},
"_enabled": true,
"_clip": {
......@@ -7818,13 +8681,13 @@
"_name": "错误弹回",
"_objFlags": 0,
"_parent": {
"__id__": 172
"__id__": 194
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 180
"__id__": 202
}
],
"_prefab": null,
......@@ -7880,7 +8743,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 179
"__id__": 201
},
"_enabled": true,
"_clip": {
......@@ -7899,13 +8762,13 @@
"_name": "进度条升高",
"_objFlags": 0,
"_parent": {
"__id__": 172
"__id__": 194
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 182
"__id__": 204
}
],
"_prefab": null,
......@@ -7961,7 +8824,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 181
"__id__": 203
},
"_enabled": true,
"_clip": {
......@@ -7980,13 +8843,13 @@
"_name": "胜利",
"_objFlags": 0,
"_parent": {
"__id__": 172
"__id__": 194
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 184
"__id__": 206
}
],
"_prefab": null,
......@@ -8042,7 +8905,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 183
"__id__": 205
},
"_enabled": true,
"_clip": {
......@@ -8065,10 +8928,10 @@
},
"_children": [
{
"__id__": 186
"__id__": 208
},
{
"__id__": 188
"__id__": 210
}
],
"_active": true,
......@@ -8126,13 +8989,13 @@
"_name": "light",
"_objFlags": 0,
"_parent": {
"__id__": 185
"__id__": 207
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 187
"__id__": 209
}
],
"_prefab": null,
......@@ -8188,7 +9051,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 186
"__id__": 208
},
"_enabled": true,
"_materials": [
......@@ -8220,13 +9083,13 @@
"_name": "star",
"_objFlags": 0,
"_parent": {
"__id__": 185
"__id__": 207
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 189
"__id__": 211
}
],
"_prefab": null,
......@@ -8282,7 +9145,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 188
"__id__": 210
},
"_enabled": true,
"_materials": [
......
......@@ -627,6 +627,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc.log("playerLeave" + JSON.stringify(event));
});
this.networkHelper.on("playerOffLine", (event) => {
cc.find('Canvas/bg/PlayerOffLineLayer').active = true;
this.networkHelper.leaveRoom();
cc.log("playerOffLine" + JSON.stringify(event));
});
this.networkHelper.on("gameStart", (event) => {});
......
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