Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dg18_tianci
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
dg18_tianci
Commits
a193b254
Commit
a193b254
authored
Dec 19, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加安全空间
parent
1ccf0985
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
272 additions
and
154 deletions
+272
-154
light.mp3
assets/dg18_tianci/audios/light.mp3
+0
-0
light.mp3.meta
assets/dg18_tianci/audios/light.mp3.meta
+7
-0
dg18_tianci.fire
assets/dg18_tianci/scene/dg18_tianci.fire
+260
-150
dg18_tianci.ts
assets/dg18_tianci/scene/dg18_tianci.ts
+3
-2
form.component.html
form/src/app/form/form.component.html
+2
-2
No files found.
assets/dg18_tianci/audios/light.mp3
0 → 100644
View file @
a193b254
File added
assets/dg18_tianci/audios/light.mp3.meta
0 → 100644
View file @
a193b254
{
"ver": "2.0.1",
"uuid": "047dfbf2-4e45-4f85-8947-bff3577634b8",
"downloadMode": 0,
"duration": 3.552653,
"subMetas": {}
}
\ No newline at end of file
assets/dg18_tianci/scene/dg18_tianci.fire
View file @
a193b254
...
@@ -90,40 +90,40 @@
...
@@ -90,40 +90,40 @@
"__id__": 61
"__id__": 61
},
},
{
{
"__id__": 6
3
"__id__": 6
4
},
},
{
{
"__id__": 6
5
"__id__": 6
7
},
},
{
{
"__id__": 6
7
"__id__": 6
9
},
},
{
{
"__id__": 7
5
"__id__": 7
7
},
},
{
{
"__id__": 9
3
"__id__": 9
5
},
},
{
{
"__id__":
99
"__id__":
101
},
},
{
{
"__id__": 10
5
"__id__": 10
7
},
},
{
{
"__id__": 11
3
"__id__": 11
5
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 13
1
"__id__": 13
5
},
},
{
{
"__id__": 13
2
"__id__": 13
6
},
},
{
{
"__id__": 13
3
"__id__": 13
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -1837,7 +1837,7 @@
...
@@ -1837,7 +1837,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
280,
280,
-12
,
3.7089999999999996
,
0,
0,
0,
0,
0,
0,
...
@@ -1931,7 +1931,7 @@
...
@@ -1931,7 +1931,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-263,
-263,
-11
,
2.709
,
0,
0,
0,
0,
0,
0,
...
@@ -2618,6 +2618,9 @@
...
@@ -2618,6 +2618,9 @@
"_components": [
"_components": [
{
{
"__id__": 62
"__id__": 62
},
{
"__id__": 63
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2631,7 +2634,7 @@
...
@@ -2631,7 +2634,7 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 2
90
,
"width": 2
78.7629999999999
,
"height": 800
"height": 800
},
},
"_anchorPoint": {
"_anchorPoint": {
...
@@ -2643,7 +2646,7 @@
...
@@ -2643,7 +2646,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-82
6.237
,
-82
0.6185
,
0,
0,
0,
0,
0,
0,
...
@@ -2678,11 +2681,11 @@
...
@@ -2678,11 +2681,11 @@
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
"_target": null,
"_target": null,
"_alignFlags":
8
,
"_alignFlags":
45
,
"_left":
-11.236999999999966
,
"_left":
0
,
"_right":
0
,
"_right":
1641.237
,
"_top": 0,
"_top":
14
0,
"_bottom": 0,
"_bottom":
14
0,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsLeft": true,
...
@@ -2691,10 +2694,20 @@
...
@@ -2691,10 +2694,20 @@
"_isAbsBottom": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalWidth":
29
0,
"_originalHeight": 0,
"_originalHeight":
80
0,
"_id": "43e/vlbABNK7sJ6RrM/C8r"
"_id": "43e/vlbABNK7sJ6RrM/C8r"
},
},
{
"__type__": "cc.SafeArea",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"_id": "f7F45VWttPcozUrwGB7zu5"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "layout_battery_right",
"_name": "layout_battery_right",
...
@@ -2706,7 +2719,10 @@
...
@@ -2706,7 +2719,10 @@
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 64
"__id__": 65
},
{
"__id__": 66
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2720,7 +2736,7 @@
...
@@ -2720,7 +2736,7 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 2
90
,
"width": 2
73.03200000000015
,
"height": 800
"height": 800
},
},
"_anchorPoint": {
"_anchorPoint": {
...
@@ -2732,7 +2748,7 @@
...
@@ -2732,7 +2748,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
8
31.9679999999998
,
8
23.4839999999999
,
0,
0,
0,
0,
0,
0,
...
@@ -2762,16 +2778,16 @@
...
@@ -2762,16 +2778,16 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
3
"__id__": 6
4
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
"_target": null,
"_target": null,
"_alignFlags":
32
,
"_alignFlags":
45
,
"_left": 1646.9679999999998,
"_left": 1646.9679999999998,
"_right":
-16.967999999999847
,
"_right":
0
,
"_top": 0,
"_top":
14
0,
"_bottom": 0,
"_bottom":
14
0,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsLeft": true,
...
@@ -2781,9 +2797,19 @@
...
@@ -2781,9 +2797,19 @@
"_isAbsHorizontalCenter": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 290,
"_originalWidth": 290,
"_originalHeight": 0,
"_originalHeight":
80
0,
"_id": "a2jfsVgYxNuLfbGl4yEA9T"
"_id": "a2jfsVgYxNuLfbGl4yEA9T"
},
},
{
"__type__": "cc.SafeArea",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_enabled": true,
"_id": "4aLsU0S9JI05a46yNyCUKL"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "ani_star",
"_name": "ani_star",
...
@@ -2795,7 +2821,7 @@
...
@@ -2795,7 +2821,7 @@
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 6
6
"__id__": 6
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -2851,7 +2877,7 @@
...
@@ -2851,7 +2877,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 6
5
"__id__": 6
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -2895,10 +2921,10 @@
...
@@ -2895,10 +2921,10 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
68
"__id__":
70
},
},
{
{
"__id__": 7
1
"__id__": 7
3
}
}
],
],
"_active": false,
"_active": false,
...
@@ -2956,11 +2982,11 @@
...
@@ -2956,11 +2982,11 @@
"_name": "bg",
"_name": "bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
7
"__id__": 6
9
},
},
"_children": [
"_children": [
{
{
"__id__":
69
"__id__":
71
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3018,13 +3044,13 @@
...
@@ -3018,13 +3044,13 @@
"_name": "img_ battery001",
"_name": "img_ battery001",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
68
"__id__":
70
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
0
"__id__": 7
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3080,7 +3106,7 @@
...
@@ -3080,7 +3106,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
69
"__id__":
71
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3112,17 +3138,17 @@
...
@@ -3112,17 +3138,17 @@
"_name": "item_img",
"_name": "item_img",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 6
7
"__id__": 6
9
},
},
"_children": [
"_children": [
{
{
"__id__": 7
2
"__id__": 7
4
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
4
"__id__": 7
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3178,13 +3204,13 @@
...
@@ -3178,13 +3204,13 @@
"_name": "img",
"_name": "img",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
1
"__id__": 7
3
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 7
3
"__id__": 7
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3240,7 +3266,7 @@
...
@@ -3240,7 +3266,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
2
"__id__": 7
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3272,7 +3298,7 @@
...
@@ -3272,7 +3298,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
1
"__id__": 7
3
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -3344,10 +3370,10 @@
...
@@ -3344,10 +3370,10 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 7
6
"__id__": 7
8
},
},
{
{
"__id__":
89
"__id__":
91
}
}
],
],
"_active": false,
"_active": false,
...
@@ -3405,12 +3431,9 @@
...
@@ -3405,12 +3431,9 @@
"_name": "bg",
"_name": "bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
5
"__id__": 7
7
},
},
"_children": [
"_children": [
{
"__id__": 77
},
{
{
"__id__": 79
"__id__": 79
},
},
...
@@ -3425,6 +3448,9 @@
...
@@ -3425,6 +3448,9 @@
},
},
{
{
"__id__": 87
"__id__": 87
},
{
"__id__": 89
}
}
],
],
"_active": true,
"_active": true,
...
@@ -3482,13 +3508,13 @@
...
@@ -3482,13 +3508,13 @@
"_name": "img_battery6",
"_name": "img_battery6",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
6
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
78
"__id__":
80
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3544,7 +3570,7 @@
...
@@ -3544,7 +3570,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 7
7
"__id__": 7
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3576,13 +3602,13 @@
...
@@ -3576,13 +3602,13 @@
"_name": "img_battery4",
"_name": "img_battery4",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
6
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 8
0
"__id__": 8
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3638,7 +3664,7 @@
...
@@ -3638,7 +3664,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
79
"__id__":
81
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3670,13 +3696,13 @@
...
@@ -3670,13 +3696,13 @@
"_name": "img_battery5",
"_name": "img_battery5",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
6
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 8
2
"__id__": 8
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3732,7 +3758,7 @@
...
@@ -3732,7 +3758,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
1
"__id__": 8
3
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3764,13 +3790,13 @@
...
@@ -3764,13 +3790,13 @@
"_name": "img_battery3",
"_name": "img_battery3",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
6
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 8
4
"__id__": 8
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3826,7 +3852,7 @@
...
@@ -3826,7 +3852,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
3
"__id__": 8
5
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3858,13 +3884,13 @@
...
@@ -3858,13 +3884,13 @@
"_name": "img_battery2",
"_name": "img_battery2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
6
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 8
6
"__id__": 8
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -3920,7 +3946,7 @@
...
@@ -3920,7 +3946,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
5
"__id__": 8
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -3952,13 +3978,13 @@
...
@@ -3952,13 +3978,13 @@
"_name": "img_battery1",
"_name": "img_battery1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
6
"__id__": 7
8
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
88
"__id__":
90
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4014,7 +4040,7 @@
...
@@ -4014,7 +4040,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 8
7
"__id__": 8
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4046,17 +4072,17 @@
...
@@ -4046,17 +4072,17 @@
"_name": "item_text",
"_name": "item_text",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 7
5
"__id__": 7
7
},
},
"_children": [
"_children": [
{
{
"__id__": 9
0
"__id__": 9
2
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
2
"__id__": 9
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4112,13 +4138,13 @@
...
@@ -4112,13 +4138,13 @@
"_name": "text",
"_name": "text",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
89
"__id__":
91
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
1
"__id__": 9
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4174,7 +4200,7 @@
...
@@ -4174,7 +4200,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
0
"__id__": 9
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4207,7 +4233,7 @@
...
@@ -4207,7 +4233,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
89
"__id__":
91
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -4279,16 +4305,16 @@
...
@@ -4279,16 +4305,16 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 9
4
"__id__": 9
6
},
},
{
{
"__id__": 9
6
"__id__": 9
8
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__":
98
"__id__":
100
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4344,13 +4370,13 @@
...
@@ -4344,13 +4370,13 @@
"_name": "img_1",
"_name": "img_1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
3
"__id__": 9
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
5
"__id__": 9
7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4406,7 +4432,7 @@
...
@@ -4406,7 +4432,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
4
"__id__": 9
6
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4438,13 +4464,13 @@
...
@@ -4438,13 +4464,13 @@
"_name": "img_2",
"_name": "img_2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 9
3
"__id__": 9
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 9
7
"__id__": 9
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4500,7 +4526,7 @@
...
@@ -4500,7 +4526,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
6
"__id__": 9
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4532,7 +4558,7 @@
...
@@ -4532,7 +4558,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 9
3
"__id__": 9
5
},
},
"_enabled": true,
"_enabled": true,
"_id": "22vw/sJf1FcqZqummVQC8S"
"_id": "22vw/sJf1FcqZqummVQC8S"
...
@@ -4546,16 +4572,16 @@
...
@@ -4546,16 +4572,16 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 10
0
"__id__": 10
2
},
},
{
{
"__id__": 10
2
"__id__": 10
4
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 10
4
"__id__": 10
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4611,13 +4637,13 @@
...
@@ -4611,13 +4637,13 @@
"_name": "img_1",
"_name": "img_1",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
99
"__id__":
101
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 10
1
"__id__": 10
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4673,7 +4699,7 @@
...
@@ -4673,7 +4699,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 10
0
"__id__": 10
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4705,13 +4731,13 @@
...
@@ -4705,13 +4731,13 @@
"_name": "img_2",
"_name": "img_2",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
99
"__id__":
101
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 10
3
"__id__": 10
5
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4767,7 +4793,7 @@
...
@@ -4767,7 +4793,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 10
2
"__id__": 10
4
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4799,7 +4825,7 @@
...
@@ -4799,7 +4825,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
99
"__id__":
101
},
},
"_enabled": true,
"_enabled": true,
"_id": "99+apunKpKbK8WdfjFGb2F"
"_id": "99+apunKpKbK8WdfjFGb2F"
...
@@ -4813,16 +4839,16 @@
...
@@ -4813,16 +4839,16 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 10
6
"__id__": 10
8
},
},
{
{
"__id__": 1
08
"__id__": 1
10
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 11
2
"__id__": 11
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4878,13 +4904,13 @@
...
@@ -4878,13 +4904,13 @@
"_name": "ani",
"_name": "ani",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
5
"__id__": 10
7
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 10
7
"__id__": 10
9
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4940,7 +4966,7 @@
...
@@ -4940,7 +4966,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 10
6
"__id__": 10
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -4980,17 +5006,17 @@
...
@@ -4980,17 +5006,17 @@
"_name": "btn_go",
"_name": "btn_go",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 10
5
"__id__": 10
7
},
},
"_children": [
"_children": [
{
{
"__id__": 1
09
"__id__": 1
11
}
}
],
],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 11
1
"__id__": 11
3
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5046,13 +5072,13 @@
...
@@ -5046,13 +5072,13 @@
"_name": "text",
"_name": "text",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
08
"__id__": 1
10
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 11
0
"__id__": 11
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5108,7 +5134,7 @@
...
@@ -5108,7 +5134,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
09
"__id__": 1
11
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5141,7 +5167,7 @@
...
@@ -5141,7 +5167,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
08
"__id__": 1
10
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5173,11 +5199,11 @@
...
@@ -5173,11 +5199,11 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 10
5
"__id__": 10
7
},
},
"_enabled": true,
"_enabled": true,
"aniRole": {
"aniRole": {
"__id__": 10
6
"__id__": 10
8
},
},
"moveX": 500,
"moveX": 500,
"_id": "e4RrOXSNJGd68Mq3UTYY0p"
"_id": "e4RrOXSNJGd68Mq3UTYY0p"
...
@@ -5191,13 +5217,13 @@
...
@@ -5191,13 +5217,13 @@
},
},
"_children": [
"_children": [
{
{
"__id__": 11
4
"__id__": 11
6
},
},
{
{
"__id__": 11
7
"__id__": 11
9
},
},
{
{
"__id__": 1
18
"__id__": 1
20
}
}
],
],
"_active": true,
"_active": true,
...
@@ -5255,11 +5281,11 @@
...
@@ -5255,11 +5281,11 @@
"_name": "font",
"_name": "font",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 11
3
"__id__": 11
5
},
},
"_children": [
"_children": [
{
{
"__id__": 11
5
"__id__": 11
7
}
}
],
],
"_active": true,
"_active": true,
...
@@ -5317,13 +5343,13 @@
...
@@ -5317,13 +5343,13 @@
"_name": "BRLNSDB",
"_name": "BRLNSDB",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 11
4
"__id__": 11
6
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 11
6
"__id__": 11
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5379,7 +5405,7 @@
...
@@ -5379,7 +5405,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 11
5
"__id__": 11
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -5414,7 +5440,7 @@
...
@@ -5414,7 +5440,7 @@
"_name": "img",
"_name": "img",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 11
3
"__id__": 11
5
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
...
@@ -5472,12 +5498,9 @@
...
@@ -5472,12 +5498,9 @@
"_name": "audio",
"_name": "audio",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 11
3
"__id__": 11
5
},
},
"_children": [
"_children": [
{
"__id__": 119
},
{
{
"__id__": 121
"__id__": 121
},
},
...
@@ -5492,6 +5515,12 @@
...
@@ -5492,6 +5515,12 @@
},
},
{
{
"__id__": 129
"__id__": 129
},
{
"__id__": 131
},
{
"__id__": 133
}
}
],
],
"_active": true,
"_active": true,
...
@@ -5549,13 +5578,13 @@
...
@@ -5549,13 +5578,13 @@
"_name": "btn",
"_name": "btn",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
18
"__id__": 1
20
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 12
0
"__id__": 12
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5611,7 +5640,7 @@
...
@@ -5611,7 +5640,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
19
"__id__": 1
21
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -5630,13 +5659,13 @@
...
@@ -5630,13 +5659,13 @@
"_name": "right",
"_name": "right",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
18
"__id__": 1
20
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 12
2
"__id__": 12
4
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5692,7 +5721,7 @@
...
@@ -5692,7 +5721,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
1
"__id__": 12
3
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -5711,13 +5740,13 @@
...
@@ -5711,13 +5740,13 @@
"_name": "bettery",
"_name": "bettery",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
18
"__id__": 1
20
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 12
4
"__id__": 12
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5773,7 +5802,7 @@
...
@@ -5773,7 +5802,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
3
"__id__": 12
5
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -5792,13 +5821,13 @@
...
@@ -5792,13 +5821,13 @@
"_name": "error",
"_name": "error",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
18
"__id__": 1
20
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 12
6
"__id__": 12
8
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5854,7 +5883,7 @@
...
@@ -5854,7 +5883,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
5
"__id__": 12
7
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -5873,13 +5902,13 @@
...
@@ -5873,13 +5902,13 @@
"_name": "bgm",
"_name": "bgm",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
18
"__id__": 1
20
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
28
"__id__": 1
30
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -5935,7 +5964,7 @@
...
@@ -5935,7 +5964,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 12
7
"__id__": 12
9
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -5954,13 +5983,13 @@
...
@@ -5954,13 +5983,13 @@
"_name": "opendoor",
"_name": "opendoor",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__": 1
18
"__id__": 1
20
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 13
0
"__id__": 13
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -6016,7 +6045,7 @@
...
@@ -6016,7 +6045,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
29
"__id__": 1
31
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
...
@@ -6030,6 +6059,87 @@
...
@@ -6030,6 +6059,87 @@
"preload": false,
"preload": false,
"_id": "d5pRdeDB5L2KuL3dkcx4n5"
"_id": "d5pRdeDB5L2KuL3dkcx4n5"
},
},
{
"__type__": "cc.Node",
"_name": "light",
"_objFlags": 0,
"_parent": {
"__id__": 120
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 134
}
],
"_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": "a3RHKZffNC57n0wcvSifS0"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 133
},
"_enabled": true,
"_clip": {
"__uuid__": "047dfbf2-4e45-4f85-8947-bff3577634b8"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "07vNH/g39C7LNy2dhk07d+"
},
{
{
"__type__": "cc.Canvas",
"__type__": "cc.Canvas",
"_name": "",
"_name": "",
...
@@ -6095,22 +6205,22 @@
...
@@ -6095,22 +6205,22 @@
"__id__": 61
"__id__": 61
},
},
"layout_battery_right": {
"layout_battery_right": {
"__id__": 6
3
"__id__": 6
4
},
},
"item_battery_text": {
"item_battery_text": {
"__id__": 7
5
"__id__": 7
7
},
},
"item_battery_img": {
"item_battery_img": {
"__id__": 6
7
"__id__": 6
9
},
},
"img_left": {
"img_left": {
"__id__": 9
3
"__id__": 9
5
},
},
"img_right": {
"img_right": {
"__id__":
99
"__id__":
101
},
},
"ani_star": {
"ani_star": {
"__id__": 6
5
"__id__": 6
7
},
},
"img_dengpao": {
"img_dengpao": {
"__id__": 52
"__id__": 52
...
...
assets/dg18_tianci/scene/dg18_tianci.ts
View file @
a193b254
...
@@ -133,7 +133,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -133,7 +133,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
if
(
this
.
current
==
0
)
{
if
(
this
.
current
==
0
)
{
this
.
scheduleOnce
(()
=>
{
this
.
scheduleOnce
(()
=>
{
this
.
playLocalAudio
(
'
bettery
'
).
then
(()
=>
{
this
.
playLocalAudio
(
'
bettery
'
).
then
(()
=>
{
pg
.
audio
.
playLocalBgm
(
pg
.
view
.
find
(
this
,
'
res/audio/bgm
'
))
//
pg.audio.playLocalBgm(pg.view.find(this, 'res/audio/bgm'))
})
})
},
delayTime
)
},
delayTime
)
}
else
{
}
else
{
...
@@ -151,7 +151,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -151,7 +151,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
item
.
x
=
0
;
item
.
x
=
0
;
let
item_text
=
pg
.
view
.
find
(
item
,
'
item_text
'
);
let
item_text
=
pg
.
view
.
find
(
item
,
'
item_text
'
);
pg
.
view
.
setString
(
pg
.
view
.
find
(
item_text
,
'
text
'
),
data
.
text
)
pg
.
view
.
setString
(
pg
.
view
.
find
(
item_text
,
'
text
'
),
data
.
text
)
pg
.
view
.
setColor
(
pg
.
view
.
find
(
item_text
,
'
text
'
),
data
.
fontColor
)
pg
.
view
.
setColor
(
pg
.
view
.
find
(
item_text
,
'
text
'
),
"
#FEFE24
"
)
for
(
let
n
=
1
;
n
<=
6
;
n
++
)
{
for
(
let
n
=
1
;
n
<=
6
;
n
++
)
{
pg
.
view
.
visible
(
pg
.
view
.
find
(
item
,
'
bg/img_battery
'
+
n
),
false
)
pg
.
view
.
visible
(
pg
.
view
.
find
(
item
,
'
bg/img_battery
'
+
n
),
false
)
...
@@ -331,6 +331,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -331,6 +331,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
if
(
this
.
successArr
.
length
==
this
.
currentQuestion
.
hotZoneItemArr
.
length
)
{
if
(
this
.
successArr
.
length
==
this
.
currentQuestion
.
hotZoneItemArr
.
length
)
{
cc
.
tween
(
this
.
img_dengdai
).
repeat
(
2
,
cc
.
tween
().
to
(
0.2
,
{
opacity
:
255
}).
to
(
0.2
,
{
opacity
:
50
})).
to
(
0.2
,
{
opacity
:
255
}).
start
();
cc
.
tween
(
this
.
img_dengdai
).
repeat
(
2
,
cc
.
tween
().
to
(
0.2
,
{
opacity
:
255
}).
to
(
0.2
,
{
opacity
:
50
})).
to
(
0.2
,
{
opacity
:
255
}).
start
();
cc
.
tween
(
this
.
img_dengpao
).
repeatForever
(
cc
.
tween
().
to
(
0.2
,
{
opacity
:
255
}).
to
(
0.2
,
{
opacity
:
50
})).
start
();
cc
.
tween
(
this
.
img_dengpao
).
repeatForever
(
cc
.
tween
().
to
(
0.2
,
{
opacity
:
255
}).
to
(
0.2
,
{
opacity
:
50
})).
start
();
this
.
playLocalAudio
(
'
light
'
)
this
.
scheduleOnce
(()
=>
{
this
.
scheduleOnce
(()
=>
{
cc
.
Tween
.
stopAllByTarget
(
this
.
img_dengdai
)
cc
.
Tween
.
stopAllByTarget
(
this
.
img_dengdai
)
cc
.
Tween
.
stopAllByTarget
(
this
.
img_dengpao
)
cc
.
Tween
.
stopAllByTarget
(
this
.
img_dengpao
)
...
...
form/src/app/form/form.component.html
View file @
a193b254
...
@@ -119,9 +119,9 @@
...
@@ -119,9 +119,9 @@
<div>
<div>
文字字号:
<input
type=
"text"
nz-input
[(
ngModel
)]="
question
.
hotZoneFontObj
.
size
"
(
blur
)="
changeSize
()"
>
文字字号:
<input
type=
"text"
nz-input
[(
ngModel
)]="
question
.
hotZoneFontObj
.
size
"
(
blur
)="
changeSize
()"
>
</div>
</div>
<div>
<
!-- <
div>
文字颜色:<input type="text" nz-input [(ngModel)]="question.hotZoneFontObj.color" (blur)="changeSize()">
文字颜色:<input type="text" nz-input [(ngModel)]="question.hotZoneFontObj.color" (blur)="changeSize()">
</div>
</div>
-->
</div>
</div>
<div
*
ngIf=
"showHotZone"
class=
"border-dashed"
style=
"margin: 20px;width: 1200px;"
>
<div
*
ngIf=
"showHotZone"
class=
"border-dashed"
style=
"margin: 20px;width: 1200px;"
>
...
...
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