Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cake_class_1
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
cake_class_1
Commits
7d60f118
Commit
7d60f118
authored
Mar 14, 2022
by
章红平
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
47f2e458
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
228 additions
and
131 deletions
+228
-131
anim.meta
assets/cake_class_1/anim.meta
+12
-0
musicing.anim
assets/cake_class_1/anim/musicing.anim
+47
-0
musicing.anim.meta
assets/cake_class_1/anim/musicing.anim.meta
+5
-0
panel.prefab
assets/cake_class_1/prefab/panel.prefab
+4
-4
cake_class_1.fire
assets/cake_class_1/scene/cake_class_1.fire
+142
-117
cake_class_1.ts
assets/cake_class_1/scene/cake_class_1.ts
+8
-0
defaultData.ts
assets/cake_class_1/script/defaultData.ts
+1
-1
panel.ts
assets/cake_class_1/script/panel.ts
+4
-4
bg.png.meta
assets/cake_class_1/textures/bg.png.meta
+4
-4
startTip.png.meta
assets/cake_class_1/textures/startTip.png.meta
+1
-1
No files found.
assets/cake_class_1/anim.meta
0 → 100644
View file @
7d60f118
{
"ver": "1.1.2",
"uuid": "99f4c5d2-b26b-46d9-8aab-526702d6e315",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
assets/cake_class_1/anim/musicing.anim
0 → 100644
View file @
7d60f118
{
"__type__": "cc.AnimationClip",
"_name": "musicing",
"_objFlags": 0,
"_native": "",
"_duration": 0.7666666666666667,
"sample": 60,
"speed": 1,
"wrapMode": 2,
"curveData": {
"paths": {
"icon": {
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"value": {
"__uuid__": "ab9af49e-0936-4b5d-a8e6-379b34b80073"
}
},
{
"frame": 0.25,
"value": {
"__uuid__": "b2d08afd-3668-4e85-9155-1f97a6c90d50"
}
},
{
"frame": 0.5,
"value": {
"__uuid__": "ab9af49e-0936-4b5d-a8e6-379b34b80073"
}
},
{
"frame": 0.75,
"value": {
"__uuid__": "b2d08afd-3668-4e85-9155-1f97a6c90d50"
}
}
]
}
}
}
}
},
"events": []
}
\ No newline at end of file
assets/cake_class_1/anim/musicing.anim.meta
0 → 100644
View file @
7d60f118
{
"ver": "2.1.0",
"uuid": "8a5f6cad-fd3d-4f85-8dc4-a3892a679f80",
"subMetas": {}
}
\ No newline at end of file
assets/cake_class_1/prefab/panel.prefab
View file @
7d60f118
...
...
@@ -404,7 +404,7 @@
{
"__type__": "cc.Node",
"_name": "picesP",
"_objFlags":
0
,
"_objFlags":
512
,
"_parent": {
"__id__": 2
},
...
...
@@ -1175,8 +1175,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
15
00,
"height":
9
00
"width":
20
00,
"height":
15
00
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -1252,7 +1252,7 @@
"ctor": "Float64Array",
"array": [
0,
507.609
,
700
,
0,
0,
0,
...
...
assets/cake_class_1/scene/cake_class_1.fire
View file @
7d60f118
...
...
@@ -78,28 +78,28 @@
"__id__": 7
},
{
"__id__":
79
"__id__":
80
},
{
"__id__": 8
5
"__id__": 8
6
},
{
"__id__": 9
2
"__id__": 9
3
},
{
"__id__": 11
8
"__id__": 11
9
}
],
"_active": true,
"_components": [
{
"__id__": 120
},
{
"__id__": 121
},
{
"__id__": 122
},
{
"__id__": 123
}
],
"_prefab": null,
...
...
@@ -250,7 +250,7 @@
},
{
"__type__": "cc.Node",
"_name": "
背景
",
"_name": "
bgD
",
"_objFlags": 0,
"_parent": {
"__id__": 2
...
...
@@ -273,27 +273,27 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
15
00,
"height":
9
00
"width":
40
00,
"height":
20
00
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x":
0.5
,
"x":
1
,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
1200,
0,
0,
362.85545,
0,
0,
0,
1,
1,
1,
1
.3
,
1
.3
,
1
]
},
...
...
@@ -328,7 +328,7 @@
"_spriteFrame": {
"__uuid__": "d1c082d1-8312-490b-9c9c-c0eb6811f0ff"
},
"_type":
0
,
"_type":
1
,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
...
...
@@ -366,10 +366,10 @@
"_active": true,
"_components": [
{
"__id__": 7
7
"__id__": 7
8
},
{
"__id__": 7
8
"__id__": 7
9
}
],
"_prefab": null,
...
...
@@ -422,7 +422,7 @@
},
{
"__type__": "cc.Node",
"_name": "
背景
",
"_name": "
bg
",
"_objFlags": 0,
"_parent": {
"__id__": 7
...
...
@@ -586,7 +586,7 @@
{
"__type__": "cc.Node",
"_name": "New Label",
"_objFlags":
0
,
"_objFlags":
512
,
"_parent": {
"__id__": 10
},
...
...
@@ -624,7 +624,7 @@
"ctor": "Float64Array",
"array": [
0,
17.986
,
24
,
0,
0,
0,
...
...
@@ -679,7 +679,7 @@
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow":
1
,
"_N$overflow":
2
,
"_N$cacheMode": 0,
"_id": "84AqtyyYtILLbf5yIwVibM"
},
...
...
@@ -896,10 +896,10 @@
"__id__": 64
},
{
"__id__": 7
0
"__id__": 7
1
},
{
"__id__": 7
4
"__id__": 7
5
}
],
"_active": true,
...
...
@@ -1007,7 +1007,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-
735.889
,
-
900
,
-330,
0,
0,
...
...
@@ -2509,6 +2509,9 @@
},
{
"__id__": 68
},
{
"__id__": 70
}
],
"_prefab": null,
...
...
@@ -2534,7 +2537,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
8
00,
9
00,
-270,
0,
0,
...
...
@@ -2704,8 +2707,8 @@
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition":
2
,
"transition":
2
,
"_N$transition":
0
,
"transition":
0
,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
...
...
@@ -2781,6 +2784,25 @@
"handler": "onClickMusic",
"customEventData": ""
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_enabled": true,
"_defaultClip": {
"__uuid__": "8a5f6cad-fd3d-4f85-8dc4-a3892a679f80"
},
"_clips": [
{
"__uuid__": "8a5f6cad-fd3d-4f85-8dc4-a3892a679f80"
}
],
"playOnLoad": false,
"_id": "ebOR9wScJLG5LMPPsRLccX"
},
{
"__type__": "cc.Node",
"_name": "commitBTn",
...
...
@@ -2789,13 +2811,13 @@
"__id__": 19
},
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__": 7
1
"__id__": 7
2
},
{
"__id__": 7
2
"__id__": 7
3
}
],
"_prefab": null,
...
...
@@ -2821,7 +2843,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
85
0,
90
0,
-270,
0,
0,
...
...
@@ -2851,7 +2873,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
0
"__id__": 7
1
},
"_enabled": true,
"_materials": [
...
...
@@ -2883,7 +2905,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
0
"__id__": 7
1
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -2892,7 +2914,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 7
3
"__id__": 7
4
}
],
"_N$interactable": true,
...
...
@@ -2971,10 +2993,10 @@
"_active": true,
"_components": [
{
"__id__": 7
5
"__id__": 7
6
},
{
"__id__": 7
6
"__id__": 7
7
}
],
"_prefab": null,
...
...
@@ -2988,7 +3010,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
15
00,
"width":
20
00,
"height": 35
},
"_anchorPoint": {
...
...
@@ -3030,7 +3052,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
4
"__id__": 7
5
},
"_enabled": true,
"_materials": [
...
...
@@ -3062,7 +3084,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
4
"__id__": 7
5
},
"_enabled": true,
"alignMode": 2,
...
...
@@ -3091,7 +3113,7 @@
"node": {
"__id__": 7
},
"_enabled":
tru
e,
"_enabled":
fals
e,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
...
...
@@ -3142,16 +3164,16 @@
},
"_children": [
{
"__id__": 8
0
"__id__": 8
1
}
],
"_active": true,
"_components": [
{
"__id__": 8
2
"__id__": 8
3
},
{
"__id__": 8
3
"__id__": 8
4
}
],
"_prefab": null,
...
...
@@ -3165,8 +3187,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
15
00,
"height":
9
00
"width":
20
00,
"height":
20
00
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -3207,13 +3229,13 @@
"_name": "start",
"_objFlags": 0,
"_parent": {
"__id__":
79
"__id__":
80
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
1
"__id__": 8
2
}
],
"_prefab": null,
...
...
@@ -3269,7 +3291,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
0
"__id__": 8
1
},
"_enabled": true,
"_materials": [
...
...
@@ -3301,7 +3323,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
79
"__id__":
80
},
"_enabled": true,
"_materials": [
...
...
@@ -3333,7 +3355,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
79
"__id__":
80
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -3342,7 +3364,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 8
4
"__id__": 8
5
}
],
"_N$interactable": true,
...
...
@@ -3398,7 +3420,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__":
79
"__id__":
80
},
"_id": "7cv2szxs5FLqj/Kto0Duci"
},
...
...
@@ -3421,10 +3443,10 @@
},
"_children": [
{
"__id__": 8
6
"__id__": 8
7
},
{
"__id__":
89
"__id__":
90
}
],
"_active": false,
...
...
@@ -3482,16 +3504,16 @@
"_name": "btn_left",
"_objFlags": 0,
"_parent": {
"__id__": 8
5
"__id__": 8
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
7
"__id__": 8
8
},
{
"__id__": 8
8
"__id__": 8
9
}
],
"_prefab": null,
...
...
@@ -3547,7 +3569,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
6
"__id__": 8
7
},
"_enabled": true,
"_materials": [
...
...
@@ -3579,7 +3601,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
6
"__id__": 8
7
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -3647,16 +3669,16 @@
"_name": "btn_right",
"_objFlags": 0,
"_parent": {
"__id__": 8
5
"__id__": 8
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
0
"__id__": 9
1
},
{
"__id__": 9
1
"__id__": 9
2
}
],
"_prefab": null,
...
...
@@ -3712,7 +3734,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
89
"__id__":
90
},
"_enabled": true,
"_materials": [
...
...
@@ -3744,7 +3766,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
89
"__id__":
90
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -3816,13 +3838,13 @@
},
"_children": [
{
"__id__": 9
3
"__id__": 9
4
},
{
"__id__": 9
6
"__id__": 9
7
},
{
"__id__":
99
"__id__":
100
}
],
"_active": false,
...
...
@@ -3880,11 +3902,11 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 9
2
"__id__": 9
3
},
"_children": [
{
"__id__": 9
4
"__id__": 9
5
}
],
"_active": true,
...
...
@@ -3942,13 +3964,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 9
3
"__id__": 9
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
5
"__id__": 9
6
}
],
"_prefab": null,
...
...
@@ -4004,7 +4026,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
4
"__id__": 9
5
},
"_enabled": true,
"_materials": [
...
...
@@ -4039,11 +4061,11 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 9
2
"__id__": 9
3
},
"_children": [
{
"__id__": 9
7
"__id__": 9
8
}
],
"_active": true,
...
...
@@ -4101,13 +4123,13 @@
"_name": "icon",
"_objFlags": 0,
"_parent": {
"__id__": 9
6
"__id__": 9
7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
8
"__id__": 9
9
}
],
"_prefab": null,
...
...
@@ -4163,7 +4185,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
7
"__id__": 9
8
},
"_enabled": true,
"_materials": [
...
...
@@ -4195,35 +4217,35 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 9
2
"__id__": 9
3
},
"_children": [
{
"__id__": 10
0
"__id__": 10
1
},
{
"__id__": 10
2
"__id__": 10
3
},
{
"__id__": 10
4
"__id__": 10
5
},
{
"__id__": 10
6
"__id__": 10
7
},
{
"__id__": 10
8
"__id__": 10
9
},
{
"__id__": 11
0
"__id__": 11
1
},
{
"__id__": 11
2
"__id__": 11
3
},
{
"__id__": 11
4
"__id__": 11
5
},
{
"__id__": 11
6
"__id__": 11
7
}
],
"_active": true,
...
...
@@ -4281,13 +4303,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__":
99
"__id__":
100
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
1
"__id__": 10
2
}
],
"_prefab": null,
...
...
@@ -4343,7 +4365,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
0
"__id__": 10
1
},
"_enabled": true,
"_clip": {
...
...
@@ -4362,13 +4384,13 @@
"_name": "err",
"_objFlags": 0,
"_parent": {
"__id__":
99
"__id__":
100
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
3
"__id__": 10
4
}
],
"_prefab": null,
...
...
@@ -4424,7 +4446,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
2
"__id__": 10
3
},
"_enabled": true,
"_clip": {
...
...
@@ -4443,13 +4465,13 @@
"_name": "comeon",
"_objFlags": 0,
"_parent": {
"__id__":
99
"__id__":
100
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
5
"__id__": 10
6
}
],
"_prefab": null,
...
...
@@ -4505,7 +4527,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
4
"__id__": 10
5
},
"_enabled": true,
"_clip": {
...
...
@@ -4524,13 +4546,13 @@
"_name": "suc",
"_objFlags": 0,
"_parent": {
"__id__":
99
"__id__":
100
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
7
"__id__": 10
8
}
],
"_prefab": null,
...
...
@@ -4586,7 +4608,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
6
"__id__": 10
7
},
"_enabled": true,
"_clip": {
...
...
@@ -4605,13 +4627,13 @@
"_name": "in",
"_objFlags": 0,
"_parent": {
"__id__":
99
"__id__":
100
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
09
"__id__": 1
10
}
],
"_prefab": null,
...
...
@@ -4667,7 +4689,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
8
"__id__": 10
9
},
"_enabled": true,
"_clip": {
...
...
@@ -4686,13 +4708,13 @@
"_name": "talkerr",
"_objFlags": 0,
"_parent": {
"__id__":
99
"__id__":
100
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
1
"__id__": 11
2
}
],
"_prefab": null,
...
...
@@ -4748,7 +4770,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
0
"__id__": 11
1
},
"_enabled": true,
"_clip": {
...
...
@@ -4767,13 +4789,13 @@
"_name": "excellent",
"_objFlags": 0,
"_parent": {
"__id__":
99
"__id__":
100
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
3
"__id__": 11
4
}
],
"_prefab": null,
...
...
@@ -4829,7 +4851,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
2
"__id__": 11
3
},
"_enabled": true,
"_clip": {
...
...
@@ -4848,13 +4870,13 @@
"_name": "allRigtht",
"_objFlags": 0,
"_parent": {
"__id__":
99
"__id__":
100
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
5
"__id__": 11
6
}
],
"_prefab": null,
...
...
@@ -4910,7 +4932,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
4
"__id__": 11
5
},
"_enabled": true,
"_clip": {
...
...
@@ -4929,13 +4951,13 @@
"_name": "nicetry",
"_objFlags": 0,
"_parent": {
"__id__":
99
"__id__":
100
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
7
"__id__": 11
8
}
],
"_prefab": null,
...
...
@@ -4991,7 +5013,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
6
"__id__": 11
7
},
"_enabled": true,
"_clip": {
...
...
@@ -5016,7 +5038,7 @@
"_active": false,
"_components": [
{
"__id__": 1
19
"__id__": 1
20
}
],
"_prefab": null,
...
...
@@ -5072,7 +5094,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 11
8
"__id__": 11
9
},
"_enabled": true,
"_materials": [
...
...
@@ -5161,11 +5183,14 @@
"musicBtn": {
"__id__": 68
},
"musicIcon": {
"__uuid__": "b2d08afd-3668-4e85-9155-1f97a6c90d50"
},
"candle2": {
"__id__": 42
},
"redBtnN": {
"__id__": 7
0
"__id__": 7
1
},
"panel": {
"__uuid__": "3d36363e-8b0c-4b06-9192-bfffb9ed35bf"
...
...
assets/cake_class_1/scene/cake_class_1.ts
View file @
7d60f118
...
...
@@ -15,6 +15,9 @@ export default class cake_class_1 extends MyCocosSceneComponent {
candle1
:
cc
.
Node
=
null
@
property
(
cc
.
Button
)
musicBtn
:
cc
.
Button
=
null
@
property
(
cc
.
SpriteFrame
)
musicIcon
:
cc
.
SpriteFrame
=
null
spriteFrame
@
property
(
cc
.
Node
)
candle2
:
cc
.
Node
=
null
@
property
(
cc
.
Node
)
...
...
@@ -223,8 +226,13 @@ export default class cake_class_1 extends MyCocosSceneComponent {
}
onClickMusic
()
{
this
.
musicBtn
.
interactable
=
false
let
animation
=
this
.
musicBtn
.
getComponent
(
cc
.
Animation
);
animation
.
play
(
"
musicing
"
);
this
.
playAudioByUrl
(
this
.
data
.
questions
[
this
.
questionIndex
].
audio
,
()
=>
{
this
.
musicBtn
.
interactable
=
true
this
.
musicBtn
.
node
.
getChildByName
(
"
icon
"
).
getComponent
(
cc
.
Sprite
).
spriteFrame
=
this
.
musicIcon
;
animation
.
stop
(
"
musicing
"
);
})
}
changeTrue
(
panelS
)
{
...
...
assets/cake_class_1/script/defaultData.ts
View file @
7d60f118
...
...
@@ -30,6 +30,6 @@ export const defaultData = {
"
name
"
:
"
d1_tex.png
"
}
},
"
choosewaitTime
"
:
5
,
"
testWaitTime
"
:
3
,
"
rightLetter
"
:
"
a
"
,
"
wrongLetter
"
:
"
e
"
}],
"
title
"
:
"
asdf asdf fds saa
"
,
}],
"
title
"
:
"
asdf asd
dafafgaegeargd
f fds saa
"
,
"
guideAudio
"
:
"
http://staging-teach.cdn.ireadabc.com/40468ef6d120d03f83541b9344c6f9ea.mp3
"
}
\ No newline at end of file
assets/cake_class_1/script/panel.ts
View file @
7d60f118
...
...
@@ -51,7 +51,7 @@ export default class panel extends cc.Component {
// }, "waitTime": 12, "choosewaitTime": 5, "testWaitTime": 3, "rightLetter": "d", "wrongLetter": "b"
// }, }
initPanel
(
data
,
mainCtil
)
{
this
.
frameN
.
y
=
7
00
;
this
.
frameN
.
y
=
10
00
;
this
.
frameN
.
off
(
"
click
"
);
this
.
frameN
.
on
(
"
click
"
,
()
=>
{
this
.
playDragon
();
...
...
@@ -265,7 +265,7 @@ export default class panel extends cc.Component {
.
to
(
0.3
,
{
y
:
-
50
})
.
to
(
0.1
,
{
y
:
0
})
.
delay
(
1
)
.
to
(
0.3
,
{
y
:
-
5
00
})
.
to
(
0.3
,
{
y
:
-
7
00
})
.
call
(()
=>
{
block
.
active
=
false
;
this
.
mainCtil
.
nextQuestion
();
...
...
@@ -303,7 +303,7 @@ export default class panel extends cc.Component {
.
to
(
0.3
,
{
y
:
-
50
})
.
to
(
0.1
,
{
y
:
0
})
.
delay
(
1
)
.
to
(
0.3
,
{
y
:
-
5
00
})
.
to
(
0.3
,
{
y
:
-
7
00
})
.
start
();
}
else
{
this
.
mainCtil
.
playLocalAudio
(
"
comeon
"
)
...
...
@@ -311,7 +311,7 @@ export default class panel extends cc.Component {
.
to
(
0.3
,
{
y
:
-
50
})
.
to
(
0.1
,
{
y
:
0
})
.
delay
(
1
)
.
to
(
0.3
,
{
y
:
-
5
00
})
.
to
(
0.3
,
{
y
:
-
7
00
})
.
start
();
}
})
...
...
assets/cake_class_1/textures/bg.png.meta
View file @
7d60f118
...
...
@@ -26,10 +26,10 @@
"height": 720,
"rawWidth": 1280,
"rawHeight": 720,
"borderTop":
0
,
"borderBottom":
0
,
"borderLeft":
0
,
"borderRight":
0
,
"borderTop":
179
,
"borderBottom":
166
,
"borderLeft":
1023
,
"borderRight":
118
,
"subMetas": {}
}
}
...
...
assets/cake_class_1/textures/startTip.png.meta
View file @
7d60f118
...
...
@@ -3,7 +3,7 @@
"uuid": "e2d959e5-1ded-4bb5-a912-1b4147e72594",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "
bilinear
",
"filterMode": "
point
",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
...
...
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