Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP_18
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_18
Commits
542e567d
Commit
542e567d
authored
Mar 25, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 背景写活
parent
e8151da3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
228 additions
and
426 deletions
+228
-426
.DS_Store
.DS_Store
+0
-0
OP_18.meta
assets/OP_18.meta
+15
-1
OP_18.fire
assets/OP_18/scene/OP_18.fire
+164
-418
OP_18.js
assets/OP_18/scene/OP_18.js
+37
-5
defaultData.js
assets/OP_18/script/defaultData.js
+1
-1
form.component.html
form/src/app/form/form.component.html
+11
-1
No files found.
.DS_Store
View file @
542e567d
No preview for this file type
assets/OP_18.meta
View file @
542e567d
{"ver":"1.1.2","uuid":"e9f579c0-59b7-4567-93ad-5b17f799e827","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "e9f579c0-59b7-4567-93ad-5b17f799e827",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
assets/OP_18/scene/OP_18.fire
View file @
542e567d
...
...
@@ -75,25 +75,19 @@
"__id__": 5
},
{
"__id__": 8
},
{
"__id__": 11
},
{
"__id__": 21
"__id__": 15
}
],
"_active": true,
"_components": [
{
"__id__":
93
"__id__":
87
},
{
"__id__":
94
"__id__":
88
},
{
"__id__":
95
"__id__":
89
}
],
"_prefab": null,
...
...
@@ -242,254 +236,6 @@
"_alignWithScreen": true,
"_id": "81GN3uXINKVLeW4+iKSlim"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
},
{
"__id__": 7
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 960
},
"_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": "32MJMZ2HRGF4BOf533Avyi"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4d1262c8-71d0-4357-b9aa-f5124cbadae7"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "97/S6HDq9MeqgmV1Zwnhbb"
},
{
"__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": 1280,
"_originalHeight": 960,
"_id": "25CGOfxQJOoYzCkH7XwtXz"
},
{
"__type__": "cc.Node",
"_name": "bg_front",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
},
{
"__id__": 10
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 226
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-367,
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": "41THFPz9lGQZcQzEbtPhVJ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a6060aa4-4752-446d-bc48-55e5d13fa5a2"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "09hmP1prNHAJnWPT1gfouN"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 44,
"_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": 1280,
"_originalHeight": 0,
"_id": "97kKvJlb1D0ZKcJoDV3wjg"
},
{
"__type__": "cc.Node",
"_name": "content",
...
...
@@ -499,13 +245,13 @@
},
"_children": [
{
"__id__":
12
"__id__":
6
}
],
"_active": true,
"_components": [
{
"__id__":
20
"__id__":
14
}
],
"_prefab": null,
...
...
@@ -561,23 +307,23 @@
"_name": "catFrame",
"_objFlags": 0,
"_parent": {
"__id__":
11
"__id__":
5
},
"_children": [
{
"__id__":
13
"__id__":
7
},
{
"__id__":
15
"__id__":
9
},
{
"__id__": 1
7
"__id__": 1
1
}
],
"_active": true,
"_components": [
{
"__id__": 1
9
"__id__": 1
3
}
],
"_prefab": null,
...
...
@@ -633,13 +379,13 @@
"_name": "catBg",
"_objFlags": 0,
"_parent": {
"__id__":
12
"__id__":
6
},
"_children": [],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
{
"__id__":
14
"__id__":
8
}
],
"_prefab": null,
...
...
@@ -695,7 +441,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
13
"__id__":
7
},
"_enabled": true,
"_materials": [
...
...
@@ -727,13 +473,13 @@
"_name": "cat",
"_objFlags": 0,
"_parent": {
"__id__":
12
"__id__":
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
6
"__id__": 1
0
}
],
"_prefab": null,
...
...
@@ -759,7 +505,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0
,
28.172
,
0,
0,
0,
...
...
@@ -789,7 +535,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
15
"__id__":
9
},
"_enabled": true,
"_materials": [
...
...
@@ -829,13 +575,13 @@
"_name": "catBox",
"_objFlags": 0,
"_parent": {
"__id__":
12
"__id__":
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
8
"__id__": 1
2
}
],
"_prefab": null,
...
...
@@ -861,7 +607,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
5
41.673
,
5
69.845
,
-319.381,
0,
0,
...
...
@@ -891,7 +637,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
7
"__id__": 1
1
},
"_enabled": true,
"_materials": [
...
...
@@ -923,7 +669,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
12
"__id__":
6
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -950,7 +696,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
11
"__id__":
5
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -981,16 +727,16 @@
},
"_children": [
{
"__id__":
22
"__id__":
16
},
{
"__id__": 2
7
"__id__": 2
1
},
{
"__id__": 5
7
"__id__": 5
1
},
{
"__id__":
80
"__id__":
74
}
],
"_active": false,
...
...
@@ -1048,14 +794,14 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__":
21
"__id__":
15
},
"_children": [
{
"__id__":
23
"__id__":
17
},
{
"__id__":
25
"__id__":
19
}
],
"_active": true,
...
...
@@ -1113,13 +859,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__":
22
"__id__":
16
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
24
"__id__":
18
}
],
"_prefab": null,
...
...
@@ -1175,7 +921,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
23
"__id__":
17
},
"_enabled": true,
"_materials": [],
...
...
@@ -1206,13 +952,13 @@
"_name": "MuliBold-YzEVy",
"_objFlags": 0,
"_parent": {
"__id__":
22
"__id__":
16
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
6
"__id__": 2
0
}
],
"_prefab": null,
...
...
@@ -1268,7 +1014,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
25
"__id__":
19
},
"_enabled": true,
"_materials": [],
...
...
@@ -1299,11 +1045,20 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__":
21
"__id__":
15
},
"_children": [
{
"__id__": 28
"__id__": 22
},
{
"__id__": 31
},
{
"__id__": 33
},
{
"__id__": 35
},
{
"__id__": 37
...
...
@@ -1325,15 +1080,6 @@
},
{
"__id__": 49
},
{
"__id__": 51
},
{
"__id__": 53
},
{
"__id__": 55
}
],
"_active": true,
...
...
@@ -1391,20 +1137,20 @@
"_name": "letter",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
1
},
"_children": [
{
"__id__": 2
9
"__id__": 2
3
},
{
"__id__":
31
"__id__":
25
},
{
"__id__":
33
"__id__":
27
},
{
"__id__":
35
"__id__":
29
}
],
"_active": true,
...
...
@@ -1462,13 +1208,13 @@
"_name": "a_0_0",
"_objFlags": 0,
"_parent": {
"__id__": 2
8
"__id__": 2
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
30
"__id__":
24
}
],
"_prefab": null,
...
...
@@ -1524,7 +1270,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
9
"__id__": 2
3
},
"_enabled": true,
"_materials": [],
...
...
@@ -1552,13 +1298,13 @@
"_name": "a_0_1",
"_objFlags": 0,
"_parent": {
"__id__": 2
8
"__id__": 2
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
32
"__id__":
26
}
],
"_prefab": null,
...
...
@@ -1614,7 +1360,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
31
"__id__":
25
},
"_enabled": true,
"_materials": [],
...
...
@@ -1642,13 +1388,13 @@
"_name": "a_1_0",
"_objFlags": 0,
"_parent": {
"__id__": 2
8
"__id__": 2
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
34
"__id__":
28
}
],
"_prefab": null,
...
...
@@ -1704,7 +1450,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
33
"__id__":
27
},
"_enabled": true,
"_materials": [],
...
...
@@ -1732,13 +1478,13 @@
"_name": "a_1_1",
"_objFlags": 0,
"_parent": {
"__id__": 2
8
"__id__": 2
2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
6
"__id__": 3
0
}
],
"_prefab": null,
...
...
@@ -1794,7 +1540,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
35
"__id__":
29
},
"_enabled": true,
"_materials": [],
...
...
@@ -1822,13 +1568,13 @@
"_name": "sample",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
8
"__id__": 3
2
}
],
"_prefab": null,
...
...
@@ -1884,7 +1630,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
7
"__id__": 3
1
},
"_enabled": true,
"_materials": [],
...
...
@@ -1912,13 +1658,13 @@
"_name": "item_bg",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
40
"__id__":
34
}
],
"_prefab": null,
...
...
@@ -1974,7 +1720,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
9
"__id__": 3
3
},
"_enabled": true,
"_materials": [],
...
...
@@ -2002,13 +1748,13 @@
"_name": "black",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
42
"__id__":
36
}
],
"_prefab": null,
...
...
@@ -2064,7 +1810,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
41
"__id__":
35
},
"_enabled": true,
"_materials": [],
...
...
@@ -2092,13 +1838,13 @@
"_name": "green",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
44
"__id__":
38
}
],
"_prefab": null,
...
...
@@ -2154,7 +1900,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
43
"__id__":
37
},
"_enabled": true,
"_materials": [],
...
...
@@ -2182,13 +1928,13 @@
"_name": "blue",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
6
"__id__": 4
0
}
],
"_prefab": null,
...
...
@@ -2244,7 +1990,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
45
"__id__":
39
},
"_enabled": true,
"_materials": [],
...
...
@@ -2272,13 +2018,13 @@
"_name": "purple",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
8
"__id__": 4
2
}
],
"_prefab": null,
...
...
@@ -2334,7 +2080,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
7
"__id__": 4
1
},
"_enabled": true,
"_materials": [],
...
...
@@ -2362,13 +2108,13 @@
"_name": "yellow",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
50
"__id__":
44
}
],
"_prefab": null,
...
...
@@ -2424,7 +2170,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
9
"__id__": 4
3
},
"_enabled": true,
"_materials": [],
...
...
@@ -2452,13 +2198,13 @@
"_name": "red",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
52
"__id__":
46
}
],
"_prefab": null,
...
...
@@ -2514,7 +2260,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
51
"__id__":
45
},
"_enabled": true,
"_materials": [],
...
...
@@ -2542,13 +2288,13 @@
"_name": "letter",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
54
"__id__":
48
}
],
"_prefab": null,
...
...
@@ -2604,7 +2350,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
53
"__id__":
47
},
"_enabled": true,
"_materials": [],
...
...
@@ -2630,13 +2376,13 @@
"_name": "x",
"_objFlags": 0,
"_parent": {
"__id__": 2
7
"__id__": 2
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
6
"__id__": 5
0
}
],
"_prefab": null,
...
...
@@ -2692,7 +2438,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
55
"__id__":
49
},
"_enabled": true,
"_materials": [],
...
...
@@ -2718,9 +2464,18 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__":
21
"__id__":
15
},
"_children": [
{
"__id__": 52
},
{
"__id__": 54
},
{
"__id__": 56
},
{
"__id__": 58
},
...
...
@@ -2744,15 +2499,6 @@
},
{
"__id__": 72
},
{
"__id__": 74
},
{
"__id__": 76
},
{
"__id__": 78
}
],
"_active": true,
...
...
@@ -2810,13 +2556,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 5
7
"__id__": 5
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
9
"__id__": 5
3
}
],
"_prefab": null,
...
...
@@ -2872,7 +2618,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 5
8
"__id__": 5
2
},
"_enabled": true,
"_clip": {
...
...
@@ -2891,13 +2637,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 5
7
"__id__": 5
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
61
"__id__":
55
}
],
"_prefab": null,
...
...
@@ -2953,7 +2699,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
60
"__id__":
54
},
"_enabled": true,
"_clip": {
...
...
@@ -2972,13 +2718,13 @@
"_name": "tip_fill_wrong",
"_objFlags": 0,
"_parent": {
"__id__": 5
7
"__id__": 5
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
63
"__id__":
57
}
],
"_prefab": null,
...
...
@@ -3034,7 +2780,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
62
"__id__":
56
},
"_enabled": true,
"_clip": null,
...
...
@@ -3051,13 +2797,13 @@
"_name": "tip_not_fill",
"_objFlags": 0,
"_parent": {
"__id__": 5
7
"__id__": 5
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
65
"__id__":
59
}
],
"_prefab": null,
...
...
@@ -3113,7 +2859,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
64
"__id__":
58
},
"_enabled": true,
"_clip": null,
...
...
@@ -3130,13 +2876,13 @@
"_name": "tip_error",
"_objFlags": 0,
"_parent": {
"__id__": 5
7
"__id__": 5
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
7
"__id__": 6
1
}
],
"_prefab": null,
...
...
@@ -3192,7 +2938,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
6
"__id__": 6
0
},
"_enabled": true,
"_clip": null,
...
...
@@ -3209,13 +2955,13 @@
"_name": "begin",
"_objFlags": 0,
"_parent": {
"__id__": 5
7
"__id__": 5
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
9
"__id__": 6
3
}
],
"_prefab": null,
...
...
@@ -3271,7 +3017,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
8
"__id__": 6
2
},
"_enabled": true,
"_clip": {
...
...
@@ -3290,13 +3036,13 @@
"_name": "osmo_tip",
"_objFlags": 0,
"_parent": {
"__id__": 5
7
"__id__": 5
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
71
"__id__":
65
}
],
"_prefab": null,
...
...
@@ -3352,7 +3098,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
70
"__id__":
64
},
"_enabled": true,
"_clip": {
...
...
@@ -3371,13 +3117,13 @@
"_name": "default",
"_objFlags": 0,
"_parent": {
"__id__": 5
7
"__id__": 5
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
73
"__id__":
67
}
],
"_prefab": null,
...
...
@@ -3433,7 +3179,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
72
"__id__":
66
},
"_enabled": true,
"_clip": {
...
...
@@ -3452,13 +3198,13 @@
"_name": "tip_1",
"_objFlags": 0,
"_parent": {
"__id__": 5
7
"__id__": 5
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
75
"__id__":
69
}
],
"_prefab": null,
...
...
@@ -3514,7 +3260,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
74
"__id__":
68
},
"_enabled": true,
"_clip": {
...
...
@@ -3533,13 +3279,13 @@
"_name": "tip_2",
"_objFlags": 0,
"_parent": {
"__id__": 5
7
"__id__": 5
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
7
"__id__": 7
1
}
],
"_prefab": null,
...
...
@@ -3595,7 +3341,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
6
"__id__": 7
0
},
"_enabled": true,
"_clip": {
...
...
@@ -3614,13 +3360,13 @@
"_name": "tip_3",
"_objFlags": 0,
"_parent": {
"__id__": 5
7
"__id__": 5
1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
9
"__id__": 7
3
}
],
"_prefab": null,
...
...
@@ -3676,7 +3422,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
8
"__id__": 7
2
},
"_enabled": true,
"_clip": {
...
...
@@ -3695,20 +3441,20 @@
"_name": "anim",
"_objFlags": 0,
"_parent": {
"__id__":
21
"__id__":
15
},
"_children": [
{
"__id__":
81
"__id__":
75
},
{
"__id__":
84
"__id__":
78
},
{
"__id__": 8
7
"__id__": 8
1
},
{
"__id__":
90
"__id__":
84
}
],
"_active": true,
...
...
@@ -3766,16 +3512,16 @@
"_name": "a",
"_objFlags": 0,
"_parent": {
"__id__":
80
"__id__":
74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
82
"__id__":
76
},
{
"__id__":
83
"__id__":
77
}
],
"_prefab": null,
...
...
@@ -3831,7 +3577,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
81
"__id__":
75
},
"_enabled": true,
"_materials": [
...
...
@@ -3863,7 +3609,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
81
"__id__":
75
},
"_enabled": true,
"_defaultClip": {
...
...
@@ -3882,16 +3628,16 @@
"_name": "a_0",
"_objFlags": 0,
"_parent": {
"__id__":
80
"__id__":
74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
85
"__id__":
79
},
{
"__id__": 8
6
"__id__": 8
0
}
],
"_prefab": null,
...
...
@@ -3947,7 +3693,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
84
"__id__":
78
},
"_enabled": true,
"_materials": [
...
...
@@ -3979,7 +3725,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
84
"__id__":
78
},
"_enabled": true,
"_defaultClip": null,
...
...
@@ -3996,16 +3742,16 @@
"_name": "A",
"_objFlags": 0,
"_parent": {
"__id__":
80
"__id__":
74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 8
8
"__id__": 8
2
},
{
"__id__": 8
9
"__id__": 8
3
}
],
"_prefab": null,
...
...
@@ -4061,7 +3807,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
7
"__id__": 8
1
},
"_enabled": true,
"_materials": [
...
...
@@ -4093,7 +3839,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
7
"__id__": 8
1
},
"_enabled": true,
"_defaultClip": {
...
...
@@ -4112,16 +3858,16 @@
"_name": "A_0",
"_objFlags": 0,
"_parent": {
"__id__":
80
"__id__":
74
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
91
"__id__":
85
},
{
"__id__":
92
"__id__":
86
}
],
"_prefab": null,
...
...
@@ -4177,7 +3923,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
90
"__id__":
84
},
"_enabled": true,
"_materials": [
...
...
@@ -4209,7 +3955,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
90
"__id__":
84
},
"_enabled": true,
"_defaultClip": null,
...
...
assets/OP_18/scene/OP_18.js
View file @
542e567d
...
...
@@ -109,6 +109,8 @@ cc.Class({
this
.
_imageResList
.
push
({
url
:
this
.
data
.
dot_big_2_url
||
''
});
this
.
_imageResList
.
push
({
url
:
this
.
data
.
dot_small_1_url
||
''
});
this
.
_imageResList
.
push
({
url
:
this
.
data
.
dot_small_2_url
||
''
});
this
.
_imageResList
.
push
({
url
:
this
.
data
.
bg_pic_url
||
''
});
},
...
...
@@ -342,6 +344,10 @@ cc.Class({
initCatListener
()
{
const
content
=
cc
.
find
(
"
Canvas/content
"
);
content
.
zIndex
=
10
;
const
catBox
=
cc
.
find
(
"
Canvas/content/catFrame/catBox
"
)
catBox
.
on
(
'
touchstart
'
,
()
=>
{
if
(
this
.
isPlayTip
)
{
...
...
@@ -449,12 +455,38 @@ cc.Class({
initBg
()
{
const
bgNode
=
cc
.
find
(
'
Canvas/bg
'
);
bgNode
.
scale
=
this
.
_mapScaleMax
;
const
canvas
=
cc
.
find
(
'
Canvas
'
);
bgNode
.
scale
=
Math
.
max
((
canvas
.
width
/
bgNode
.
width
),
(
canvas
.
height
/
bgNode
.
height
));
const
bg
=
new
cc
.
Node
();
this
.
canvas
.
addChild
(
bg
);
getSprNodeByUrl
(
this
.
data
.
bg_pic_url
,
(
spr
)
=>
{
// spr.node.parent = animNode.parent;
// spr.node.x = animNode.x;
// spr.node.y = animNode.y;
// spr.node.scale = animNode.scale;
// console.log(' spr.node.width: ', spr.node.width)
// console.log(' spr.node.height: ', spr.node.height)
bg
.
width
=
spr
.
node
.
width
;
bg
.
height
=
spr
.
node
.
height
;
spr
.
node
.
anchorX
=
1
;
spr
.
node
.
anchorY
=
0
;
bg
.
anchorX
=
1
;
bg
.
anchorY
=
0
;
bg
.
addChild
(
spr
.
node
);
const
canvas
=
cc
.
find
(
'
Canvas
'
);
bg
.
scale
=
Math
.
max
((
canvas
.
width
/
bg
.
width
),
(
canvas
.
height
/
bg
.
height
));
bg
.
y
=
-
this
.
canvas
.
height
/
2
;
bg
.
x
=
this
.
canvas
.
width
/
2
;
})
// const bgNode = cc.find('Canvas/bg');
// bgNode.scale = this._mapScaleMax;
// const canvas = cc.find('Canvas');
// bgNode.scale = Math.max((canvas.width / bgNode.width), (canvas.height / bgNode.height));
},
...
...
assets/OP_18/script/defaultData.js
View file @
542e567d
export
const
defaultData
=
{
"
animArr
"
:[{
"
key
"
:
"
letter_big_0
"
,
"
title
"
:
"
大写彩色动画
"
,
"
skeJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/3854b249ba08fe0d7f7be94308eda238.json
"
,
"
name
"
:
"
D大彩_ske.json
"
},
"
texJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/047c4030ce0956e7fa491bb10efa99d0.json
"
,
"
name
"
:
"
D大彩_tex.json
"
},
"
texPngData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/fdeefde6344de8b50de4c1e97532de46.png
"
,
"
name
"
:
"
D大彩_tex.png
"
}},{
"
key
"
:
"
letter_big_1
"
,
"
title
"
:
"
大写黑色动画
"
,
"
skeJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/4a73aa0ed1abe9fe59cbc9396164ab0b.json
"
,
"
name
"
:
"
D大黑_ske.json
"
},
"
texJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/264182a83f00f862662611adde7afc05.json
"
,
"
name
"
:
"
D大黑_tex.json
"
},
"
texPngData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/444b96de33fb48ab6a488b058d81449d.png
"
,
"
name
"
:
"
D大黑_tex.png
"
}},{
"
key
"
:
"
letter_small_0
"
,
"
title
"
:
"
小写彩色动画
"
,
"
skeJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/4fbe3832ff08127bb2899c525f3c0918.json
"
,
"
name
"
:
"
D小彩_ske.json
"
},
"
texJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/958bfb6722f4bf5f2b5d975e420cf23c.json
"
,
"
name
"
:
"
D小彩_tex.json
"
},
"
texPngData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/489483bb7b433044f5736ac1f05d4bf2.png
"
,
"
name
"
:
"
D小彩_tex.png
"
}},{
"
key
"
:
"
letter_small_1
"
,
"
title
"
:
"
小写黑色动画
"
,
"
skeJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/f88764f49c73d2bdc7ab21d3f3f3c4bc.json
"
,
"
name
"
:
"
D小黑_ske.json
"
},
"
texJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/403916dcfd80ce24069eddce10e0124c.json
"
,
"
name
"
:
"
D小黑_tex.json
"
},
"
texPngData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/840b55ebf6ae75ec7cf011c48f3189ec.png
"
,
"
name
"
:
"
D小黑_tex.png
"
}}],
"
write_big_0_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/d4c2f72fd4238c48c1b19d747d0ce382.mp3
"
,
"
write_big_1_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/4c5a39defde0e90f3a53bf50db6943f4.mp3
"
,
"
write_big_2_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/a5652eadaf165869b2b551530921bb0d.mp3
"
,
"
write_small_0_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/d099918c85ac7afc33f169c9038f46d4.mp3
"
,
"
write_small_1_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/2f1ea180fb4d17dce34e8d7cc6cf9159.mp3
"
,
"
write_small_2_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/15147c1c4ae733303566baf84fae2840.mp3
"
,
"
finish_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/7fb349c67a76d2112a0604e624acaa97.mp3
"
,
"
tip_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/d5cdef3f02abe29b14ca8c16ad4e7543.mp3
"
,
"
letter
"
:
"
D
"
,
"
dot_small_2_url
"
:
"
https://staging-teach.cdn.ireadabc.com/8a8cbc71ad861b372418f36aef32a8cd.png
"
,
"
dot_small_1_url
"
:
"
https://staging-teach.cdn.ireadabc.com/80221b2a4b62f57c33c7e6491f372077.png
"
,
"
dot_big_1_url
"
:
"
https://staging-teach.cdn.ireadabc.com/e2b74edc1520bc2001d82b4e8aaba5d7.png
"
,
"
dot_big_2_url
"
:
"
https://staging-teach.cdn.ireadabc.com/e2b74edc1520bc2001d82b4e8aaba5d7.png
"
}
\ No newline at end of file
export
const
defaultData
=
{
"
animArr
"
:[{
"
key
"
:
"
letter_big_0
"
,
"
title
"
:
"
大写彩色动画
"
,
"
skeJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/3854b249ba08fe0d7f7be94308eda238.json
"
,
"
name
"
:
"
D大彩_ske.json
"
},
"
texJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/047c4030ce0956e7fa491bb10efa99d0.json
"
,
"
name
"
:
"
D大彩_tex.json
"
},
"
texPngData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/fdeefde6344de8b50de4c1e97532de46.png
"
,
"
name
"
:
"
D大彩_tex.png
"
}},{
"
key
"
:
"
letter_big_1
"
,
"
title
"
:
"
大写黑色动画
"
,
"
skeJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/4a73aa0ed1abe9fe59cbc9396164ab0b.json
"
,
"
name
"
:
"
D大黑_ske.json
"
},
"
texJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/264182a83f00f862662611adde7afc05.json
"
,
"
name
"
:
"
D大黑_tex.json
"
},
"
texPngData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/444b96de33fb48ab6a488b058d81449d.png
"
,
"
name
"
:
"
D大黑_tex.png
"
}},{
"
key
"
:
"
letter_small_0
"
,
"
title
"
:
"
小写彩色动画
"
,
"
skeJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/4fbe3832ff08127bb2899c525f3c0918.json
"
,
"
name
"
:
"
D小彩_ske.json
"
},
"
texJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/958bfb6722f4bf5f2b5d975e420cf23c.json
"
,
"
name
"
:
"
D小彩_tex.json
"
},
"
texPngData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/489483bb7b433044f5736ac1f05d4bf2.png
"
,
"
name
"
:
"
D小彩_tex.png
"
}},{
"
key
"
:
"
letter_small_1
"
,
"
title
"
:
"
小写黑色动画
"
,
"
skeJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/f88764f49c73d2bdc7ab21d3f3f3c4bc.json
"
,
"
name
"
:
"
D小黑_ske.json
"
},
"
texJsonData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/403916dcfd80ce24069eddce10e0124c.json
"
,
"
name
"
:
"
D小黑_tex.json
"
},
"
texPngData
"
:{
"
url
"
:
"
https://staging-teach.cdn.ireadabc.com/840b55ebf6ae75ec7cf011c48f3189ec.png
"
,
"
name
"
:
"
D小黑_tex.png
"
}}],
"
write_big_0_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/d4c2f72fd4238c48c1b19d747d0ce382.mp3
"
,
"
write_big_1_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/4c5a39defde0e90f3a53bf50db6943f4.mp3
"
,
"
write_big_2_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/a5652eadaf165869b2b551530921bb0d.mp3
"
,
"
write_small_0_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/d099918c85ac7afc33f169c9038f46d4.mp3
"
,
"
write_small_1_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/2f1ea180fb4d17dce34e8d7cc6cf9159.mp3
"
,
"
write_small_2_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/15147c1c4ae733303566baf84fae2840.mp3
"
,
"
finish_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/7fb349c67a76d2112a0604e624acaa97.mp3
"
,
"
tip_audio_url
"
:
"
https://staging-teach.cdn.ireadabc.com/d5cdef3f02abe29b14ca8c16ad4e7543.mp3
"
,
"
letter
"
:
"
D
"
,
"
dot_small_2_url
"
:
"
https://staging-teach.cdn.ireadabc.com/8a8cbc71ad861b372418f36aef32a8cd.png
"
,
"
dot_small_1_url
"
:
"
https://staging-teach.cdn.ireadabc.com/80221b2a4b62f57c33c7e6491f372077.png
"
,
"
dot_big_1_url
"
:
"
https://staging-teach.cdn.ireadabc.com/e2b74edc1520bc2001d82b4e8aaba5d7.png
"
,
"
dot_big_2_url
"
:
"
https://staging-teach.cdn.ireadabc.com/e2b74edc1520bc2001d82b4e8aaba5d7.png
"
,
"
bg_pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/7e2e266a6e2e596103ac973e0a22d3ac.jpg
"
}
\ No newline at end of file
form/src/app/form/form.component.html
View file @
542e567d
...
...
@@ -2,7 +2,17 @@
<div
style=
"padding: 20px;"
>
<div
style=
"margin-top: 5px; display: flex; align-items: center;"
>
<div
style=
"width: 300px; margin-top: 20px;"
align=
'center'
>
<span>
背景图:
</span>
<app-upload-image-with-preview
[
picUrl
]="
item
.
bg_pic_url
"
(
imageUploaded
)="
onImageUploadSuccess
($
event
,
'
bg_pic_url
')"
>
</app-upload-image-with-preview>
</div>
<div
style=
"margin-top: 35px; display: flex; align-items: center;"
>
<span
style=
"width: 100px;"
>
大写动画音频:
</span>
<app-audio-recorder
[
audioUrl
]="
item
.
write_big_0_audio_url
"
...
...
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