Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xy_camera
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
xy_camera
Commits
36bd3751
Commit
36bd3751
authored
Aug 12, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 照相
parent
5e595241
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
489 additions
and
87 deletions
+489
-87
cyy_ske.json
assets/xy_camera/dragonBones/cyy_ske.json
+1
-0
cyy_ske.json.meta
assets/xy_camera/dragonBones/cyy_ske.json.meta
+5
-0
cyy_tex.json
assets/xy_camera/dragonBones/cyy_tex.json
+1
-0
cyy_tex.json.meta
assets/xy_camera/dragonBones/cyy_tex.json.meta
+5
-0
cyy_tex.png
assets/xy_camera/dragonBones/cyy_tex.png
+0
-0
cyy_tex.png.meta
assets/xy_camera/dragonBones/cyy_tex.png.meta
+14
-14
xy_camera.fire
assets/xy_camera/scene/xy_camera.fire
+453
-68
xy_camera.ts
assets/xy_camera/scene/xy_camera.ts
+10
-0
bg.jpg
assets/xy_camera/textures/bg.jpg
+0
-0
index.html
index.html
+0
-5
No files found.
assets/xy_camera/dragonBones/cyy_ske.json
0 → 100644
View file @
36bd3751
{
"frameRate"
:
24
,
"name"
:
"川阅阅"
,
"version"
:
"5.5"
,
"compatibleVersion"
:
"5.5"
,
"armature"
:[{
"type"
:
"Armature"
,
"frameRate"
:
24
,
"name"
:
"armatureName"
,
"aabb"
:{
"x"
:
-219
,
"y"
:
-654.11
,
"width"
:
460
,
"height"
:
657
},
"bone"
:[{
"name"
:
"root"
},{
"length"
:
152
,
"name"
:
"身体"
,
"parent"
:
"root"
,
"transform"
:{
"x"
:
-6.6
,
"y"
:
-81.75
,
"skX"
:
-90.6189
,
"skY"
:
-90.6189
}},{
"length"
:
268
,
"name"
:
"头"
,
"parent"
:
"身体"
,
"transform"
:{
"x"
:
152.7589
,
"skX"
:
0.9711
,
"skY"
:
0.9711
}},{
"length"
:
79
,
"name"
:
"手臂1"
,
"parent"
:
"身体"
,
"transform"
:{
"x"
:
134.6651
,
"y"
:
59.508
,
"skX"
:
97.5561
,
"skY"
:
97.5561
}},{
"length"
:
67
,
"name"
:
"斗篷"
,
"parent"
:
"身体"
,
"transform"
:{
"x"
:
148.6199
,
"y"
:
-98.2504
,
"skX"
:
-161.9176
,
"skY"
:
-161.9176
}},{
"length"
:
63
,
"name"
:
"身体1"
,
"parent"
:
"身体"
,
"transform"
:{
"x"
:
150.5693
,
"y"
:
63.8301
,
"skX"
:
161.7294
,
"skY"
:
161.7294
}},{
"length"
:
50
,
"name"
:
"右脚抬起"
,
"parent"
:
"身体"
,
"transform"
:{
"x"
:
16.4631
,
"y"
:
-56.6755
,
"skX"
:
156.2827
,
"skY"
:
156.2827
}},{
"length"
:
107
,
"name"
:
"手臂2"
,
"parent"
:
"身体"
,
"transform"
:{
"x"
:
136.2451
,
"y"
:
-49.7313
,
"skX"
:
-90.8486
,
"skY"
:
-90.8486
}},{
"length"
:
54
,
"name"
:
"左脚抬起"
,
"parent"
:
"身体"
,
"transform"
:{
"x"
:
21.1226
,
"y"
:
62.8318
,
"skX"
:
-164.6026
,
"skY"
:
-164.6026
}},{
"length"
:
62
,
"name"
:
"右脚落下"
,
"parent"
:
"身体"
,
"transform"
:{
"x"
:
-0.5787
,
"y"
:
-39.0085
,
"skX"
:
-177.1523
,
"skY"
:
-177.1523
}},{
"length"
:
63
,
"name"
:
"左脚落下"
,
"parent"
:
"身体"
,
"transform"
:{
"x"
:
3.7304
,
"y"
:
66.6442
,
"skX"
:
178.4076
,
"skY"
:
178.4076
}},{
"length"
:
33
,
"name"
:
"亮珠光芒"
,
"parent"
:
"头"
,
"transform"
:{
"x"
:
365.7371
,
"y"
:
-11.3486
,
"skX"
:
89.6478
,
"skY"
:
89.6478
}},{
"length"
:
26
,
"name"
:
"眼睁"
,
"parent"
:
"头"
,
"transform"
:{
"x"
:
114.9856
,
"y"
:
29.8437
,
"skX"
:
-3.9286
,
"skY"
:
-3.9286
}},{
"length"
:
69
,
"name"
:
"火焰1"
,
"parent"
:
"头"
,
"transform"
:{
"x"
:
256.8763
,
"y"
:
11.6211
,
"skX"
:
88.9456
,
"skY"
:
88.9456
}},{
"length"
:
78
,
"name"
:
"扇子收"
,
"parent"
:
"手臂1"
,
"transform"
:{
"x"
:
79.4819
,
"skX"
:
-97.886
,
"skY"
:
-97.886
}},{
"length"
:
64
,
"name"
:
"身体2"
,
"parent"
:
"身体1"
,
"transform"
:{
"x"
:
63.7851
,
"skX"
:
5.6363
,
"skY"
:
5.6363
}},{
"length"
:
68
,
"name"
:
"斗篷1"
,
"parent"
:
"斗篷"
,
"transform"
:{
"x"
:
67.1448
,
"skX"
:
1.091
,
"skY"
:
1.091
}}],
"slot"
:[{
"name"
:
"斗篷"
,
"parent"
:
"斗篷1"
},{
"name"
:
"手臂2"
,
"parent"
:
"手臂2"
},{
"name"
:
"右脚落下"
,
"parent"
:
"右脚落下"
},{
"name"
:
"左脚落下"
,
"parent"
:
"左脚落下"
},{
"name"
:
"身体"
,
"parent"
:
"身体"
},{
"displayIndex"
:
1
,
"name"
:
"右脚抬起"
,
"parent"
:
"右脚抬起"
},{
"displayIndex"
:
1
,
"name"
:
"左脚抬起"
,
"parent"
:
"左脚抬起"
},{
"name"
:
"头"
,
"parent"
:
"头"
},{
"name"
:
"眼睁"
,
"parent"
:
"眼睁"
},{
"name"
:
"扇子收"
,
"parent"
:
"扇子收"
},{
"name"
:
"手臂1"
,
"parent"
:
"手臂1"
},{
"name"
:
"火焰1"
,
"parent"
:
"火焰1"
},{
"name"
:
"亮珠光芒"
,
"parent"
:
"亮珠光芒"
}],
"skin"
:[{
"slot"
:[{
"name"
:
"斗篷"
,
"display"
:[{
"type"
:
"mesh"
,
"name"
:
"斗篷"
,
"width"
:
322
,
"height"
:
193
,
"vertices"
:[
-121.3
,
-246.55
,
-145.7
,
-231.8
,
-165.25
,
-210.2
,
-179.1
,
-182.2
,
-184
,
-152.1
,
-184
,
-118.7
,
-184
,
-91.25
,
-159.5
,
-98.55
,
-146.6
,
-75.3
,
-124.9
,
-56.1
,
-94.8
,
-56.1
,
-64.1
,
-64.25
,
-32.5
,
-67.55
,
-3
,
-60.9
,
16.55
,
-56.1
,
38.8
,
-56.1
,
62.6
,
-64.55
,
84.55
,
-76.85
,
103.8
,
-89.8
,
136
,
-83.25
,
138
,
-112.7
,
138
,
-141
,
138
,
-172.9
,
131.9
,
-197.95
,
114.65
,
-230.1
,
86
,
-243.35
,
57.45
,
-249.1
,
18.6
,
-249.1
,
-14.45
,
-247.85
,
-49.05
,
-247.55
,
-89.4
,
-247.55
,
-151.95
,
-122.35
,
-147.35
,
-147.2
,
-139.7
,
-175.85
,
-124.15
,
-205.25
,
-117.2
,
-226.05
,
-126.6
,
-91.7
,
-98.85
,
-90.5
,
-69.85
,
-92.95
,
-33.9
,
-94.15
,
2.45
,
-93.35
,
33.05
,
-92.95
,
66.95
,
-104.35
,
97.2
,
-120.7
,
95
,
-147.3
,
64.5
,
-139.5
,
32.55
,
-131.85
,
1.15
,
-128.25
,
-34.7
,
-126.65
,
-76.15
,
-126.55
,
-111.1
,
-134.2
,
-101.7
,
-168.5
,
-70.1
,
-159
,
-35.1
,
-158.5
,
0.7
,
-160.9
,
30.15
,
-162.6
,
62.6
,
-169.5
,
92.3
,
-178.3
,
85.35
,
-220.35
,
54.95
,
-217.35
,
24.95
,
-219.9
,
-13.5
,
-218.75
,
-49
,
-217.35
,
-88.65
,
-221.55
,
-92.3
,
-197.05
,
-50.25
,
-195
,
-15.95
,
-195.85
,
27.75
,
-195.45
,
61.55
,
-196.75
,
86.15
,
-202.4
,
121.63
,
-218.54
],
"uvs"
:[
0.19472
,
0.01321
,
0.11894
,
0.08964
,
0.05823
,
0.20155
,
0.01522
,
0.34663
,
0
,
0.50259
,
0
,
0.67565
,
0
,
0.81788
,
0.07609
,
0.78005
,
0.11615
,
0.90052
,
0.18354
,
1
,
0.27702
,
1
,
0.37236
,
0.95777
,
0.4705
,
0.94067
,
0.56211
,
0.97513
,
0.62283
,
1
,
0.69193
,
1
,
0.76584
,
0.95622
,
0.83401
,
0.89249
,
0.89379
,
0.82539
,
0.99379
,
0.85933
,
1
,
0.70674
,
1
,
0.5601
,
1
,
0.39482
,
0.97888
,
0.26503
,
0.92748
,
0.09845
,
0.83851
,
0.02979
,
0.74984
,
0
,
0.62919
,
0
,
0.52655
,
0.00648
,
0.4191
,
0.00803
,
0.29379
,
0.00803
,
0.09953
,
0.65677
,
0.11382
,
0.52801
,
0.13758
,
0.37956
,
0.18587
,
0.22723
,
0.20745
,
0.11946
,
0.17826
,
0.81557
,
0.26444
,
0.82179
,
0.3545
,
0.8091
,
0.46615
,
0.80288
,
0.57904
,
0.80703
,
0.67407
,
0.8091
,
0.77935
,
0.75003
,
0.87329
,
0.66532
,
0.86646
,
0.52749
,
0.76925
,
0.56791
,
0.67247
,
0.60754
,
0.5778
,
0.6262
,
0.46366
,
0.63449
,
0.33494
,
0.635
,
0.2264
,
0.59537
,
0.25559
,
0.41765
,
0.35385
,
0.46687
,
0.46491
,
0.46946
,
0.57391
,
0.45703
,
0.66759
,
0.44822
,
0.76584
,
0.41247
,
0.85807
,
0.36687
,
0.83649
,
0.14899
,
0.74208
,
0.16454
,
0.64627
,
0.15133
,
0.52826
,
0.15728
,
0.41925
,
0.16454
,
0.29612
,
0.14278
,
0.28478
,
0.26972
,
0.41537
,
0.28034
,
0.52119
,
0.27594
,
0.65631
,
0.27801
,
0.76258
,
0.27127
,
0.83898
,
0.242
,
0.94918
,
0.15837
],
"triangles"
:[
18
,
19
,
20
,
43
,
18
,
20
,
23
,
57
,
22
,
57
,
44
,
22
,
43
,
20
,
21
,
44
,
43
,
21
,
22
,
44
,
21
,
70
,
69
,
23
,
69
,
57
,
23
,
24
,
58
,
70
,
58
,
69
,
70
,
25
,
58
,
24
,
43
,
42
,
18
,
42
,
17
,
18
,
57
,
56
,
44
,
44
,
45
,
43
,
45
,
42
,
43
,
56
,
45
,
44
,
69
,
68
,
57
,
68
,
56
,
57
,
59
,
68
,
58
,
26
,
59
,
58
,
58
,
68
,
69
,
26
,
58
,
25
,
42
,
16
,
17
,
56
,
55
,
45
,
41
,
16
,
42
,
45
,
46
,
42
,
46
,
41
,
42
,
41
,
15
,
16
,
68
,
67
,
56
,
67
,
55
,
56
,
55
,
46
,
45
,
60
,
59
,
26
,
59
,
67
,
68
,
27
,
60
,
26
,
60
,
67
,
59
,
40
,
14
,
41
,
47
,
40
,
41
,
47
,
41
,
46
,
41
,
14
,
15
,
67
,
54
,
55
,
55
,
54
,
46
,
54
,
47
,
46
,
40
,
13
,
14
,
61
,
66
,
60
,
60
,
66
,
67
,
66
,
54
,
67
,
28
,
61
,
27
,
27
,
61
,
60
,
66
,
53
,
54
,
12
,
13
,
40
,
39
,
12
,
40
,
54
,
53
,
47
,
53
,
48
,
47
,
39
,
40
,
47
,
48
,
39
,
47
,
65
,
53
,
66
,
62
,
65
,
66
,
62
,
66
,
61
,
28
,
29
,
61
,
29
,
62
,
61
,
65
,
52
,
53
,
38
,
11
,
39
,
53
,
52
,
48
,
52
,
49
,
48
,
38
,
39
,
48
,
49
,
38
,
48
,
39
,
11
,
12
,
64
,
52
,
65
,
63
,
64
,
65
,
30
,
63
,
29
,
29
,
63
,
62
,
63
,
65
,
62
,
64
,
51
,
52
,
38
,
37
,
11
,
37
,
10
,
11
,
50
,
49
,
52
,
51
,
50
,
52
,
49
,
37
,
38
,
50
,
37
,
49
,
50
,
36
,
37
,
37
,
9
,
10
,
35
,
34
,
64
,
35
,
64
,
63
,
35
,
63
,
30
,
0
,
35
,
30
,
36
,
9
,
37
,
34
,
51
,
64
,
32
,
50
,
51
,
33
,
32
,
51
,
34
,
33
,
51
,
36
,
8
,
9
,
31
,
36
,
50
,
32
,
31
,
50
,
0
,
1
,
35
,
1
,
34
,
35
,
31
,
7
,
36
,
2
,
33
,
34
,
1
,
2
,
34
,
7
,
8
,
36
,
3
,
32
,
33
,
2
,
3
,
33
,
4
,
31
,
32
,
3
,
4
,
32
,
5
,
7
,
31
,
4
,
5
,
31
,
5
,
6
,
7
],
"weights"
:[
3
,
4
,
0.913629
,
16
,
0.071327
,
5
,
0.015043
,
2
,
4
,
0.766727
,
16
,
0.233273
,
2
,
4
,
0.580876
,
16
,
0.419124
,
2
,
4
,
0.499982
,
16
,
0.500018
,
2
,
4
,
0.420601
,
16
,
0.579399
,
2
,
4
,
0.222575
,
16
,
0.777425
,
2
,
4
,
0.134747
,
16
,
0.865253
,
2
,
4
,
0.023189
,
16
,
0.976811
,
2
,
4
,
0.071097
,
16
,
0.928903
,
2
,
4
,
0.175398
,
16
,
0.824602
,
3
,
4
,
0.249048
,
16
,
0.664792
,
15
,
0.08616
,
4
,
4
,
0.272673
,
16
,
0.457889
,
15
,
0.147283
,
5
,
0.122155
,
4
,
4
,
0.240747
,
16
,
0.306406
,
15
,
0.259835
,
5
,
0.193012
,
4
,
4
,
0.170429
,
15
,
0.396065
,
5
,
0.236179
,
16
,
0.197327
,
4
,
4
,
0.127922
,
15
,
0.489428
,
5
,
0.239877
,
16
,
0.142772
,
4
,
4
,
0.086155
,
15
,
0.598026
,
5
,
0.223558
,
16
,
0.092262
,
2
,
15
,
0.805712
,
5
,
0.194288
,
2
,
15
,
0.889841
,
5
,
0.110159
,
2
,
15
,
0.929554
,
5
,
0.070446
,
2
,
15
,
0.809106
,
5
,
0.190894
,
2
,
15
,
0.772102
,
5
,
0.227898
,
2
,
15
,
0.636615
,
5
,
0.363385
,
2
,
15
,
0.515074
,
5
,
0.484926
,
2
,
5
,
0.502361
,
15
,
0.497639
,
2
,
5
,
0.612796
,
15
,
0.387204
,
3
,
4
,
0.022518
,
5
,
0.812903
,
15
,
0.164579
,
3
,
4
,
0.009166
,
5
,
0.950533
,
15
,
0.040301
,
4
,
4
,
0.075975
,
5
,
0.747885
,
15
,
0.132823
,
16
,
0.043317
,
4
,
4
,
0.262723
,
5
,
0.451303
,
15
,
0.166696
,
16
,
0.119278
,
4
,
4
,
0.562134
,
5
,
0.182689
,
16
,
0.159478
,
15
,
0.095699
,
4
,
4
,
0.889089
,
16
,
0.068003
,
5
,
0.026123
,
15
,
0.016785
,
2
,
4
,
0.041373
,
16
,
0.958627
,
2
,
4
,
0.202666
,
16
,
0.797334
,
2
,
4
,
0.53605
,
16
,
0.46395
,
3
,
4
,
0.942497
,
16
,
0.054841
,
5
,
0.002662
,
3
,
4
,
0.975013
,
16
,
0.02218
,
5
,
0.002807
,
2
,
4
,
0.092086
,
16
,
0.907914
,
4
,
4
,
0.257128
,
16
,
0.653322
,
15
,
0.045764
,
5
,
0.043785
,
4
,
4
,
0.32592
,
16
,
0.467557
,
15
,
0.107099
,
5
,
0.099424
,
4
,
4
,
0.267806
,
16
,
0.299572
,
15
,
0.233333
,
5
,
0.199289
,
4
,
4
,
0.152036
,
15
,
0.409656
,
5
,
0.280917
,
16
,
0.157392
,
4
,
4
,
0.070836
,
15
,
0.595873
,
5
,
0.261707
,
16
,
0.071584
,
2
,
15
,
0.888135
,
5
,
0.111865
,
2
,
15
,
0.978185
,
5
,
0.021815
,
2
,
15
,
0.870706
,
5
,
0.129294
,
4
,
4
,
0.007704
,
15
,
0.767628
,
5
,
0.217186
,
16
,
0.007482
,
4
,
4
,
0.052725
,
15
,
0.512877
,
5
,
0.382178
,
16
,
0.052221
,
4
,
4
,
0.145711
,
15
,
0.371452
,
5
,
0.337202
,
16
,
0.145635
,
4
,
4
,
0.294004
,
16
,
0.295692
,
15
,
0.207936
,
5
,
0.202369
,
4
,
4
,
0.409878
,
16
,
0.458845
,
15
,
0.065724
,
5
,
0.065553
,
4
,
4
,
0.32541
,
16
,
0.652856
,
5
,
0.010955
,
15
,
0.010779
,
4
,
4
,
0.538469
,
16
,
0.443015
,
5
,
0.009699
,
15
,
0.008817
,
4
,
4
,
0.44269
,
16
,
0.426132
,
5
,
0.067443
,
15
,
0.063735
,
4
,
4
,
0.308591
,
16
,
0.292394
,
5
,
0.203658
,
15
,
0.195357
,
4
,
4
,
0.139599
,
5
,
0.371039
,
15
,
0.359741
,
16
,
0.129621
,
4
,
4
,
0.044733
,
5
,
0.460101
,
15
,
0.45404
,
16
,
0.041126
,
4
,
4
,
0.003022
,
5
,
0.49977
,
15
,
0.494499
,
16
,
0.00271
,
2
,
15
,
0.500329
,
5
,
0.499671
,
3
,
4
,
0.012444
,
5
,
0.793005
,
15
,
0.194551
,
4
,
4
,
0.001214
,
5
,
0.984927
,
15
,
0.012968
,
16
,
0.000891
,
4
,
4
,
0.047749
,
5
,
0.749967
,
15
,
0.170356
,
16
,
0.031928
,
4
,
4
,
0.239428
,
5
,
0.42091
,
15
,
0.205814
,
16
,
0.133848
,
4
,
4
,
0.527243
,
16
,
0.207809
,
5
,
0.162296
,
15
,
0.102651
,
4
,
4
,
0.899892
,
16
,
0.072754
,
5
,
0.016017
,
15
,
0.011337
,
4
,
4
,
0.776868
,
16
,
0.190734
,
5
,
0.018012
,
15
,
0.014387
,
4
,
4
,
0.459014
,
16
,
0.279166
,
5
,
0.14823
,
15
,
0.113589
,
4
,
4
,
0.238487
,
5
,
0.348455
,
15
,
0.245018
,
16
,
0.16804
,
4
,
4
,
0.046811
,
5
,
0.604735
,
15
,
0.312205
,
16
,
0.03625
,
4
,
4
,
0.001214
,
5
,
0.953212
,
15
,
0.044598
,
16
,
0.000977
,
3
,
4
,
0.006932
,
5
,
0.72638
,
15
,
0.266688
,
2
,
5
,
0.554966
,
15
,
0.445034
],
"slotPose"
:[
1
,
0
,
0
,
1
,
0
,
0
],
"bonePose"
:[
4
,
-0.300098
,
0.953908
,
-0.953908
,
-0.300098
,
-106.45
,
-229.3
,
16
,
-0.318207
,
0.948021
,
-0.948021
,
-0.318207
,
-126.6
,
-165.25
,
5
,
0.323743
,
0.946145
,
-0.946145
,
0.323743
,
55.6
,
-233
,
15
,
0.229254
,
0.973367
,
-0.973367
,
0.229254
,
76.25
,
-172.65
],
"edges"
:[
0
,
1
,
1
,
2
,
2
,
3
,
3
,
4
,
4
,
5
,
5
,
6
,
6
,
7
,
7
,
8
,
8
,
9
,
9
,
10
,
10
,
11
,
11
,
12
,
12
,
13
,
13
,
14
,
14
,
15
,
15
,
16
,
16
,
17
,
17
,
18
,
18
,
19
,
19
,
20
,
20
,
21
,
21
,
22
,
22
,
23
,
24
,
25
,
25
,
26
,
26
,
27
,
27
,
28
,
28
,
29
,
29
,
30
,
30
,
0
,
23
,
70
,
70
,
24
],
"userEdges"
:[]}]},{
"name"
:
"手臂2"
,
"display"
:[{
"name"
:
"手臂2"
,
"transform"
:{
"x"
:
57.32
,
"y"
:
-3.88
,
"skX"
:
-178.53
,
"skY"
:
-178.53
}}]},{
"name"
:
"右脚落下"
,
"display"
:[{
"name"
:
"右脚落下"
,
"transform"
:{
"x"
:
18.63
,
"y"
:
-0.82
,
"skX"
:
-92.23
,
"skY"
:
-92.23
}}]},{
"name"
:
"左脚落下"
,
"display"
:[{
"name"
:
"左脚落下"
,
"transform"
:{
"x"
:
22.9
,
"y"
:
5.39
,
"skX"
:
-87.79
,
"skY"
:
-87.79
}}]},{
"name"
:
"身体"
,
"display"
:[{
"name"
:
"身体"
,
"transform"
:{
"x"
:
65.08
,
"y"
:
25.8
,
"skX"
:
90.62
,
"skY"
:
90.62
}}]},{
"name"
:
"右脚抬起"
,
"display"
:[{
"name"
:
"右脚抬起"
,
"transform"
:{
"x"
:
32.59
,
"y"
:
4.37
,
"skX"
:
-65.66
,
"skY"
:
-65.66
}},{
"name"
:
"右脚弯曲"
,
"transform"
:{
"x"
:
34.05
,
"y"
:
13.26
,
"skX"
:
-65.66
,
"skY"
:
-65.66
}}]},{
"name"
:
"左脚抬起"
,
"display"
:[{
"name"
:
"左脚抬起"
,
"transform"
:{
"x"
:
38.81
,
"y"
:
4.24
,
"skX"
:
-104.78
,
"skY"
:
-104.78
}},{
"name"
:
"左脚弯曲"
,
"transform"
:{
"x"
:
38.07
,
"y"
:
-6.42
,
"skX"
:
-104.78
,
"skY"
:
-104.78
}}]},{
"name"
:
"头"
,
"display"
:[{
"name"
:
"头"
,
"transform"
:{
"x"
:
136.72
,
"y"
:
18.41
,
"skX"
:
89.65
,
"skY"
:
89.65
}}]},{
"name"
:
"眼睁"
,
"display"
:[{
"name"
:
"眼睁"
,
"transform"
:{
"x"
:
1.29
,
"y"
:
-31.78
,
"skX"
:
93.58
,
"skY"
:
93.58
}},{
"name"
:
"眼睛闭"
,
"transform"
:{
"x"
:
-2.67
,
"y"
:
-32.53
,
"skX"
:
93.58
,
"skY"
:
93.58
}}]},{
"name"
:
"扇子收"
,
"display"
:[{
"name"
:
"扇子收"
,
"transform"
:{
"x"
:
44.62
,
"y"
:
2.39
,
"skX"
:
90.95
,
"skY"
:
90.95
}},{
"name"
:
"扇子开"
,
"transform"
:{
"x"
:
43.12
,
"y"
:
2.36
,
"skX"
:
90.95
,
"skY"
:
90.95
}},{
"name"
:
"扇子合"
,
"transform"
:{
"x"
:
43.14
,
"y"
:
1.36
,
"skX"
:
90.95
,
"skY"
:
90.95
}}]},{
"name"
:
"手臂1"
,
"display"
:[{
"type"
:
"mesh"
,
"name"
:
"手臂1"
,
"width"
:
105
,
"height"
:
48
,
"vertices"
:[
47.85
,
-226.11
,
64.75
,
-203.31
,
73.1
,
-185.11
,
91.75
,
-178.96
,
116.8
,
-178.51
,
141.8
,
-181.61
,
150
,
-188.61
,
150
,
-209.71
,
135.85
,
-219.56
,
115.7
,
-221.11
,
111.5
,
-214.06
,
89.35
,
-218.01
,
55.35
,
-226.11
],
"uvs"
:[
0.02714
,
0
,
0.1881
,
0.475
,
0.26762
,
0.85417
,
0.44524
,
0.98229
,
0.68381
,
0.99167
,
0.9219
,
0.92708
,
1
,
0.78125
,
1
,
0.34167
,
0.86524
,
0.13646
,
0.67333
,
0.10417
,
0.63333
,
0.25104
,
0.42238
,
0.16875
,
0.09857
,
0
],
"triangles"
:[
8
,
5
,
7
,
7
,
5
,
6
,
8
,
10
,
5
,
10
,
4
,
5
,
9
,
10
,
8
,
11
,
3
,
10
,
10
,
3
,
4
,
1
,
2
,
11
,
11
,
2
,
3
,
12
,
1
,
11
,
12
,
0
,
1
],
"weights"
:[
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
1
,
3
,
1
,
1
,
3
,
1
,
1
,
3
,
1
,
1
,
3
,
1
,
1
,
3
,
1
,
1
,
3
,
1
,
1
,
3
,
1
,
1
,
3
,
1
,
1
,
3
,
1
,
1
,
3
,
1
],
"slotPose"
:[
1
,
0
,
0
,
1
,
0
,
0
],
"bonePose"
:[
3
,
0.992679
,
0.120782
,
-0.120782
,
0.992679
,
51.45
,
-217.05
,
1
,
-0.010801
,
-0.999942
,
0.999942
,
-0.010801
,
-6.6
,
-81.75
],
"edges"
:[
0
,
1
,
1
,
2
,
2
,
3
,
3
,
4
,
4
,
5
,
5
,
6
,
6
,
7
,
7
,
8
,
8
,
9
,
9
,
10
,
10
,
11
,
11
,
12
,
12
,
0
],
"userEdges"
:[]}]},{
"name"
:
"火焰1"
,
"display"
:[{
"name"
:
"火焰1"
,
"transform"
:{
"x"
:
-19.16
,
"y"
:
57.96
,
"skX"
:
0.7
,
"skY"
:
0.7
}},{
"name"
:
"火焰2"
,
"transform"
:{
"x"
:
-18.62
,
"y"
:
54.47
,
"skX"
:
0.7
,
"skY"
:
0.7
}}]},{
"name"
:
"亮珠光芒"
,
"display"
:[{
"name"
:
"亮珠光芒"
,
"transform"
:{
"x"
:
-0.65
,
"y"
:
6.69
}}]}]}],
"animation"
:[{
"duration"
:
48
,
"playTimes"
:
0
,
"name"
:
"newAnimation"
,
"bone"
:[{
"name"
:
"身体"
,
"translateFrame"
:[{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"y"
:
12.91
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"y"
:
12.91
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"y"
:
12.91
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"y"
:
12.91
},{
"duration"
:
0
}]},{
"name"
:
"头"
,
"rotateFrame"
:[{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"rotate"
:
-1.87
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"rotate"
:
2.09
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"rotate"
:
-1.87
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"rotate"
:
2.09
},{
"duration"
:
0
}]},{
"name"
:
"手臂1"
,
"rotateFrame"
:[{
"duration"
:
8
,
"tweenEasing"
:
0
},{
"duration"
:
4
,
"tweenEasing"
:
0
,
"rotate"
:
11.19
},{
"duration"
:
24
,
"tweenEasing"
:
0
,
"rotate"
:
-5.65
},{
"duration"
:
4
,
"tweenEasing"
:
0
,
"rotate"
:
-5.65
},{
"duration"
:
4
,
"tweenEasing"
:
0
,
"rotate"
:
-17.51
},{
"duration"
:
4
}]},{
"name"
:
"斗篷"
,
"rotateFrame"
:[{
"duration"
:
12
,
"tweenEasing"
:
0
,
"rotate"
:
-8.22
},{
"duration"
:
12
,
"tweenEasing"
:
0
,
"rotate"
:
12.15
},{
"duration"
:
12
,
"tweenEasing"
:
0
,
"rotate"
:
-8.22
},{
"duration"
:
12
,
"tweenEasing"
:
0
,
"rotate"
:
12.15
},{
"duration"
:
0
,
"rotate"
:
-8.22
}],
"scaleFrame"
:[{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"x"
:
0.85
},{
"duration"
:
12
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"x"
:
0.85
},{
"duration"
:
12
}]},{
"name"
:
"身体1"
,
"rotateFrame"
:[{
"duration"
:
12
,
"tweenEasing"
:
0
,
"rotate"
:
-8.12
},{
"duration"
:
12
,
"tweenEasing"
:
0
,
"rotate"
:
9.52
},{
"duration"
:
12
,
"tweenEasing"
:
0
,
"rotate"
:
-8.12
},{
"duration"
:
12
,
"tweenEasing"
:
0
,
"rotate"
:
9.52
},{
"duration"
:
0
,
"rotate"
:
-8.12
}],
"scaleFrame"
:[{
"duration"
:
12
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"x"
:
0.75
},{
"duration"
:
12
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"x"
:
0.75
},{
"duration"
:
0
}]},{
"name"
:
"右脚抬起"
,
"translateFrame"
:[{
"duration"
:
12
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
5
,
"tweenEasing"
:
0
,
"x"
:
2.3
,
"y"
:
0.02
},{
"tweenEasing"
:
0
,
"x"
:
-9.38
,
"y"
:
-0.1
},{
"duration"
:
12
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
5
,
"tweenEasing"
:
0
,
"x"
:
2.3
,
"y"
:
0.02
},{
"tweenEasing"
:
0
,
"x"
:
-9.38
,
"y"
:
-0.1
},{
"duration"
:
0
}]},{
"name"
:
"手臂2"
,
"rotateFrame"
:[{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"rotate"
:
6.71
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"rotate"
:
6.71
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"rotate"
:
6.71
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"rotate"
:
6.71
},{
"duration"
:
0
}]},{
"name"
:
"左脚抬起"
,
"translateFrame"
:[{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
5
,
"tweenEasing"
:
0
,
"x"
:
-8.62
,
"y"
:
-0.09
},{
"tweenEasing"
:
0
,
"x"
:
-18.1
,
"y"
:
-0.2
},{
"duration"
:
12
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
5
,
"tweenEasing"
:
0
,
"x"
:
-8.62
,
"y"
:
-0.09
},{
"tweenEasing"
:
0
,
"x"
:
-18.1
,
"y"
:
-0.2
},{
"duration"
:
12
}]},{
"name"
:
"右脚落下"
,
"translateFrame"
:[{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"x"
:
12.44
,
"y"
:
0.13
},{
"duration"
:
12
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"x"
:
12.44
,
"y"
:
0.13
},{
"duration"
:
12
}]},{
"name"
:
"左脚落下"
,
"translateFrame"
:[{
"duration"
:
12
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"x"
:
11.59
,
"y"
:
0.13
},{
"duration"
:
12
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"x"
:
11.59
,
"y"
:
0.13
},{
"duration"
:
0
}]},{
"name"
:
"扇子收"
,
"rotateFrame"
:[{
"duration"
:
8
,
"tweenEasing"
:
0
},{
"duration"
:
4
,
"tweenEasing"
:
0
,
"rotate"
:
11.56
},{
"duration"
:
26
,
"tweenEasing"
:
0
,
"rotate"
:
-4.21
},{
"duration"
:
4
,
"tweenEasing"
:
0
,
"rotate"
:
-4.21
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"rotate"
:
11.56
},{
"duration"
:
0
}]},{
"name"
:
"身体2"
,
"rotateFrame"
:[{
"duration"
:
6
,
"tweenEasing"
:
0
,
"rotate"
:
-10.1
},{
"duration"
:
12
,
"tweenEasing"
:
0
,
"rotate"
:
-41.27
},{
"duration"
:
12
,
"tweenEasing"
:
0
,
"rotate"
:
21.08
},{
"duration"
:
12
,
"tweenEasing"
:
0
,
"rotate"
:
-41.27
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"rotate"
:
21.08
},{
"duration"
:
0
,
"rotate"
:
-10.1
}]},{
"name"
:
"斗篷1"
,
"rotateFrame"
:[{
"duration"
:
6
,
"tweenEasing"
:
0
,
"rotate"
:
-2.49
},{
"duration"
:
12
,
"tweenEasing"
:
0
,
"rotate"
:
-36.31
},{
"duration"
:
12
,
"tweenEasing"
:
0
,
"rotate"
:
31.32
},{
"duration"
:
12
,
"tweenEasing"
:
0
,
"rotate"
:
-36.31
},{
"duration"
:
6
,
"tweenEasing"
:
0
,
"rotate"
:
31.32
},{
"duration"
:
0
,
"rotate"
:
-2.49
}]}],
"slot"
:[{
"name"
:
"右脚落下"
,
"colorFrame"
:[{
"duration"
:
12
},{
"duration"
:
11
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
11
,
"tweenEasing"
:
0
},{
"tweenEasing"
:
0
},{
"duration"
:
11
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
0
}]},{
"name"
:
"左脚落下"
,
"colorFrame"
:[{
"duration"
:
11
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
11
,
"tweenEasing"
:
0
},{
"tweenEasing"
:
0
},{
"duration"
:
11
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
11
,
"tweenEasing"
:
0
},{
"tweenEasing"
:
0
},{
"duration"
:
0
,
"value"
:{
"aM"
:
0
}}]},{
"name"
:
"右脚抬起"
,
"displayFrame"
:[{
"duration"
:
12
,
"value"
:
-1
},{
"duration"
:
6
},{
"duration"
:
6
,
"value"
:
1
},{
"duration"
:
12
,
"value"
:
-1
},{
"duration"
:
6
},{
"duration"
:
6
,
"value"
:
1
},{
"duration"
:
0
,
"value"
:
-1
}]},{
"name"
:
"左脚抬起"
,
"displayFrame"
:[{
"duration"
:
6
},{
"duration"
:
6
,
"value"
:
1
},{
"duration"
:
12
,
"value"
:
-1
},{
"duration"
:
6
},{
"duration"
:
6
,
"value"
:
1
},{
"duration"
:
12
,
"value"
:
-1
},{
"duration"
:
0
}]},{
"name"
:
"眼睁"
,
"displayFrame"
:[{
"duration"
:
12
},{
"duration"
:
2
,
"value"
:
1
},{
"duration"
:
22
},{
"duration"
:
2
,
"value"
:
1
},{
"duration"
:
10
}]},{
"name"
:
"扇子收"
,
"displayFrame"
:[{
"duration"
:
10
},{
"duration"
:
2
,
"value"
:
2
},{
"duration"
:
28
,
"value"
:
1
},{
"duration"
:
2
,
"value"
:
2
},{
"duration"
:
6
}]},{
"name"
:
"火焰1"
,
"displayFrame"
:[{
"duration"
:
6
},{
"duration"
:
6
,
"value"
:
1
},{
"duration"
:
6
},{
"duration"
:
6
,
"value"
:
1
},{
"duration"
:
6
},{
"duration"
:
6
,
"value"
:
1
},{
"duration"
:
6
},{
"duration"
:
6
,
"value"
:
1
},{
"duration"
:
0
}]},{
"name"
:
"亮珠光芒"
,
"colorFrame"
:[{
"duration"
:
12
,
"tweenEasing"
:
0
,
"value"
:{
"aM"
:
0
}},{
"duration"
:
36
}]}]}],
"defaultActions"
:[{
"gotoAndPlay"
:
"newAnimation"
}]}]}
\ No newline at end of file
assets/xy_camera/dragonBones/cyy_ske.json.meta
0 → 100644
View file @
36bd3751
{
"ver": "1.0.1",
"uuid": "629483b1-3ced-4ec3-a5f2-92bba0c24437",
"subMetas": {}
}
\ No newline at end of file
assets/xy_camera/dragonBones/cyy_tex.json
0 → 100644
View file @
36bd3751
{
"name"
:
"川阅阅"
,
"height"
:
1024
,
"SubTexture"
:[{
"name"
:
"斗篷"
,
"x"
:
391
,
"height"
:
193
,
"y"
:
781
,
"width"
:
322
},{
"name"
:
"手臂2"
,
"x"
:
782
,
"height"
:
50
,
"y"
:
203
,
"width"
:
116
},{
"name"
:
"右脚落下"
,
"x"
:
316
,
"height"
:
130
,
"y"
:
790
,
"width"
:
73
},{
"name"
:
"左脚落下"
,
"x"
:
950
,
"height"
:
132
,
"y"
:
1
,
"width"
:
71
},{
"name"
:
"身体"
,
"x"
:
715
,
"height"
:
196
,
"y"
:
781
,
"width"
:
233
},{
"name"
:
"右脚弯曲"
,
"x"
:
861
,
"height"
:
102
,
"y"
:
1
,
"width"
:
77
},{
"name"
:
"右脚抬起"
,
"x"
:
782
,
"height"
:
96
,
"y"
:
105
,
"width"
:
80
},{
"name"
:
"左脚弯曲"
,
"x"
:
782
,
"height"
:
102
,
"y"
:
1
,
"width"
:
77
},{
"name"
:
"左脚抬起"
,
"x"
:
287
,
"height"
:
96
,
"y"
:
922
,
"width"
:
80
},{
"name"
:
"头"
,
"x"
:
1
,
"height"
:
508
,
"y"
:
1
,
"width"
:
460
},{
"name"
:
"眼睛闭"
,
"x"
:
1
,
"height"
:
19
,
"y"
:
1004
,
"width"
:
182
},{
"name"
:
"眼睁"
,
"x"
:
143
,
"height"
:
61
,
"y"
:
790
,
"width"
:
171
},{
"name"
:
"扇子收"
,
"x"
:
864
,
"height"
:
92
,
"y"
:
105
,
"width"
:
32
},{
"name"
:
"扇子开"
,
"x"
:
1
,
"height"
:
89
,
"y"
:
913
,
"width"
:
170
},{
"name"
:
"扇子合"
,
"x"
:
173
,
"height"
:
89
,
"y"
:
853
,
"width"
:
112
},{
"name"
:
"手臂1"
,
"x"
:
173
,
"height"
:
48
,
"y"
:
944
,
"width"
:
105
},{
"name"
:
"火焰1"
,
"x"
:
391
,
"height"
:
268
,
"y"
:
511
,
"width"
:
389
},{
"name"
:
"火焰2"
,
"x"
:
1
,
"height"
:
277
,
"y"
:
511
,
"width"
:
388
},{
"name"
:
"亮珠光芒"
,
"x"
:
1
,
"height"
:
121
,
"y"
:
790
,
"width"
:
140
}],
"imagePath"
:
"cyy_tex.png"
,
"width"
:
1024
}
\ No newline at end of file
assets/xy_camera/dragonBones/cyy_tex.json.meta
0 → 100644
View file @
36bd3751
{
"ver": "1.0.1",
"uuid": "2e1fc555-f6b2-468c-9ff9-048c3faa73d8",
"subMetas": {}
}
\ No newline at end of file
assets/xy_camera/dragonBones/cyy_tex.png
0 → 100644
View file @
36bd3751
58.8 KB
assets/xy_camera/
textures/bg.jp
g.meta
→
assets/xy_camera/
dragonBones/cyy_tex.pn
g.meta
View file @
36bd3751
{
{
"ver": "2.3.5",
"ver": "2.3.5",
"uuid": "
e1b4d971-9876-4832-803a-5a321964a78b
",
"uuid": "
a7483cb1-d314-40e2-a92c-d50a2f3f583d
",
"type": "sprite",
"type": "sprite",
"wrapMode": "clamp",
"wrapMode": "clamp",
"filterMode": "bilinear",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"premultiplyAlpha": false,
"genMipmaps": false,
"genMipmaps": false,
"packable": true,
"packable": true,
"width": 1
280
,
"width": 1
024
,
"height":
720
,
"height":
1024
,
"platformSettings": {},
"platformSettings": {},
"subMetas": {
"subMetas": {
"
bg
": {
"
cyy_tex
": {
"ver": "1.0.4",
"ver": "1.0.4",
"uuid": "
8288e3d4-4c75-4b27-8f01-f7014417f4dd
",
"uuid": "
0b0dd5cd-3378-47e7-a8cd-1e139a185a90
",
"rawTextureUuid": "
e1b4d971-9876-4832-803a-5a321964a78b
",
"rawTextureUuid": "
a7483cb1-d314-40e2-a92c-d50a2f3f583d
",
"trimType": "auto",
"trimType": "auto",
"trimThreshold": 1,
"trimThreshold": 1,
"rotated": false,
"rotated": false,
"offsetX":
0
,
"offsetX":
-1
,
"offsetY": 0,
"offsetY": 0
.5
,
"trimX":
0
,
"trimX":
1
,
"trimY":
0
,
"trimY":
1
,
"width": 1
28
0,
"width": 1
02
0,
"height":
720
,
"height":
1021
,
"rawWidth": 1
280
,
"rawWidth": 1
024
,
"rawHeight":
720
,
"rawHeight":
1024
,
"borderTop": 0,
"borderTop": 0,
"borderBottom": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderLeft": 0,
...
...
assets/xy_camera/scene/xy_camera.fire
View file @
36bd3751
...
@@ -75,19 +75,22 @@
...
@@ -75,19 +75,22 @@
"__id__": 5
"__id__": 5
},
},
{
{
"__id__": 7
"__id__": 8
},
{
"__id__": 23
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
21
"__id__":
30
},
},
{
{
"__id__":
22
"__id__":
31
},
},
{
{
"__id__":
23
"__id__":
32
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -101,8 +104,8 @@
...
@@ -101,8 +104,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
1280
,
"width":
2436
,
"height":
720
"height":
1125
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -113,8 +116,8 @@
...
@@ -113,8 +116,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
640
,
1218
,
360
,
562.5
,
0,
0,
0,
0,
0,
0,
...
@@ -163,8 +166,8 @@
...
@@ -163,8 +166,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
1280
,
"width":
2436
,
"height":
720
"height":
1125
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -248,6 +251,9 @@
...
@@ -248,6 +251,9 @@
"_components": [
"_components": [
{
{
"__id__": 6
"__id__": 6
},
{
"__id__": 7
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -261,8 +267,8 @@
...
@@ -261,8 +267,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
1280
,
"width":
2436
,
"height":
720
"height":
1125
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -317,7 +323,7 @@
...
@@ -317,7 +323,7 @@
"__uuid__": "124c4033-b4af-4f46-aad7-cfad80e198b2"
"__uuid__": "124c4033-b4af-4f46-aad7-cfad80e198b2"
},
},
"_type": 0,
"_type": 0,
"_sizeMode":
0
,
"_sizeMode":
1
,
"_fillType": 0,
"_fillType": 0,
"_fillCenter": {
"_fillCenter": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -330,6 +336,33 @@
...
@@ -330,6 +336,33 @@
"_atlas": null,
"_atlas": null,
"_id": "97/S6HDq9MeqgmV1Zwnhbb"
"_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": 2436,
"_originalHeight": 1125,
"_id": "5cKWmdWu5K2ri25RGBZZS8"
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
"_name": "border",
"_name": "border",
...
@@ -339,19 +372,19 @@
...
@@ -339,19 +372,19 @@
},
},
"_children": [
"_children": [
{
{
"__id__":
8
"__id__":
9
},
},
{
{
"__id__": 1
5
"__id__": 1
7
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__":
19
"__id__":
21
},
},
{
{
"__id__": 2
0
"__id__": 2
2
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -365,8 +398,8 @@
...
@@ -365,8 +398,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
1200
,
"width":
2328
,
"height":
65
0
"height":
99
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -407,23 +440,23 @@
...
@@ -407,23 +440,23 @@
"_name": "pic_bg",
"_name": "pic_bg",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
7
"__id__":
8
},
},
"_children": [
"_children": [
{
{
"__id__":
9
"__id__":
10
},
},
{
{
"__id__": 1
1
"__id__": 1
2
}
}
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
3
"__id__": 1
5
},
},
{
{
"__id__": 1
4
"__id__": 1
6
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -437,8 +470,8 @@
...
@@ -437,8 +470,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
630
,
"width":
1360.9999999999995
,
"height":
450
"height":
764
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -449,8 +482,8 @@
...
@@ -449,8 +482,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-
193.36599999999999
,
-
378.2930000000001
,
2.61
8999999999999
8,
2.61
900000000002
8,
0,
0,
0,
0,
0,
0,
...
@@ -479,13 +512,13 @@
...
@@ -479,13 +512,13 @@
"_name": "camera_icon",
"_name": "camera_icon",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
8
"__id__":
9
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
0
"__id__": 1
1
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -499,8 +532,8 @@
...
@@ -499,8 +532,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
200
,
"width":
368
,
"height":
200
"height":
368
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -541,7 +574,7 @@
...
@@ -541,7 +574,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
9
"__id__":
10
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -555,7 +588,7 @@
...
@@ -555,7 +588,7 @@
"__uuid__": "c3df061b-ee78-4bfd-ae31-2c477601a561"
"__uuid__": "c3df061b-ee78-4bfd-ae31-2c477601a561"
},
},
"_type": 0,
"_type": 0,
"_sizeMode":
0
,
"_sizeMode":
1
,
"_fillType": 0,
"_fillType": 0,
"_fillCenter": {
"_fillCenter": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -573,13 +606,16 @@
...
@@ -573,13 +606,16 @@
"_name": "picture",
"_name": "picture",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
8
"__id__":
9
},
},
"_children": [],
"_children": [],
"_active": false,
"_active": false,
"_components": [
"_components": [
{
{
"__id__": 12
"__id__": 13
},
{
"__id__": 14
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -593,8 +629,8 @@
...
@@ -593,8 +629,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
590
,
"width":
1360.9999999999995
,
"height":
420
"height":
764
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -606,7 +642,7 @@
...
@@ -606,7 +642,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
0,
2.723
,
0
,
0,
0,
0,
0,
0,
0,
...
@@ -635,7 +671,7 @@
...
@@ -635,7 +671,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
1
"__id__": 1
2
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -662,12 +698,39 @@
...
@@ -662,12 +698,39 @@
"_atlas": null,
"_atlas": null,
"_id": "673kE8GVpGmJlAlK3oywRh"
"_id": "673kE8GVpGmJlAlK3oywRh"
},
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 2,
"_right": 2,
"_top": 2,
"_bottom": 2,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 590,
"_originalHeight": 420,
"_id": "69WqQ25ppD6ICi6HOJzV6I"
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
8
"__id__":
9
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -699,16 +762,16 @@
...
@@ -699,16 +762,16 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
8
"__id__":
9
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
"_target": null,
"_target": null,
"_alignFlags": 45,
"_alignFlags": 45,
"_left":
91.63400000000001
,
"_left":
105.20700000000014
,
"_right":
478.366
,
"_right":
861.7930000000002
,
"_top":
97
.381,
"_top":
110
.381,
"_bottom": 1
02
.619,
"_bottom": 1
15
.619,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsLeft": true,
...
@@ -726,19 +789,19 @@
...
@@ -726,19 +789,19 @@
"_name": "upload",
"_name": "upload",
"_objFlags": 0,
"_objFlags": 0,
"_parent": {
"_parent": {
"__id__":
7
"__id__":
8
},
},
"_children": [],
"_children": [],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
{
"__id__": 1
6
"__id__": 1
8
},
},
{
{
"__id__": 1
7
"__id__": 1
9
},
},
{
{
"__id__":
18
"__id__":
20
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -752,8 +815,8 @@
...
@@ -752,8 +815,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
200
,
"width":
367
,
"height":
179
"height":
321
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -764,8 +827,8 @@
...
@@ -764,8 +827,8 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
321.499
,
653.155
,
14.268
,
9.526
,
0,
0,
0,
0,
0,
0,
...
@@ -794,7 +857,7 @@
...
@@ -794,7 +857,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
5
"__id__": 1
7
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -808,7 +871,7 @@
...
@@ -808,7 +871,7 @@
"__uuid__": "8647fd61-ce42-47a0-93ac-1e00c894b101"
"__uuid__": "8647fd61-ce42-47a0-93ac-1e00c894b101"
},
},
"_type": 0,
"_type": 0,
"_sizeMode":
0
,
"_sizeMode":
1
,
"_fillType": 0,
"_fillType": 0,
"_fillCenter": {
"_fillCenter": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -826,14 +889,14 @@
...
@@ -826,14 +889,14 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
5
"__id__": 1
7
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
"_target": null,
"_target": null,
"_alignFlags": 32,
"_alignFlags": 32,
"_left": 821.499,
"_left": 821.499,
"_right":
178.50099999999998
,
"_right":
327.345
,
"_top": 221.232,
"_top": 221.232,
"_bottom": 249.768,
"_bottom": 249.768,
"_verticalCenter": 0,
"_verticalCenter": 0,
...
@@ -853,7 +916,7 @@
...
@@ -853,7 +916,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__": 1
5
"__id__": 1
7
},
},
"_enabled": true,
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": null,
...
@@ -921,7 +984,7 @@
...
@@ -921,7 +984,7 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
7
"__id__":
8
},
},
"_enabled": true,
"_enabled": true,
"_materials": [
"_materials": [
...
@@ -935,7 +998,7 @@
...
@@ -935,7 +998,7 @@
"__uuid__": "1a85a24c-074c-4de0-9bdf-49088fc69d30"
"__uuid__": "1a85a24c-074c-4de0-9bdf-49088fc69d30"
},
},
"_type": 0,
"_type": 0,
"_sizeMode":
0
,
"_sizeMode":
1
,
"_fillType": 0,
"_fillType": 0,
"_fillCenter": {
"_fillCenter": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -953,16 +1016,16 @@
...
@@ -953,16 +1016,16 @@
"_name": "",
"_name": "",
"_objFlags": 0,
"_objFlags": 0,
"node": {
"node": {
"__id__":
7
"__id__":
8
},
},
"_enabled": true,
"_enabled": true,
"alignMode": 1,
"alignMode": 1,
"_target": null,
"_target": null,
"_alignFlags": 45,
"_alignFlags": 45,
"_left":
40
,
"_left":
54
,
"_right":
40
,
"_right":
54
,
"_top":
46.9
3799999999999,
"_top":
79.4
3799999999999,
"_bottom":
23.062000000000012
,
"_bottom":
55.56200000000001
,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsLeft": true,
...
@@ -975,6 +1038,328 @@
...
@@ -975,6 +1038,328 @@
"_originalHeight": 650,
"_originalHeight": 650,
"_id": "ecKoR+Gw1Js6+/4CNuGYL1"
"_id": "ecKoR+Gw1Js6+/4CNuGYL1"
},
},
{
"__type__": "cc.Node",
"_name": "loading",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 24
},
{
"__id__": 27
}
],
"_active": false,
"_components": [
{
"__id__": 29
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 2436,
"height": 1125
},
"_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": "b5/qvxNp1LQLnwChbBcGU9"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 23
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 25
},
{
"__id__": 26
}
],
"_prefab": null,
"_opacity": 119,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 2436,
"height": 1125
},
"_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": "7eUF0JLWhMzYznOLh9zztj"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a8y4dExZ9BR61XYmKgALDJ"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_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": 100,
"_originalHeight": 100,
"_id": "bdMiL4amJPOL3xWC1neZso"
},
{
"__type__": "cc.Node",
"_name": "cyy_ske",
"_objFlags": 0,
"_parent": {
"__id__": 23
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 28
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 460,
"height": 657
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-279.762,
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": "3faPp2Y0dDJoROwEKfdTs7"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 27
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "629483b1-3ced-4ec3-a5f2-92bba0c24437#2e1fc555-f6b2-468c-9ff9-048c3faa73d8",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "629483b1-3ced-4ec3-a5f2-92bba0c24437"
},
"_N$dragonAtlasAsset": {
"__uuid__": "2e1fc555-f6b2-468c-9ff9-048c3faa73d8"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "dabCrX/UJCLbNua4EhgIjL"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "c5bJYi9FRJiqSrQYxEJjq/"
},
{
{
"__type__": "cc.Canvas",
"__type__": "cc.Canvas",
"_name": "",
"_name": "",
...
@@ -985,8 +1370,8 @@
...
@@ -985,8 +1370,8 @@
"_enabled": true,
"_enabled": true,
"_designResolution": {
"_designResolution": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
1280
,
"width":
2436
,
"height":
720
"height":
1125
},
},
"_fitWidth": true,
"_fitWidth": true,
"_fitHeight": true,
"_fitHeight": true,
...
...
assets/xy_camera/scene/xy_camera.ts
View file @
36bd3751
...
@@ -19,6 +19,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -19,6 +19,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
}
showLoading
()
{
cc
.
find
(
`Canvas/loading`
).
active
=
true
;
}
hideLoading
()
{
cc
.
find
(
`Canvas/loading`
).
active
=
false
;
}
onLoadEnd
()
{
onLoadEnd
()
{
// TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
// TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
this
.
initData
();
this
.
initData
();
...
@@ -38,12 +45,14 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -38,12 +45,14 @@ export default class SceneComponent extends MyCocosSceneComponent {
window
[
"
cameraHandler
"
].
takePictureCallback
=
(
err
,
url
)
=>
{
window
[
"
cameraHandler
"
].
takePictureCallback
=
(
err
,
url
)
=>
{
if
(
err
)
{
if
(
err
)
{
console
.
log
(
err
);
console
.
log
(
err
);
this
.
hideLoading
();
return
;
return
;
}
}
const
pic
=
cc
.
find
(
`Canvas/border/pic_bg/picture`
);
const
pic
=
cc
.
find
(
`Canvas/border/pic_bg/picture`
);
getSpriteFrimeByUrl
(
url
,
(
frame
)
=>
{
getSpriteFrimeByUrl
(
url
,
(
frame
)
=>
{
pic
.
getComponent
(
cc
.
Sprite
).
spriteFrame
=
frame
;
pic
.
getComponent
(
cc
.
Sprite
).
spriteFrame
=
frame
;
pic
.
active
=
true
;
pic
.
active
=
true
;
this
.
hideLoading
();
});
});
}
}
}
}
...
@@ -56,6 +65,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -56,6 +65,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
initListener
()
{
initListener
()
{
const
btn
=
cc
.
find
(
`Canvas/border/upload`
);
const
btn
=
cc
.
find
(
`Canvas/border/upload`
);
buttonOnClick
(
btn
,
()
=>
{
buttonOnClick
(
btn
,
()
=>
{
this
.
showLoading
();
window
[
"
cameraHandler
"
].
openCamera
();
window
[
"
cameraHandler
"
].
openCamera
();
});
});
}
}
...
...
assets/xy_camera/textures/bg.jpg
deleted
100644 → 0
View file @
5e595241
25.8 KB
index.html
View file @
36bd3751
...
@@ -31,11 +31,6 @@
...
@@ -31,11 +31,6 @@
</div>
</div>
<!-- </div> -->
<!-- </div> -->
<!-- camera -->
<div
id=
"VideoContainer"
style=
"position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: none;"
>
<video
id=
"video"
autoplay
style=
"width: 100%;height: 100%;"
></video>
</div>
<!-- <p class="footer">Made with <a href="https://www.cocos.com/products#CocosCreator" title="cocos creator">Cocos Creator</a></p> -->
<!-- <p class="footer">Made with <a href="https://www.cocos.com/products#CocosCreator" title="cocos creator">Cocos Creator</a></p> -->
<script
src=
"src/settings.js"
charset=
"utf-8"
></script>
<script
src=
"src/settings.js"
charset=
"utf-8"
></script>
...
...
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