Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
op_16
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
op_16
Commits
54c8ea67
Commit
54c8ea67
authored
Feb 21, 2022
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: player offline layer
parent
912c2a58
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
2088 additions
and
164 deletions
+2088
-164
PlayerOffLineLayer.meta
assets/op_16/prefab/PlayerOffLineLayer.meta
+12
-0
PlayerOffLineLayer.js
assets/op_16/prefab/PlayerOffLineLayer/PlayerOffLineLayer.js
+38
-0
PlayerOffLineLayer.js.meta
...p_16/prefab/PlayerOffLineLayer/PlayerOffLineLayer.js.meta
+9
-0
PlayerOffLineLayer.prefab
...op_16/prefab/PlayerOffLineLayer/PlayerOffLineLayer.prefab
+872
-0
PlayerOffLineLayer.prefab.meta
.../prefab/PlayerOffLineLayer/PlayerOffLineLayer.prefab.meta
+8
-0
textures.meta
assets/op_16/prefab/PlayerOffLineLayer/textures.meta
+12
-0
BtnExit.png
assets/op_16/prefab/PlayerOffLineLayer/textures/BtnExit.png
+0
-0
BtnExit.png.meta
...op_16/prefab/PlayerOffLineLayer/textures/BtnExit.png.meta
+36
-0
BtnFrame.png
assets/op_16/prefab/PlayerOffLineLayer/textures/BtnFrame.png
+0
-0
BtnFrame.png.meta
...p_16/prefab/PlayerOffLineLayer/textures/BtnFrame.png.meta
+36
-0
BtnPlayAgain.png
...op_16/prefab/PlayerOffLineLayer/textures/BtnPlayAgain.png
+0
-0
BtnPlayAgain.png.meta
.../prefab/PlayerOffLineLayer/textures/BtnPlayAgain.png.meta
+36
-0
op_16.fire
assets/op_16/scene/op_16.fire
+1027
-164
op_16.ts
assets/op_16/scene/op_16.ts
+2
-0
No files found.
assets/op_16/prefab/PlayerOffLineLayer.meta
0 → 100644
View file @
54c8ea67
{
"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
assets/op_16/prefab/PlayerOffLineLayer/PlayerOffLineLayer.js
0 → 100644
View file @
54c8ea67
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
)
=>
{
});
});
},
});
assets/op_16/prefab/PlayerOffLineLayer/PlayerOffLineLayer.js.meta
0 → 100644
View file @
54c8ea67
{
"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
assets/op_16/prefab/PlayerOffLineLayer/PlayerOffLineLayer.prefab
0 → 100644
View file @
54c8ea67
[
{
"__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
assets/op_16/prefab/PlayerOffLineLayer/PlayerOffLineLayer.prefab.meta
0 → 100644
View file @
54c8ea67
{
"ver": "1.2.9",
"uuid": "1e11f1b1-8bd1-448d-92da-17f062444db3",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
assets/op_16/prefab/PlayerOffLineLayer/textures.meta
0 → 100644
View file @
54c8ea67
{
"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
assets/op_16/prefab/PlayerOffLineLayer/textures/BtnExit.png
0 → 100644
View file @
54c8ea67
9.59 KB
assets/op_16/prefab/PlayerOffLineLayer/textures/BtnExit.png.meta
0 → 100644
View file @
54c8ea67
{
"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
assets/op_16/prefab/PlayerOffLineLayer/textures/BtnFrame.png
0 → 100644
View file @
54c8ea67
16.6 KB
assets/op_16/prefab/PlayerOffLineLayer/textures/BtnFrame.png.meta
0 → 100644
View file @
54c8ea67
{
"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
assets/op_16/prefab/PlayerOffLineLayer/textures/BtnPlayAgain.png
0 → 100644
View file @
54c8ea67
8.55 KB
assets/op_16/prefab/PlayerOffLineLayer/textures/BtnPlayAgain.png.meta
0 → 100644
View file @
54c8ea67
{
"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
assets/op_16/scene/op_16.fire
View file @
54c8ea67
...
...
@@ -17,10 +17,10 @@
"__id__": 2
},
{
"__id__": 1
72
"__id__": 1
94
},
{
"__id__":
185
"__id__":
207
}
],
"_active": false,
...
...
@@ -84,19 +84,19 @@
"__id__": 7
},
{
"__id__": 1
54
"__id__": 1
76
}
],
"_active": true,
"_components": [
{
"__id__": 1
69
"__id__": 1
91
},
{
"__id__": 1
70
"__id__": 1
92
},
{
"__id__": 1
71
"__id__": 1
93
}
],
"_prefab": null,
...
...
@@ -367,12 +367,15 @@
},
{
"__id__": 151
},
{
"__id__": 153
}
],
"_active": true,
"_components": [
{
"__id__": 1
53
"__id__": 1
75
}
],
"_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__": 15
5
"__id__": 15
4
},
{
"__id__": 15
8
"__id__": 15
9
}
],
"_active": false,
"_components": [
{
"__id__": 1
67
"__id__": 1
72
},
{
"__id__": 1
68
"__id__": 1
73
}
],
"_prefab": null,
"_prefab": {
"__id__": 174
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
...
...
@@ -6813,8 +6791,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
128
0,
96
0,
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__": 15
4
"__id__": 15
3
},
"_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__": 15
5
"__id__": 15
4
},
"_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__": 15
5
"__id__": 15
4
},
"_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__": 15
4
"__id__": 15
3
},
"_children": [
{
"__id__": 1
59
"__id__": 1
60
},
{
"__id__": 16
2
"__id__": 16
5
}
],
"_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__": 15
8
"__id__": 15
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 16
0
"__id__": 16
1
},
{
"__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": 1
064
,
"height":
451
"width": 1
58
,
"height":
60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -7074,8 +7140,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
15
0,
-5
0,
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__": 1
59
"__id__": 1
60
},
"_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__": 1
59
"__id__": 1
60
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 1
8
,
"_alignFlags": 1
6
,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter":
15
0,
"_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__": 1
62
"__id__": 1
84
},
"_enabled": true,
"_materials": [
...
...
@@ -7260,7 +8123,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
62
"__id__": 1
84
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -7287,7 +8150,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
58
"__id__": 1
80
},
"_enabled": true,
"_materials": [
...
...
@@ -7319,7 +8182,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
58
"__id__": 1
80
},
"_enabled": true,
"alignMode": 2,
...
...
@@ -7346,7 +8209,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
54
"__id__": 1
76
},
"_enabled": true,
"alignMode": 2,
...
...
@@ -7373,7 +8236,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
54
"__id__": 1
76
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -7502,22 +8365,22 @@
},
"_children": [
{
"__id__": 1
73
"__id__": 1
95
},
{
"__id__": 1
75
"__id__": 1
97
},
{
"__id__": 1
77
"__id__": 1
99
},
{
"__id__":
179
"__id__":
201
},
{
"__id__":
181
"__id__":
203
},
{
"__id__":
183
"__id__":
205
}
],
"_active": true,
...
...
@@ -7575,13 +8438,13 @@
"_name": "落子",
"_objFlags": 0,
"_parent": {
"__id__": 1
72
"__id__": 1
94
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
74
"__id__": 1
96
}
],
"_prefab": null,
...
...
@@ -7637,7 +8500,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
73
"__id__": 1
95
},
"_enabled": true,
"_clip": {
...
...
@@ -7656,13 +8519,13 @@
"_name": "正确",
"_objFlags": 0,
"_parent": {
"__id__": 1
72
"__id__": 1
94
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
76
"__id__": 1
98
}
],
"_prefab": null,
...
...
@@ -7718,7 +8581,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
75
"__id__": 1
97
},
"_enabled": true,
"_clip": {
...
...
@@ -7737,13 +8600,13 @@
"_name": "失败",
"_objFlags": 0,
"_parent": {
"__id__": 1
72
"__id__": 1
94
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
178
"__id__":
200
}
],
"_prefab": null,
...
...
@@ -7799,7 +8662,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
77
"__id__": 1
99
},
"_enabled": true,
"_clip": {
...
...
@@ -7818,13 +8681,13 @@
"_name": "错误弹回",
"_objFlags": 0,
"_parent": {
"__id__": 1
72
"__id__": 1
94
},
"_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__": 1
72
"__id__": 1
94
},
"_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__": 1
72
"__id__": 1
94
},
"_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": [
...
...
assets/op_16/scene/op_16.ts
View file @
54c8ea67
...
...
@@ -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
)
=>
{});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment