Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
op_09
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_09
Commits
30c7c2bd
Commit
30c7c2bd
authored
Dec 28, 2021
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: replay
parent
979205fe
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
891 additions
and
131 deletions
+891
-131
op_09.fire
assets/op_09/scene/op_09.fire
+784
-131
op_09.js
assets/op_09/scene/op_09.js
+35
-0
bg_circle.png
assets/op_09/textures/bg_circle.png
+0
-0
bg_circle.png.meta
assets/op_09/textures/bg_circle.png.meta
+36
-0
btn_replay.png
assets/op_09/textures/btn_replay.png
+0
-0
btn_replay.png.meta
assets/op_09/textures/btn_replay.png.meta
+36
-0
No files found.
assets/op_09/scene/op_09.fire
View file @
30c7c2bd
...
...
@@ -17,10 +17,10 @@
"__id__": 2
},
{
"__id__":
33
"__id__":
46
},
{
"__id__":
35
"__id__":
48
}
],
"_active": false,
...
...
@@ -84,13 +84,13 @@
"_active": true,
"_components": [
{
"__id__":
30
"__id__":
43
},
{
"__id__":
31
"__id__":
44
},
{
"__id__":
32
"__id__":
45
}
],
"_prefab": null,
...
...
@@ -270,12 +270,15 @@
},
{
"__id__": 25
},
{
"__id__": 32
}
],
"_active": true,
"_components": [
{
"__id__":
29
"__id__":
42
}
],
"_prefab": null,
...
...
@@ -1220,12 +1223,15 @@
"_children": [
{
"__id__": 26
},
{
"__id__": 28
}
],
"_active": true,
"_components": [
{
"__id__":
28
"__id__":
31
}
],
"_prefab": null,
...
...
@@ -1379,47 +1385,153 @@
"_id": "80RZYRgzNKUbMXQ81tgamK"
},
{
"__type__": "cc.Widget",
"__type__": "cc.Node",
"_name": "BtnCoolCat",
"_objFlags": 0,
"_parent": {
"__id__": 25
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 29
},
{
"__id__": 30
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 362,
"height": 483
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
877,
-513.5,
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": "94D9uHjApEaIIGT3Iyf3Tq"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
5
"__id__": 2
8
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 36,
"_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": "e7KTOvKrlHvpBkVaz3Q9ur"
"_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": "afF2VKnd5FuYkMUuEW+GmN"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
5
"__id__":
28
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags":
45
,
"_alignFlags":
36
,
"_left": 0,
"_right": 0,
"_right":
3
0,
"_top": 0,
"_bottom":
0
,
"_bottom":
45
,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
...
...
@@ -1428,38 +1540,21 @@
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 2176,
"_originalHeight": 1600,
"_id": "9dxY8YldNKUa7NV9iIGBIL"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 2176,
"height": 1600
},
"_fitWidth": false,
"_fitHeight": false,
"_id": "59Cd0ovbdF4byw5sbjJDx7"
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "18zo4kUUJLQ50p7vjJhedc"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
"__id__": 2
5
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags":
45
,
"_alignFlags":
36
,
"_left": 0,
"_right": 0,
"_top": 0,
...
...
@@ -1474,30 +1569,36 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "
29zXboiXFBKoIV4PQ2liTe
"
"_id": "
e7KTOvKrlHvpBkVaz3Q9ur
"
},
{
"__type__": "
0e7205TFJ1Pjogb2tsB2COD
",
"_name": "",
"__type__": "
cc.Node
",
"_name": "
btnReplay
",
"_objFlags": 0,
"
node
": {
"__id__":
2
"
_parent
": {
"__id__":
5
},
"_enabled": true,
"_id": "4e8924f57e1b4c17861ac7"
"_children": [
{
"__id__": 33
},
{
"__type__": "cc.Node",
"_name": "option",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 35
},
"_children": [],
"_active": true,
{
"__id__": 37
}
],
"_active": false,
"_components": [
{
"__id__": 34
"__id__": 39
},
{
"__id__": 40
},
{
"__id__": 41
}
],
"_prefab": null,
...
...
@@ -1511,8 +1612,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
40
,
"height":
36
"width":
262
,
"height":
268
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -1523,8 +1624,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-667.109
,
-451.328
,
0
,
0
,
0,
0,
0,
...
...
@@ -1546,30 +1647,582 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
f1nLyNx8pHU5Sy0656hPYq
"
"_id": "
e2rl12GU1Pap0+jEPb/tgU
"
},
{
"__type__": "cc.
Sprit
e",
"_name": "",
"__type__": "cc.
Nod
e",
"_name": "
bg_circle2
",
"_objFlags": 0,
"
node
": {
"__id__": 3
3
"
_parent
": {
"__id__": 3
2
},
"_enabled": true,
"_materials": [
"_children": [],
"_active": true,
"_components": [
{
"__
uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__
id__": 34
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 409,
"height": 409
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
0.8,
0.8,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "e3qvijXZBAx4w1YeDPVGqU"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "75bb0910-bb15-4daf-9a6d-6873c400a148"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "99TJo0IHhJI5dxM//jODVm"
},
{
"__type__": "cc.Node",
"_name": "bg_circle",
"_objFlags": 0,
"_parent": {
"__id__": 32
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 36
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 409,
"height": 409
},
"_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": "665iz+zpxFB6eSUycqRXeC"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "75bb0910-bb15-4daf-9a6d-6873c400a148"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "58Qz7rVBNLfZA2hhvYqfRA"
},
{
"__type__": "cc.Node",
"_name": "btn_replay",
"_objFlags": 0,
"_parent": {
"__id__": 32
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 38
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 262,
"height": 268
},
"_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": "66ZTZvHHxFcYE3GfpR42dm"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c2f5963d-2ed1-4add-91b8-f3c4ff0d893e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "12XTruEv9EcLJzF5X0XtiU"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c2f5963d-2ed1-4add-91b8-f3c4ff0d893e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "864WLabbVGGLMQjMWWZquo"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
},
"_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": "5ccRYOowdKFasDmU9J05k+"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
},
"_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": "1epIK/u/xKv5VW+he6IYHr"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 2176,
"_originalHeight": 1600,
"_id": "9dxY8YldNKUa7NV9iIGBIL"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 2176,
"height": 1600
},
"_fitWidth": false,
"_fitHeight": false,
"_id": "59Cd0ovbdF4byw5sbjJDx7"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
"__type__": "0e7205TFJ1Pjogb2tsB2COD",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_id": "4e8924f57e1b4c17861ac7"
},
{
"__type__": "cc.Node",
"_name": "option",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 47
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 36
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-667.109,
-451.328,
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": "f1nLyNx8pHU5Sy0656hPYq"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 46
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
...
...
@@ -1589,34 +2242,34 @@
},
"_children": [
{
"__id__":
36
"__id__":
49
},
{
"__id__":
38
"__id__":
51
},
{
"__id__":
40
"__id__":
53
},
{
"__id__":
42
"__id__":
55
},
{
"__id__":
44
"__id__":
57
},
{
"__id__":
46
"__id__":
59
},
{
"__id__":
48
"__id__":
61
},
{
"__id__":
50
"__id__":
63
},
{
"__id__":
52
"__id__":
65
},
{
"__id__":
54
"__id__":
67
}
],
"_active": true,
...
...
@@ -1674,13 +2327,13 @@
"_name": "next",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
48
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
37
"__id__":
50
}
],
"_prefab": null,
...
...
@@ -1736,7 +2389,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
36
"__id__":
49
},
"_enabled": true,
"_clip": {
...
...
@@ -1755,13 +2408,13 @@
"_name": "boxJump",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
48
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
39
"__id__":
52
}
],
"_prefab": null,
...
...
@@ -1817,7 +2470,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
38
"__id__":
51
},
"_enabled": true,
"_clip": {
...
...
@@ -1836,13 +2489,13 @@
"_name": "jumpAll",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
48
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
41
"__id__":
54
}
],
"_prefab": null,
...
...
@@ -1898,7 +2551,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
40
"__id__":
53
},
"_enabled": true,
"_clip": {
...
...
@@ -1917,13 +2570,13 @@
"_name": "submit",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
48
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
43
"__id__":
56
}
],
"_prefab": null,
...
...
@@ -1979,7 +2632,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
42
"__id__":
55
},
"_enabled": true,
"_clip": {
...
...
@@ -1998,13 +2651,13 @@
"_name": "flyBack",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
48
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
45
"__id__":
58
}
],
"_prefab": null,
...
...
@@ -2060,7 +2713,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
44
"__id__":
57
},
"_enabled": true,
"_clip": {
...
...
@@ -2079,13 +2732,13 @@
"_name": "flyBackAll",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
48
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
47
"__id__":
60
}
],
"_prefab": null,
...
...
@@ -2141,7 +2794,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
46
"__id__":
59
},
"_enabled": true,
"_clip": {
...
...
@@ -2160,13 +2813,13 @@
"_name": "CoolCatRight",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
48
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
49
"__id__":
62
}
],
"_prefab": null,
...
...
@@ -2222,7 +2875,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
48
"__id__":
61
},
"_enabled": true,
"_clip": {
...
...
@@ -2241,13 +2894,13 @@
"_name": "CoolCatWrong",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
48
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
51
"__id__":
64
}
],
"_prefab": null,
...
...
@@ -2303,7 +2956,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
50
"__id__":
63
},
"_enabled": true,
"_clip": {
...
...
@@ -2322,13 +2975,13 @@
"_name": "CoolCatBegin",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
48
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
53
"__id__":
66
}
],
"_prefab": null,
...
...
@@ -2384,7 +3037,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
52
"__id__":
65
},
"_enabled": true,
"_clip": {
...
...
@@ -2403,13 +3056,13 @@
"_name": "CoolCatFinish",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
48
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
55
"__id__":
68
}
],
"_prefab": null,
...
...
@@ -2465,7 +3118,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
54
"__id__":
67
},
"_enabled": true,
"_clip": {
...
...
assets/op_09/scene/op_09.js
View file @
30c7c2bd
...
...
@@ -385,6 +385,8 @@ cc.Class({
showNextBtn
()
{
onHomeworkFinish
();
this
.
showRestartBtn
();
const
btnNext
=
cc
.
find
(
'
Canvas/bg/btnNext
'
);
btnNext
.
active
=
true
;
},
...
...
@@ -426,6 +428,39 @@ cc.Class({
},
showRestartBtn
()
{
const
btn
=
cc
.
find
(
'
Canvas/bg/btnReplay
'
);
btn
.
active
=
true
;
btn
.
off
(
'
click
'
);
btn
.
on
(
'
click
'
,
()
=>
{
const
middleLayer
=
cc
.
find
(
'
middleLayer
'
);
if
(
middleLayer
)
{
middleLayer
.
getComponent
(
'
middleLayer
'
).
reloadBundle
();
}
else
{
console
.
log
(
'
没有middleLayer
'
);
}
});
const
circle
=
cc
.
find
(
'
Canvas/bg/btnReplay/bg_circle
'
);
cc
.
tween
(
circle
)
.
set
({
scale
:
0.8
,
opacity
:
255
})
.
to
(
2
,
{
scale
:
1.2
,
opacity
:
0
})
.
union
()
.
repeatForever
()
.
start
();
},
hideRestartBtn
()
{
console
.
log
(
'
hideRestartBtn
'
);
const
btn
=
cc
.
find
(
'
Canvas/bg/btnReplay
'
);
btn
.
active
=
false
;
const
circle
=
cc
.
find
(
'
Canvas/bg/btnReplay/bg_circle
'
);
circle
.
stopAllActions
();
circle
.
scale
=
0.8
;
circle
.
opacity
=
255
;
},
...
...
assets/op_09/textures/bg_circle.png
0 → 100644
View file @
30c7c2bd
7.02 KB
assets/op_09/textures/bg_circle.png.meta
0 → 100644
View file @
30c7c2bd
{
"ver": "2.3.5",
"uuid": "40a7f7d6-3f30-46c7-b9e4-1d5fcfc0c648",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 409,
"height": 409,
"platformSettings": {},
"subMetas": {
"bg_circle": {
"ver": "1.0.4",
"uuid": "75bb0910-bb15-4daf-9a6d-6873c400a148",
"rawTextureUuid": "40a7f7d6-3f30-46c7-b9e4-1d5fcfc0c648",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 409,
"height": 409,
"rawWidth": 409,
"rawHeight": 409,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
assets/op_09/textures/btn_replay.png
0 → 100644
View file @
30c7c2bd
20.1 KB
assets/op_09/textures/btn_replay.png.meta
0 → 100644
View file @
30c7c2bd
{
"ver": "2.3.5",
"uuid": "87cc865a-7ac0-44b4-8919-3b01f815748f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 262,
"height": 268,
"platformSettings": {},
"subMetas": {
"btn_replay": {
"ver": "1.0.4",
"uuid": "c2f5963d-2ed1-4add-91b8-f3c4ff0d893e",
"rawTextureUuid": "87cc865a-7ac0-44b4-8919-3b01f815748f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 262,
"height": 268,
"rawWidth": 262,
"rawHeight": 268,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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