Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dfzx_ac2
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
dfzx_ac2
Commits
85562a95
Commit
85562a95
authored
Mar 22, 2021
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev commit
parent
f3911585
Changes
27
Show whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
2656 additions
and
187 deletions
+2656
-187
bubble.prefab
play/assets/tmpGame/prefabs/bubble.prefab
+1185
-11
Scene.fire
play/assets/tmpGame/scene/Scene.fire
+842
-101
Cartoon.js
play/assets/tmpGame/script/Cartoon.js
+1
-2
GameLogic.js
play/assets/tmpGame/script/GameLogic.js
+254
-70
utils.js
play/assets/tmpGame/script/utils.js
+0
-1
ani.meta
play/assets/tmpGame/textures/ani.meta
+12
-0
bubble_ani (1).png
play/assets/tmpGame/textures/ani/bubble_ani (1).png
+0
-0
bubble_ani (1).png.meta
play/assets/tmpGame/textures/ani/bubble_ani (1).png.meta
+36
-0
bubble_ani (2).png
play/assets/tmpGame/textures/ani/bubble_ani (2).png
+0
-0
bubble_ani (2).png.meta
play/assets/tmpGame/textures/ani/bubble_ani (2).png.meta
+36
-0
bubble_ani (3).png
play/assets/tmpGame/textures/ani/bubble_ani (3).png
+0
-0
bubble_ani (3).png.meta
play/assets/tmpGame/textures/ani/bubble_ani (3).png.meta
+36
-0
bubble_ani (4).png
play/assets/tmpGame/textures/ani/bubble_ani (4).png
+0
-0
bubble_ani (4).png.meta
play/assets/tmpGame/textures/ani/bubble_ani (4).png.meta
+36
-0
bubble_ani (5).png
play/assets/tmpGame/textures/ani/bubble_ani (5).png
+0
-0
bubble_ani (5).png.meta
play/assets/tmpGame/textures/ani/bubble_ani (5).png.meta
+36
-0
bubble_ani (6).png
play/assets/tmpGame/textures/ani/bubble_ani (6).png
+0
-0
bubble_ani (6).png.meta
play/assets/tmpGame/textures/ani/bubble_ani (6).png.meta
+36
-0
bubble_ani (7).png
play/assets/tmpGame/textures/ani/bubble_ani (7).png
+0
-0
bubble_ani (7).png.meta
play/assets/tmpGame/textures/ani/bubble_ani (7).png.meta
+36
-0
bubble_ani (8).png
play/assets/tmpGame/textures/ani/bubble_ani (8).png
+0
-0
bubble_ani (8).png.meta
play/assets/tmpGame/textures/ani/bubble_ani (8).png.meta
+36
-0
bubble_ani (9).png
play/assets/tmpGame/textures/ani/bubble_ani (9).png
+0
-0
bubble_ani (9).png.meta
play/assets/tmpGame/textures/ani/bubble_ani (9).png.meta
+36
-0
bg_sahua.png
play/assets/tmpGame/textures/bg_sahua.png
+0
-0
bg_sahua.png.meta
play/assets/tmpGame/textures/bg_sahua.png.meta
+36
-0
bubble.png.meta
play/assets/tmpGame/textures/bubble.png.meta
+2
-2
No files found.
play/assets/tmpGame/prefabs/bubble.prefab
View file @
85562a95
...
...
@@ -22,16 +22,109 @@
},
{
"__id__": 5
},
{
"__id__": 8
},
{
"__id__": 11
},
{
"__id__": 14
},
{
"__id__": 17
},
{
"__id__": 20
},
{
"__id__": 23
},
{
"__id__": 26
},
{
"__id__": 29
},
{
"__id__": 32
},
{
"__id__": 35
},
{
"__id__": 38
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 41
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 195,
"height": 195
},
"_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.Node",
"_name": "image",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
8
"__id__":
3
}
],
"_prefab": {
"__id__":
9
"__id__":
4
},
"_opacity": 255,
"_color": {
...
...
@@ -80,6 +173,49 @@
"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__": "82444753-9e7e-4432-89cb-8d72344d2c44"
},
"_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__": "ff427172-05bc-4907-a9d6-859d14218f60"
},
"fileId": "40FMhndotGn6Z5VcMAwg4I",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "image_container",
...
...
@@ -91,11 +227,11 @@
"_active": false,
"_components": [
{
"__id__":
3
"__id__":
6
}
],
"_prefab": {
"__id__":
4
"__id__":
7
},
"_opacity": 255,
"_color": {
...
...
@@ -149,7 +285,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
2
"__id__":
5
},
"_enabled": true,
"_materials": [
...
...
@@ -196,11 +332,11 @@
"_active": false,
"_components": [
{
"__id__":
6
"__id__":
9
}
],
"_prefab": {
"__id__":
7
"__id__":
10
},
"_opacity": 255,
"_color": {
...
...
@@ -254,7 +390,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
5
"__id__":
8
},
"_enabled": true,
"_materials": [
...
...
@@ -296,12 +432,76 @@
"fileId": "2akJJN5Z5PBojIxLlwAnDB",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "bubble_ani (1)",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 12
}
],
"_prefab": {
"__id__": 13
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 195,
"height": 195
},
"_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__": 1
"__id__": 1
1
},
"_enabled": true,
"_materials": [
...
...
@@ -312,10 +512,10 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
82444753-9e7e-4432-89cb-8d72344d2c44
"
"__uuid__": "
4fa000f0-d76e-4956-80ea-3039b76442c3
"
},
"_type": 0,
"_sizeMode":
1
,
"_sizeMode":
0
,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
...
...
@@ -328,6 +528,980 @@
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "ff427172-05bc-4907-a9d6-859d14218f60"
},
"fileId": "7cw5PXwC1P3YnqavDaRXWo",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "bubble_ani (2)",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 15
}
],
"_prefab": {
"__id__": 16
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 195,
"height": 195
},
"_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__": 14
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b8c0bcdb-74e7-4b9d-ad16-5117716997a2"
},
"_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.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "ff427172-05bc-4907-a9d6-859d14218f60"
},
"fileId": "61W+CLczNAMqbYFLiBBKXw",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "bubble_ani (3)",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_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": 195,
"height": 195
},
"_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__": 17
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d9d9d899-c61d-486f-beb2-d50f68204a5e"
},
"_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.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "ff427172-05bc-4907-a9d6-859d14218f60"
},
"fileId": "beMYzCWu5DcYuyodUiyawp",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "bubble_ani (4)",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 21
}
],
"_prefab": {
"__id__": 22
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 195,
"height": 195
},
"_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__": 20
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "09ddffcf-a332-412e-bfe5-7d195984e9bd"
},
"_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.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "ff427172-05bc-4907-a9d6-859d14218f60"
},
"fileId": "3cC6OUqkpC15VmvlYyJSE4",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "bubble_ani (5)",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 24
}
],
"_prefab": {
"__id__": 25
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 195,
"height": 195
},
"_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__": 23
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "f58c319b-319e-4639-a522-1010e6cfd148"
},
"_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.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "ff427172-05bc-4907-a9d6-859d14218f60"
},
"fileId": "71q7K8/lRGsJ4bxL5FnG8Y",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "bubble_ani (6)",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 27
}
],
"_prefab": {
"__id__": 28
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 195,
"height": 195
},
"_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__": 26
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "7303a330-a4c5-435f-8b54-987b70a40a6b"
},
"_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.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "ff427172-05bc-4907-a9d6-859d14218f60"
},
"fileId": "337TLLiw9KVK548OzZtaWF",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "bubble_ani (7)",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 30
}
],
"_prefab": {
"__id__": 31
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 195,
"height": 195
},
"_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__": 29
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4c765d84-a51f-432f-b031-89a5ef7a7080"
},
"_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.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "ff427172-05bc-4907-a9d6-859d14218f60"
},
"fileId": "76hCHcwiJBLYvyNrEd6Fwe",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "bubble_ani (9)",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 33
}
],
"_prefab": {
"__id__": 34
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 195,
"height": 195
},
"_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__": 32
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d93cf7e1-8f50-43f9-805b-f9d9b93cd13b"
},
"_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.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "ff427172-05bc-4907-a9d6-859d14218f60"
},
"fileId": "68tufDD+hPCKgPJ9AG7usL",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "bubble_ani (8)",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 36
}
],
"_prefab": {
"__id__": 37
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 195,
"height": 195
},
"_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__": 35
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "c13caa19-b445-463f-9afe-b84acf12d2d5"
},
"_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.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "ff427172-05bc-4907-a9d6-859d14218f60"
},
"fileId": "f7ty00Vj9GtpTyWqdCJqTQ",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "color",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 39
}
],
"_prefab": {
"__id__": 40
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 195,
"height": 195
},
"_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__": 38
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "82444753-9e7e-4432-89cb-8d72344d2c44"
},
"_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.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "ff427172-05bc-4907-a9d6-859d14218f60"
},
"fileId": "56xbq+PFBLRLuT1De1pKXT",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
...
...
play/assets/tmpGame/scene/Scene.fire
View file @
85562a95
...
...
@@ -81,34 +81,37 @@
"__id__": 11
},
{
"__id__": 2
1
"__id__": 2
3
},
{
"__id__": 2
4
"__id__": 2
6
},
{
"__id__": 2
7
"__id__": 2
9
},
{
"__id__":
28
"__id__":
30
},
{
"__id__":
29
"__id__":
31
},
{
"__id__": 30
"__id__": 32
},
{
"__id__": 45
}
],
"_active": true,
"_components": [
{
"__id__":
52
"__id__":
67
},
{
"__id__":
53
"__id__":
68
},
{
"__id__":
54
"__id__":
69
}
],
"_prefab": null,
...
...
@@ -198,7 +201,7 @@
"array": [
0,
0,
349.9825163043863
,
537.665603148476
,
0,
0,
0,
...
...
@@ -551,10 +554,10 @@
}
],
"_armatureName": "Armature",
"_animationName": "
normal
",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"playTimes":
-
1,
"premultipliedAlpha": false,
"_armatureKey": "e3d39ead-9ae5-45df-a908-d9fee96d1c97#8b7f8e75-240d-4acb-9738-aa9bcc9e582e",
"_accTime": 0,
...
...
@@ -570,7 +573,7 @@
"__uuid__": "8b7f8e75-240d-4acb-9738-aa9bcc9e582e"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex":
1
,
"_N$_animationIndex":
0
,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
...
...
@@ -596,12 +599,15 @@
},
{
"__id__": 18
},
{
"__id__": 20
}
],
"_active": true,
"_components": [
{
"__id__": 2
0
"__id__": 2
2
}
],
"_prefab": null,
...
...
@@ -660,7 +666,7 @@
"__id__": 11
},
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__": 13
...
...
@@ -1028,6 +1034,100 @@
"_atlas": null,
"_id": "63NPeL2oRKUrI+8gBawygI"
},
{
"__type__": "cc.Node",
"_name": "default",
"_objFlags": 0,
"_parent": {
"__id__": 11
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 21
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 95,
"height": 101
},
"_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": "8aQpUaGfJPL41cPRJo6mOa"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4a47635c-e5dd-469d-9655-13378bc366a1"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "172qEaxxtOu6OjrEUmMRP1"
},
{
"__type__": "cc.Button",
"_name": "",
...
...
@@ -1107,7 +1207,7 @@
},
"_children": [
{
"__id__": 2
2
"__id__": 2
4
}
],
"_active": true,
...
...
@@ -1165,13 +1265,13 @@
"_name": "btn_restart",
"_objFlags": 0,
"_parent": {
"__id__": 2
1
"__id__": 2
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
3
"__id__": 2
5
}
],
"_prefab": null,
...
...
@@ -1227,7 +1327,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
2
"__id__": 2
4
},
"_enabled": true,
"_materials": [
...
...
@@ -1263,7 +1363,7 @@
},
"_children": [
{
"__id__": 2
5
"__id__": 2
7
}
],
"_active": true,
...
...
@@ -1321,13 +1421,13 @@
"_name": "btn_back",
"_objFlags": 0,
"_parent": {
"__id__": 2
4
"__id__": 2
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
6
"__id__": 2
8
}
],
"_prefab": null,
...
...
@@ -1383,7 +1483,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
5
"__id__": 2
7
},
"_enabled": true,
"_materials": [
...
...
@@ -1586,23 +1686,32 @@
},
{
"__type__": "cc.Node",
"_name": "
res
",
"_name": "
RibbonNodeBase
",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 3
1
"__id__": 3
3
},
{
"__id__": 3
2
"__id__": 3
5
},
{
"__id__": 35
"__id__": 37
},
{
"__id__": 39
},
{
"__id__": 41
},
{
"__id__": 43
}
],
"_active":
fals
e,
"_active":
tru
e,
"_components": [],
"_prefab": null,
"_opacity": 255,
...
...
@@ -1627,8 +1736,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0
,
0
,
-1161.91
,
-743.57
,
0,
0,
0,
...
...
@@ -1650,31 +1759,35 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
0aAzbH6R1E+6AmGRrkKa5O
"
"_id": "
ccyu+/5JVCCrcCSiC2bxgc
"
},
{
"__type__": "cc.Node",
"_name": "
font
",
"_name": "
bg_sahua
",
"_objFlags": 0,
"_parent": {
"__id__": 3
0
"__id__": 3
2
},
"_children": [],
"_active": true,
"_components": [],
"_components": [
{
"__id__": 34
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 25
5
,
"g":
255
,
"b":
255
,
"r": 25
1
,
"g":
197
,
"b":
13
,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width":
0
,
"height":
0
"width":
36
,
"height":
24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -1686,7 +1799,7 @@
"ctor": "Float64Array",
"array": [
0,
0,
10
0,
0,
0,
0,
...
...
@@ -1708,35 +1821,67 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9bLfcYeeNKrr524vzWchiM"
"_id": "275666BphI7Ii5/DyIE/3T"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a3cc433a-f6df-4267-a442-c0ac476ebaae"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b0iTaTuF5Aibax6SWByeSw"
},
{
"__type__": "cc.Node",
"_name": "
img
",
"_name": "
bg_sahua
",
"_objFlags": 0,
"_parent": {
"__id__": 3
0
"__id__": 3
2
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
3
"__id__": 3
6
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g":
255
,
"b":
255
,
"g":
82
,
"b":
82
,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width":
0
,
"height":
0
"width":
36
,
"height":
24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -1748,7 +1893,7 @@
"ctor": "Float64Array",
"array": [
0,
0
,
59.33
,
0,
0,
0,
...
...
@@ -1770,11 +1915,43 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "53LUHHG2pEr79fyrvazXJs"
"_id": "5cyn1Q9IdMLa3Rdd7op5/F"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a3cc433a-f6df-4267-a442-c0ac476ebaae"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "d8hsv8doBNqogJznvFDeVD"
},
{
"__type__": "cc.Node",
"_name": "
icon
",
"_name": "
bg_sahua
",
"_objFlags": 0,
"_parent": {
"__id__": 32
...
...
@@ -1783,22 +1960,22 @@
"_active": true,
"_components": [
{
"__id__": 3
4
"__id__": 3
8
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r":
255
,
"g": 2
55
,
"b": 2
55
,
"r":
83
,
"g": 2
12
,
"b": 2
44
,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width":
138
,
"height":
141
"width":
36
,
"height":
24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -1810,7 +1987,7 @@
"ctor": "Float64Array",
"array": [
0,
0
,
19.413
,
0,
0,
0,
...
...
@@ -1832,14 +2009,578 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
1blU2OArJIfoC9XfupGxJG
"
"_id": "
aayLz++7FMOKDAsGfNq+Hv
"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 33
"__id__": 37
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a3cc433a-f6df-4267-a442-c0ac476ebaae"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "24HJp8wMRK6Je6dFbBcyeU"
},
{
"__type__": "cc.Node",
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 32
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 40
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 157,
"g": 250,
"b": 36,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 36,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-18.998,
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": "19jFGBul5MeK3v8fxb/ReX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a3cc433a-f6df-4267-a442-c0ac476ebaae"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a7ATPjIw1GFak6DVsyv8mi"
},
{
"__type__": "cc.Node",
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 32
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 42
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 82,
"b": 82,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 36,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-50.63,
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": "c7py2bHzRKYauGI2c9CICw"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 41
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a3cc433a-f6df-4267-a442-c0ac476ebaae"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "faSGrYOCpG04UkXP0txKaQ"
},
{
"__type__": "cc.Node",
"_name": "bg_sahua",
"_objFlags": 0,
"_parent": {
"__id__": 32
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 44
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 83,
"g": 212,
"b": 244,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 36,
"height": 24
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-86.782,
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": "ba5x2+ECZEFbh5y0GOyem5"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a3cc433a-f6df-4267-a442-c0ac476ebaae"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0acDv6o9tIxKMFRqOZf/Ca"
},
{
"__type__": "cc.Node",
"_name": "res",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 46
},
{
"__id__": 47
},
{
"__id__": 50
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_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": "0aAzbH6R1E+6AmGRrkKa5O"
},
{
"__type__": "cc.Node",
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 45
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_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": "9bLfcYeeNKrr524vzWchiM"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 45
},
"_children": [
{
"__id__": 48
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_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": "53LUHHG2pEr79fyrvazXJs"
},
{
"__type__": "cc.Node",
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 47
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 49
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 138,
"height": 141
},
"_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": "1blU2OArJIfoC9XfupGxJG"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 48
},
"_enabled": true,
"_materials": [],
...
...
@@ -1867,32 +2608,32 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__":
30
"__id__":
45
},
"_children": [
{
"__id__":
36
"__id__":
51
},
{
"__id__":
38
"__id__":
53
},
{
"__id__":
40
"__id__":
55
},
{
"__id__":
42
"__id__":
57
},
{
"__id__":
44
"__id__":
59
},
{
"__id__":
46
"__id__":
61
},
{
"__id__":
48
"__id__":
63
},
{
"__id__":
50
"__id__":
65
}
],
"_active": true,
...
...
@@ -1950,13 +2691,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
37
"__id__":
52
}
],
"_prefab": null,
...
...
@@ -2012,7 +2753,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
36
"__id__":
51
},
"_enabled": true,
"_clip": {
...
...
@@ -2030,13 +2771,13 @@
"_name": "出现",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
39
"__id__":
54
}
],
"_prefab": null,
...
...
@@ -2092,7 +2833,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
38
"__id__":
53
},
"_enabled": true,
"_clip": {
...
...
@@ -2110,13 +2851,13 @@
"_name": "正确",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
41
"__id__":
56
}
],
"_prefab": null,
...
...
@@ -2172,7 +2913,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
40
"__id__":
55
},
"_enabled": true,
"_clip": {
...
...
@@ -2190,13 +2931,13 @@
"_name": "错误泡泡爆炸",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
43
"__id__":
58
}
],
"_prefab": null,
...
...
@@ -2252,7 +2993,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
42
"__id__":
57
},
"_enabled": true,
"_clip": {
...
...
@@ -2270,13 +3011,13 @@
"_name": "按钮",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
45
"__id__":
60
}
],
"_prefab": null,
...
...
@@ -2332,7 +3073,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
44
"__id__":
59
},
"_enabled": true,
"_clip": {
...
...
@@ -2350,13 +3091,13 @@
"_name": "大星",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
47
"__id__":
62
}
],
"_prefab": null,
...
...
@@ -2412,7 +3153,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
46
"__id__":
61
},
"_enabled": true,
"_clip": {
...
...
@@ -2430,13 +3171,13 @@
"_name": "题数",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
49
"__id__":
64
}
],
"_prefab": null,
...
...
@@ -2492,7 +3233,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
48
"__id__":
63
},
"_enabled": true,
"_clip": {
...
...
@@ -2510,13 +3251,13 @@
"_name": "撒花",
"_objFlags": 0,
"_parent": {
"__id__":
35
"__id__":
50
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
51
"__id__":
66
}
],
"_prefab": null,
...
...
@@ -2572,7 +3313,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
50
"__id__":
65
},
"_enabled": true,
"_clip": {
...
...
play/assets/tmpGame/script/Cartoon.js
View file @
85562a95
...
...
@@ -65,6 +65,7 @@ export default class Cartoon {
this
.
elements
[
key
]
=
{};
this
.
elements
[
key
].
node
=
node
;
this
.
elements
[
key
].
node
.
key
=
key
;
return
this
.
elements
[
key
]
}
getSpritNode
(
nodeName
,
nameSpace
=
""
)
{
...
...
@@ -585,8 +586,6 @@ class DragonBones {
})
}
let
sx
=
parentNode
.
width
/
animaNode
.
width
;
let
sy
=
parentNode
.
height
/
animaNode
.
height
;
animaNode
.
setScale
(
Math
.
min
(
sx
,
sy
));
...
...
play/assets/tmpGame/script/GameLogic.js
View file @
85562a95
import
Cartoon
from
"
./Cartoon
"
import
defaultData
from
"
./defaultData
"
import
{
jelly
,
randomSortByArr
,
onHomeworkFinish
}
from
"
./utils
"
import
{
jelly
,
randomSortByArr
,
showFireworks
,
RandomInt
}
from
"
./utils
"
import
{
onHomeworkFinish
}
from
"
./util
"
export
default
class
GameLogic
{
g_cartoon
=
null
;
...
...
@@ -21,6 +23,7 @@ export default class GameLogic {
m_rightAns
=
0
;
m_stopMoving
=
false
;
m_maxScale
=
1
;
m_isPlayingAudio
=
false
;
constructor
(
formData
,
systemOption
)
{
this
.
g_systemOption
=
systemOption
;
...
...
@@ -51,7 +54,9 @@ export default class GameLogic {
this
.
addEventLinstener
();
if
(
this
.
nextQuestion
())
{
if
(
this
.
g_formData
.
dataArray
.
length
>
1
)
{
this
.
initStar
()
}
this
.
g_cartoon
.
initDragEvent
()
this
.
enableClick
(
"
Sysyem_init
"
);
this
.
hideAir
();
...
...
@@ -125,20 +130,77 @@ export default class GameLogic {
})
const
btn_lion
=
this
.
g_cartoon
.
getCartoonElement
(
"
lion
"
)
this
.
g_cartoon
.
subscribeTouchEvent
(
"
lion
"
,
_
=>
{
if
(
!
this
.
g_enableClick
)
{
return
}
btn_lion
.
play
=
()
=>
{
let
a
=
btn_lion
.
node
.
getComponent
(
dragonBones
.
ArmatureDisplay
)
a
.
playAnimation
(
'
Armature
'
,
1
);
})
a
.
playAnimation
(
'
play
'
,
1
);
setTimeout
(()
=>
{
a
.
playAnimation
(
'
normal
'
,
-
1
);
},
3200
);
}
// 音频播放
const
btn_speaker
=
this
.
g_cartoon
.
getCartoonElement
(
"
audio
"
);
intervalId
=
null
;
btn_speaker
.
startAni
=
()
=>
{
const
speakers
=
[];
for
(
let
index
=
3
;
index
>=
0
;
index
--
)
{
const
node
=
cc
.
find
(
`Canvas/speaker/speaker_
${
index
}
`
);
speakers
.
push
(
node
);
}
const
_node
=
cc
.
find
(
`Canvas/speaker/default`
);
let
currentIdx
=
0
;
let
num
=
speakers
.
length
;
intervalId
=
setInterval
(()
=>
{
_node
.
active
=
false
;
speakers
.
forEach
((
node
,
index
)
=>
{
node
.
active
=
false
;
})
currentIdx
++
;
speakers
[
currentIdx
%
num
].
active
=
true
;
},
200
);
}
btn_speaker
.
stopAni
=
()
=>
{
if
(
intervalId
)
{
clearTimeout
(
intervalId
)
intervalId
=
null
;
}
for
(
let
index
=
3
;
index
>=
0
;
index
--
)
{
const
node
=
cc
.
find
(
`Canvas/speaker/speaker_
${
index
}
`
);
node
.
active
=
false
;
}
const
node
=
cc
.
find
(
`Canvas/speaker/default`
);
node
.
active
=
true
;
}
btn_speaker
.
showHide
=
(
status
)
=>
{
if
(
status
)
{
btn_speaker
.
node
.
active
=
true
;
}
else
{
btn_speaker
.
node
.
active
=
false
;
}
}
this
.
g_cartoon
.
subscribeTouchEvent
(
"
audio
"
,
_
=>
{
if
(
!
this
.
g_enableClick
)
{
return
}
this
.
startSpeakerAnime
()
if
(
this
.
m_isPlayingAudio
)
{
this
.
m_isPlayingAudio
=
false
;
btn_speaker
.
stopAni
();
this
.
g_cartoon
.
stopAllAudio
()
}
else
{
this
.
m_isPlayingAudio
=
true
;
btn_speaker
.
startAni
()
this
.
g_cartoon
.
playAudio
(
this
.
g_formData
.
dataArray
[
this
.
m_currentQuestionIndex
].
audio_url1
,
()
=>
{
this
.
m_isPlayingAudio
=
false
;
btn_speaker
.
stopAni
();
})
}
})
}
...
...
@@ -146,6 +208,7 @@ export default class GameLogic {
const
btn_restart
=
this
.
g_cartoon
.
getCartoonElement
(
"
restart
"
)
this
.
disableClick
(
"
EndGame
"
)
this
.
g_cartoon
.
playAudio
(
"
撒花
"
)
this
.
fireworks
();
this
.
g_cartoon
.
tweenChange
(
btn_restart
.
node
,
{
scale
:
1
},
0.3
,
_
=>
{
this
.
enableClick
(
"
EndGame
"
);
onHomeworkFinish
();
...
...
@@ -157,9 +220,11 @@ export default class GameLogic {
this
.
m_currentQuestionIndex
=
-
1
;
this
.
m_rightAns
=
0
;
this
.
m_stopMoving
=
false
;
if
(
this
.
g_formData
.
dataArray
.
length
>
1
)
{
this
.
cleanScore
();
this
.
nextQuestion
()
this
.
initStar
();
}
this
.
nextQuestion
()
this
.
releaseBubbles
();
}
...
...
@@ -254,6 +319,13 @@ export default class GameLogic {
}
addStar
(
callback
)
{
if
(
this
.
g_formData
.
dataArray
.
length
<=
1
)
{
if
(
callback
)
{
callback
()
}
return
;
}
const
star
=
this
.
g_cartoon
.
getCartoonElement
(
`star_
${
this
.
m_currentQuestionIndex
}
`
);
const
score
=
this
.
g_cartoon
.
getCartoonElement
(
`score_
${
this
.
m_currentQuestionIndex
}
`
);
const
score_b
=
score
.
node
.
getChildByName
(
"
b
"
)
...
...
@@ -287,9 +359,22 @@ export default class GameLogic {
nextQuestion
()
{
this
.
m_currentQuestionIndex
++
;
// 检查全局音乐
const
btn_speaker
=
this
.
g_cartoon
.
getCartoonElement
(
"
audio
"
);
if
(
this
.
g_formData
.
dataArray
[
this
.
m_currentQuestionIndex
]
&&
this
.
g_formData
.
dataArray
[
this
.
m_currentQuestionIndex
].
audio_url1
)
{
btn_speaker
.
showHide
(
true
);
}
else
{
btn_speaker
.
showHide
(
false
);
}
if
(
this
.
m_currentQuestionIndex
>=
this
.
g_formData
.
dataArray
.
length
)
{
btn_speaker
.
showHide
(
false
);
return
false
;
}
const
btn_lion
=
this
.
g_cartoon
.
getCartoonElement
(
"
lion
"
)
btn_lion
.
play
();
const
rightNum
=
this
.
g_formData
.
dataArray
[
this
.
m_currentQuestionIndex
].
correct
.
length
;
const
wrongNum
=
this
.
g_formData
.
dataArray
[
this
.
m_currentQuestionIndex
].
incorrect
.
length
;
const
bubbleNum
=
rightNum
+
wrongNum
;
...
...
@@ -298,7 +383,42 @@ export default class GameLogic {
for
(
let
i
=
0
;
i
<
bubbleNum
;
i
++
)
{
const
bubble
=
cc
.
instantiate
(
this
.
g_systemOption
.
prefabs
.
bubble
);
bubble
.
parent
=
bubbleParent
;
this
.
g_cartoon
.
setCartoonElement
(
`bubble_
${
i
}
`
,
bubble
)
let
bubb
=
this
.
g_cartoon
.
setCartoonElement
(
`bubble_
${
i
}
`
,
bubble
)
bubb
.
boom
=
()
=>
{
let
_p
=
[]
bubb
.
node
.
getChildByName
(
"
image_container
"
).
active
=
false
;
bubb
.
node
.
getChildByName
(
"
text_container
"
).
active
=
false
;
bubb
.
node
.
getChildByName
(
"
image
"
).
active
=
false
;
for
(
let
i
=
0
;
i
<
8
;
i
++
)
{
_p
.
push
(
new
Promise
((
resolve
,
reject
)
=>
{
setTimeout
(()
=>
{
if
(
i
>
1
)
{
bubb
.
node
.
getChildByName
(
`bubble_ani (
${
i
}
)`
).
active
=
false
;
}
bubb
.
node
.
getChildByName
(
`bubble_ani (
${
i
+
1
}
)`
).
active
=
true
;
resolve
()
},
30
*
i
);
}))
}
return
Promise
.
all
(
_p
)
}
bubb
.
shake
=
(
callback
)
=>
{
let
_x
=
bubb
.
node
.
x
;
bubb
.
node
.
getChildByName
(
"
color
"
).
active
=
true
;
this
.
g_cartoon
.
tweenChange
(
bubb
.
node
,
{
x
:
_x
-
5
},
0.05
,
_
=>
{
this
.
g_cartoon
.
tweenChange
(
bubb
.
node
,
{
x
:
_x
+
5
},
0.1
,
_
=>
{
this
.
g_cartoon
.
tweenChange
(
bubb
.
node
,
{
x
:
_x
-
5
},
0.1
,
_
=>
{
this
.
g_cartoon
.
tweenChange
(
bubb
.
node
,
{
x
:
_x
},
0.05
,
_
=>
{
bubb
.
node
.
getChildByName
(
"
color
"
).
active
=
false
;
if
(
callback
)
{
callback
()
}
})
})
})
})
}
}
for
(
let
i
=
0
;
i
<
bubbleNum
;
i
++
)
{
...
...
@@ -331,9 +451,15 @@ export default class GameLogic {
return
}
this
.
disableClick
(
`bubble_
${
i
}
`
)
let
clickBubble
=
this
.
g_cartoon
.
getCartoonElement
(
`bubble_
${
i
}
`
)
const
btn_speaker
=
this
.
g_cartoon
.
getCartoonElement
(
"
audio
"
);
this
.
g_cartoon
.
stopAllAudio
();
btn_speaker
.
stopAni
();
if
(
bubble
.
isRight
)
{
bubble
.
node
.
active
=
false
;
this
.
g_cartoon
.
playAudio
(
"
正确
"
);
clickBubble
.
boom
().
then
(
_
=>
{
bubble
.
node
.
active
=
false
;
this
.
m_rightAns
++
;
if
(
this
.
m_rightAns
>=
rightNum
)
{
this
.
m_stopMoving
=
true
;
...
...
@@ -349,12 +475,13 @@ export default class GameLogic {
}
else
{
this
.
enableClick
(
"
Destroy
"
)
}
})
}
else
{
this
.
m_stopMoving
=
true
;
setTimeout
(()
=>
{
clickBubble
.
shake
(
_
=>
{
this
.
m_stopMoving
=
false
;
this
.
enableClick
(
`bubble_
${
i
}
`
)
}
,
1500
);
}
)
this
.
g_cartoon
.
playAudio
(
"
错误泡泡爆炸
"
);
}
},
true
)
...
...
@@ -422,6 +549,7 @@ export default class GameLogic {
}
})
Promise
.
all
(
pAll
).
then
(
_
=>
{
this
.
m_stopMoving
=
false
;
this
.
m_bubblesAll
.
forEach
(
bubble
=>
{
if
(
!
bubble
.
move
.
fix
)
{
bubble
.
move
.
enable
=
true
;
...
...
@@ -436,53 +564,109 @@ export default class GameLogic {
for
(
let
i
=
0
;
i
<
this
.
g_formData
.
dataArray
.
length
;
i
++
)
{
const
_score
=
this
.
g_cartoon
.
getCartoonElement
(
`score_
${
i
}
`
)
_score
.
node
.
destroy
();
console
.
log
(
_score
)
// const score = cc.instantiate(this.g_systemOption.prefabs.score);
// score.parent = scoreGroup;
// this.g_cartoon.setCartoonElement(`score_${i}`, score)
// scoreAll.push(score)
}
}
// let startY = (scoreAll.length * 66 + (scoreAll.length-1) * 10) / 2;
// scoreAll.forEach((score, index)=>{
// score.y = startY
// startY -= 66 + 10
// })
fireworks
()
{
this
.
showFireworks
(
cc
.
find
(
'
Canvas/background/background
'
),
cc
.
find
(
'
Canvas/RibbonNodeBase
'
).
children
,
cc
.
v2
(
0
,
-
cc
.
winSize
.
height
/
2
),
cc
.
v2
(
0
,
cc
.
winSize
.
height
*
0.85
),
200
,
200
,
4
);
this
.
showFireworks
(
cc
.
find
(
'
Canvas/background/background
'
),
cc
.
find
(
'
Canvas/RibbonNodeBase
'
).
children
,
cc
.
v2
(
-
600
,
-
cc
.
winSize
.
height
/
2
),
cc
.
v2
(
200
,
cc
.
winSize
.
height
*
0.85
),
200
,
200
,
4
);
this
.
showFireworks
(
cc
.
find
(
'
Canvas/background/background
'
),
cc
.
find
(
'
Canvas/RibbonNodeBase
'
).
children
,
cc
.
v2
(
600
,
-
cc
.
winSize
.
height
/
2
),
cc
.
v2
(
-
200
,
cc
.
winSize
.
height
*
0.85
),
200
,
200
,
4
);
}
startSpeakerAnime
(
speakerBase
)
{
const
speakers
=
[];
for
(
let
index
=
1
;
index
<
4
;
index
++
)
{
const
node
=
cc
.
find
(
`Canvas/speaker/speaker_
${
index
}
`
);
speakers
.
push
(
node
);
asyncTweenBy
(
node
,
duration
,
obj
,
ease
=
undefined
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
cc
.
tween
(
node
)
.
by
(
duration
,
obj
,
ease
)
.
call
(()
=>
{
resolve
();
})
.
start
();
});
}
const
node0
=
cc
.
find
(
`Canvas/speaker/speaker_0`
);
node0
.
active
=
false
;
let
currentIdx
=
0
;
cc
.
tween
(
speakerBase
)
.
call
(()
=>
{
speakers
.
forEach
(
node
=>
node
.
active
=
false
);
speakers
[
currentIdx
%
speakers
.
length
].
active
=
true
;
currentIdx
++
;
rabbonFall
(
node
)
{
const
time
=
1
+
Math
.
random
();
const
offsetX
=
RandomInt
(
-
200
,
200
)
*
time
;
this
.
asyncTweenBy
(
node
,
time
,
{
x
:
offsetX
,
angle
:
offsetX
*
60
/
200
}).
then
(
_
=>
{
this
.
rabbonFall
(
node
);
})
}
asyncDelay
(
time
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
setTimeout
(()
=>
{
resolve
();
},
time
*
1000
);
})
.
delay
(
0.2
)
}
showFireworks
(
baseNode
,
nodeList
,
pos
=
cc
.
v2
(
0
,
0
),
side
=
cc
.
v2
(
0
,
100
),
range
=
50
,
number
=
100
)
{
new
Array
(
number
).
fill
(
'
'
).
forEach
((
_
,
i
)
=>
{
let
rabbonNode
=
new
cc
.
Node
();
rabbonNode
.
parent
=
baseNode
;
rabbonNode
.
x
=
pos
.
x
;
rabbonNode
.
y
=
pos
.
y
;
rabbonNode
.
angle
=
60
*
Math
.
random
()
-
30
;
let
node
=
cc
.
instantiate
(
nodeList
[
RandomInt
(
nodeList
.
length
)]);
node
.
parent
=
rabbonNode
;
node
.
active
=
true
;
node
.
x
=
0
;
node
.
y
=
0
;
node
.
angle
=
0
;
const
rate
=
Math
.
random
();
const
angle
=
Math
.
PI
*
(
Math
.
random
()
*
2
-
1
);
this
.
asyncTweenBy
(
rabbonNode
,
0.3
,
{
x
:
side
.
x
*
rate
+
Math
.
cos
(
angle
)
*
range
*
rate
,
y
:
side
.
y
*
rate
+
Math
.
sin
(
angle
)
*
range
*
rate
},
{
easing
:
'
quadIn
'
}).
then
(
_
=>
{
cc
.
tween
(
rabbonNode
)
.
by
(
8
,
{
y
:
-
2000
})
.
start
();
this
.
rabbonFall
(
rabbonNode
);
this
.
asyncDelay
(
Math
.
random
()).
then
(
_
=>
{
cc
.
tween
(
node
)
.
by
(
0.15
,
{
x
:
-
10
,
angle
:
-
10
})
.
by
(
0.3
,
{
x
:
20
,
angle
:
20
})
.
by
(
0.15
,
{
x
:
-
10
,
angle
:
-
10
})
.
union
()
.
repeatForever
()
.
start
();
}
stopSpeakerAnime
()
{
for
(
let
index
=
1
;
index
<
4
;
index
++
)
{
const
node
=
cc
.
find
(
`Canvas/speaker/speaker_
${
index
}
`
);
cc
.
tween
(
rabbonNode
)
.
delay
(
5
)
.
to
(
0.3
,
{
opacity
:
0
})
.
call
(()
=>
{
node
.
stopAllActions
();
node
.
active
=
false
;
}
const
node0
=
cc
.
find
(
`Canvas/speaker/speaker_0`
);
node0
.
active
=
true
;
}
node
.
parent
=
null
;
node
=
null
;
})
.
start
();
})
})
});
}
...
...
@@ -603,13 +787,13 @@ stopSpeakerAnime() {
disableClick
(
eventName
)
{
this
.
g_enableClick
=
false
;
this
.
g_disableClickEventName
=
eventName
console
.
log
(
`Click disabled! [
${
eventName
}
]`
)
//
console.log(`Click disabled! [${eventName}]`)
}
enableClick
(
eventName
)
{
this
.
g_enableClick
=
true
;
this
.
g_disableClickEventName
=
""
console
.
log
(
`Click enabled! [
${
eventName
}
]`
)
//
console.log(`Click enabled! [${eventName}]`)
}
}
play/assets/tmpGame/script/utils.js
View file @
85562a95
...
...
@@ -111,7 +111,6 @@ export async function asyncPlayDragonBoneAnimation(node, animationName, time = 1
export
async
function
asyncPlayEffectByUrl
(
url
,
loop
=
false
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
cc
.
assetManager
.
loadRemote
(
url
,
(
err
,
clip
)
=>
{
console
.
log
(
clip
);
cc
.
audioEngine
.
playEffect
(
clip
,
loop
);
resolve
();
});
...
...
play/assets/tmpGame/textures/ani.meta
0 → 100644
View file @
85562a95
{
"ver": "1.1.2",
"uuid": "df377864-1f81-4768-8887-e49c3016c1ff",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
play/assets/tmpGame/textures/ani/bubble_ani (1).png
0 → 100644
View file @
85562a95
42.3 KB
play/assets/tmpGame/textures/ani/bubble_ani (1).png.meta
0 → 100644
View file @
85562a95
{
"ver": "2.3.5",
"uuid": "11e45dd8-3ece-46fb-96f3-19c979b5f1e0",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 500,
"height": 500,
"platformSettings": {},
"subMetas": {
"bubble_ani (1)": {
"ver": "1.0.4",
"uuid": "4fa000f0-d76e-4956-80ea-3039b76442c3",
"rawTextureUuid": "11e45dd8-3ece-46fb-96f3-19c979b5f1e0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -3.5,
"offsetY": 11.5,
"trimX": 174,
"trimY": 163,
"width": 145,
"height": 151,
"rawWidth": 500,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/tmpGame/textures/ani/bubble_ani (2).png
0 → 100644
View file @
85562a95
45.4 KB
play/assets/tmpGame/textures/ani/bubble_ani (2).png.meta
0 → 100644
View file @
85562a95
{
"ver": "2.3.5",
"uuid": "dae4eef6-c4de-49d3-8b82-bad78035553f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 500,
"height": 500,
"platformSettings": {},
"subMetas": {
"bubble_ani (2)": {
"ver": "1.0.4",
"uuid": "b8c0bcdb-74e7-4b9d-ad16-5117716997a2",
"rawTextureUuid": "dae4eef6-c4de-49d3-8b82-bad78035553f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 9,
"trimX": 148,
"trimY": 146,
"width": 204,
"height": 190,
"rawWidth": 500,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/tmpGame/textures/ani/bubble_ani (3).png
0 → 100644
View file @
85562a95
56 KB
play/assets/tmpGame/textures/ani/bubble_ani (3).png.meta
0 → 100644
View file @
85562a95
{
"ver": "2.3.5",
"uuid": "5d16a674-b231-4414-a440-3c42db4876a5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 500,
"height": 500,
"platformSettings": {},
"subMetas": {
"bubble_ani (3)": {
"ver": "1.0.4",
"uuid": "d9d9d899-c61d-486f-beb2-d50f68204a5e",
"rawTextureUuid": "5d16a674-b231-4414-a440-3c42db4876a5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 9,
"trimX": 137,
"trimY": 136,
"width": 226,
"height": 210,
"rawWidth": 500,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/tmpGame/textures/ani/bubble_ani (4).png
0 → 100644
View file @
85562a95
18.9 KB
play/assets/tmpGame/textures/ani/bubble_ani (4).png.meta
0 → 100644
View file @
85562a95
{
"ver": "2.3.5",
"uuid": "fa4375a1-631c-4c99-adfe-2d771bbbe7c3",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 500,
"height": 500,
"platformSettings": {},
"subMetas": {
"bubble_ani (4)": {
"ver": "1.0.4",
"uuid": "09ddffcf-a332-412e-bfe5-7d195984e9bd",
"rawTextureUuid": "fa4375a1-631c-4c99-adfe-2d771bbbe7c3",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 8,
"trimX": 137,
"trimY": 136,
"width": 225,
"height": 212,
"rawWidth": 500,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/tmpGame/textures/ani/bubble_ani (5).png
0 → 100644
View file @
85562a95
17.3 KB
play/assets/tmpGame/textures/ani/bubble_ani (5).png.meta
0 → 100644
View file @
85562a95
{
"ver": "2.3.5",
"uuid": "1f371c5a-055f-4b4d-8f34-5f53bd4b22ff",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 500,
"height": 500,
"platformSettings": {},
"subMetas": {
"bubble_ani (5)": {
"ver": "1.0.4",
"uuid": "f58c319b-319e-4639-a522-1010e6cfd148",
"rawTextureUuid": "1f371c5a-055f-4b4d-8f34-5f53bd4b22ff",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 8,
"trimX": 121,
"trimY": 121,
"width": 257,
"height": 242,
"rawWidth": 500,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/tmpGame/textures/ani/bubble_ani (6).png
0 → 100644
View file @
85562a95
24.9 KB
play/assets/tmpGame/textures/ani/bubble_ani (6).png.meta
0 → 100644
View file @
85562a95
{
"ver": "2.3.5",
"uuid": "eb5b0c88-eff1-40de-b826-e8d226a63fc5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 500,
"height": 500,
"platformSettings": {},
"subMetas": {
"bubble_ani (6)": {
"ver": "1.0.4",
"uuid": "7303a330-a4c5-435f-8b54-987b70a40a6b",
"rawTextureUuid": "eb5b0c88-eff1-40de-b826-e8d226a63fc5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 7.5,
"trimX": 120,
"trimY": 121,
"width": 259,
"height": 243,
"rawWidth": 500,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/tmpGame/textures/ani/bubble_ani (7).png
0 → 100644
View file @
85562a95
22.9 KB
play/assets/tmpGame/textures/ani/bubble_ani (7).png.meta
0 → 100644
View file @
85562a95
{
"ver": "2.3.5",
"uuid": "b21ffe26-9138-4cb7-b145-4f46a551f659",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 500,
"height": 500,
"platformSettings": {},
"subMetas": {
"bubble_ani (7)": {
"ver": "1.0.4",
"uuid": "4c765d84-a51f-432f-b031-89a5ef7a7080",
"rawTextureUuid": "b21ffe26-9138-4cb7-b145-4f46a551f659",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": 7.5,
"trimX": 112,
"trimY": 118,
"width": 277,
"height": 249,
"rawWidth": 500,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/tmpGame/textures/ani/bubble_ani (8).png
0 → 100644
View file @
85562a95
21.9 KB
play/assets/tmpGame/textures/ani/bubble_ani (8).png.meta
0 → 100644
View file @
85562a95
{
"ver": "2.3.5",
"uuid": "b61f1332-53b3-40f7-9536-1e660d679521",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 500,
"height": 500,
"platformSettings": {},
"subMetas": {
"bubble_ani (8)": {
"ver": "1.0.4",
"uuid": "c13caa19-b445-463f-9afe-b84acf12d2d5",
"rawTextureUuid": "b61f1332-53b3-40f7-9536-1e660d679521",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -13,
"offsetY": 5,
"trimX": 112,
"trimY": 118,
"width": 250,
"height": 254,
"rawWidth": 500,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/tmpGame/textures/ani/bubble_ani (9).png
0 → 100644
View file @
85562a95
24.6 KB
play/assets/tmpGame/textures/ani/bubble_ani (9).png.meta
0 → 100644
View file @
85562a95
{
"ver": "2.3.5",
"uuid": "36cfb9cd-7b92-4efd-a322-30cda9f176b6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 500,
"height": 500,
"platformSettings": {},
"subMetas": {
"bubble_ani (9)": {
"ver": "1.0.4",
"uuid": "d93cf7e1-8f50-43f9-805b-f9d9b93cd13b",
"rawTextureUuid": "36cfb9cd-7b92-4efd-a322-30cda9f176b6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -7.5,
"offsetY": -1,
"trimX": 115,
"trimY": 121,
"width": 255,
"height": 260,
"rawWidth": 500,
"rawHeight": 500,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/tmpGame/textures/bg_sahua.png
0 → 100644
View file @
85562a95
1.27 KB
play/assets/tmpGame/textures/bg_sahua.png.meta
0 → 100644
View file @
85562a95
{
"ver": "2.3.5",
"uuid": "9f2c46fb-7499-456b-8e6c-689cb86a8bdf",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 36,
"height": 24,
"platformSettings": {},
"subMetas": {
"bg_sahua": {
"ver": "1.0.4",
"uuid": "a3cc433a-f6df-4267-a442-c0ac476ebaae",
"rawTextureUuid": "9f2c46fb-7499-456b-8e6c-689cb86a8bdf",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 36,
"height": 24,
"rawWidth": 36,
"rawHeight": 24,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/tmpGame/textures/bubble.png.meta
View file @
85562a95
...
...
@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width":
262
,
"height":
261
,
"width":
195
,
"height":
195
,
"platformSettings": {},
"subMetas": {
"bubble": {
...
...
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