Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NJ_NongChang
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
NJ_NongChang
Commits
2f570506
Commit
2f570506
authored
Sep 03, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 适配
parent
6dddcc7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
26 deletions
+26
-26
NJ_NongChang.fire
assets/NJ_NongChang/scene/NJ_NongChang.fire
+25
-25
NJ_NongChang.ts
assets/NJ_NongChang/scene/NJ_NongChang.ts
+1
-1
No files found.
assets/NJ_NongChang/scene/NJ_NongChang.fire
View file @
2f570506
...
@@ -354,7 +354,7 @@
...
@@ -354,7 +354,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
1752
.609
,
1752,
0,
0,
0,
0,
0,
0,
...
@@ -6286,7 +6286,7 @@
...
@@ -6286,7 +6286,7 @@
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"showInEditor": false,
"_id": "
d0oGemQOlPN7h+RhzeXn7n
"
"_id": "
30rBgg5n1HBK9VrLbCBNEk
"
},
},
{
{
"__type__": "cc.Label",
"__type__": "cc.Label",
...
@@ -6321,7 +6321,7 @@
...
@@ -6321,7 +6321,7 @@
"_N$fontFamily": "Arial",
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$overflow": 0,
"_N$cacheMode": 0,
"_N$cacheMode": 0,
"_id": "b
cAj6tvLhKPIwmMd5gDrmp
"
"_id": "b
5KyFqiCRCOb1fa5F6J8mK
"
},
},
{
{
"__type__": "cc.LabelOutline",
"__type__": "cc.LabelOutline",
...
@@ -6339,7 +6339,7 @@
...
@@ -6339,7 +6339,7 @@
"a": 255
"a": 255
},
},
"_width": 3,
"_width": 3,
"_id": "
a4uS7h05BM65DPkxrl4dh6
"
"_id": "
dfBBldPdNMw60bUXUCW9Rl
"
},
},
{
{
"__type__": "cc.RichText",
"__type__": "cc.RichText",
...
@@ -6494,7 +6494,7 @@
...
@@ -6494,7 +6494,7 @@
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"showInEditor": false,
"_id": "
10ebGjWrNJH5CprmdCbXjy
"
"_id": "
54K0rifEtNtbCio3ayYeSs
"
},
},
{
{
"__type__": "cc.Label",
"__type__": "cc.Label",
...
@@ -6529,7 +6529,7 @@
...
@@ -6529,7 +6529,7 @@
"_N$fontFamily": "Arial",
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$overflow": 0,
"_N$cacheMode": 0,
"_N$cacheMode": 0,
"_id": "
7b+gEzAAtA7rx4QJS4lcpc
"
"_id": "
26X0h1CthDj5+SL16h+Xhh
"
},
},
{
{
"__type__": "cc.LabelOutline",
"__type__": "cc.LabelOutline",
...
@@ -6547,7 +6547,7 @@
...
@@ -6547,7 +6547,7 @@
"a": 255
"a": 255
},
},
"_width": 7,
"_width": 7,
"_id": "
26QQiiSWlLop4VPplm+PCb
"
"_id": "
f1RujKAcxFOKPAJ0toLgOY
"
},
},
{
{
"__type__": "cc.RichText",
"__type__": "cc.RichText",
...
@@ -9640,7 +9640,7 @@
...
@@ -9640,7 +9640,7 @@
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"showInEditor": false,
"_id": "
38+CH7p9ZKV6TgV0v0PEaC
"
"_id": "
04htzPuqNPz4NonParhbRa
"
},
},
{
{
"__type__": "cc.Label",
"__type__": "cc.Label",
...
@@ -9675,7 +9675,7 @@
...
@@ -9675,7 +9675,7 @@
"_N$fontFamily": "Arial",
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$overflow": 0,
"_N$cacheMode": 0,
"_N$cacheMode": 0,
"_id": "
9fudGZbuhL97FvMAXdqEuD
"
"_id": "
2cvNBzca5F7ZI7jrHhXkDw
"
},
},
{
{
"__type__": "cc.LabelOutline",
"__type__": "cc.LabelOutline",
...
@@ -9693,7 +9693,7 @@
...
@@ -9693,7 +9693,7 @@
"a": 255
"a": 255
},
},
"_width": 7,
"_width": 7,
"_id": "
029LI8JeBLK5YF1Z7S1kkk
"
"_id": "
feBh6b1S9Eoq/iDIa16znq
"
},
},
{
{
"__type__": "cc.RichText",
"__type__": "cc.RichText",
...
@@ -9848,7 +9848,7 @@
...
@@ -9848,7 +9848,7 @@
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"showInEditor": false,
"_id": "
afA9o15JBOQphqfExaLj8T
"
"_id": "
18E/FjLwlKxaaynMukd9ca
"
},
},
{
{
"__type__": "cc.Label",
"__type__": "cc.Label",
...
@@ -9883,7 +9883,7 @@
...
@@ -9883,7 +9883,7 @@
"_N$fontFamily": "Arial",
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$overflow": 0,
"_N$cacheMode": 0,
"_N$cacheMode": 0,
"_id": "
b8KPoIdB1JPq4LphIwlvVO
"
"_id": "
319wPtoi1BJKimutaU7jdC
"
},
},
{
{
"__type__": "cc.LabelOutline",
"__type__": "cc.LabelOutline",
...
@@ -9901,7 +9901,7 @@
...
@@ -9901,7 +9901,7 @@
"a": 255
"a": 255
},
},
"_width": 3,
"_width": 3,
"_id": "
00gEan12BEjqLJWnZcGsq7
"
"_id": "
86Uh79wnRKj52/4l2ngxnc
"
},
},
{
{
"__type__": "cc.RichText",
"__type__": "cc.RichText",
...
@@ -12994,7 +12994,7 @@
...
@@ -12994,7 +12994,7 @@
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"showInEditor": false,
"_id": "
c6uf5HalxAGIi1HidUHvad
"
"_id": "
0c/WTrzqJCWpp4KE9knh5I
"
},
},
{
{
"__type__": "cc.Label",
"__type__": "cc.Label",
...
@@ -13029,7 +13029,7 @@
...
@@ -13029,7 +13029,7 @@
"_N$fontFamily": "Arial",
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$overflow": 0,
"_N$cacheMode": 0,
"_N$cacheMode": 0,
"_id": "
feGSlnSF9AiaZauFDKDhMx
"
"_id": "
e40fb4UJFP6J5BtcjdcPE0
"
},
},
{
{
"__type__": "cc.LabelOutline",
"__type__": "cc.LabelOutline",
...
@@ -13047,7 +13047,7 @@
...
@@ -13047,7 +13047,7 @@
"a": 255
"a": 255
},
},
"_width": 7,
"_width": 7,
"_id": "
c7J91GmxFG3ZsUsMc7th5I
"
"_id": "
10VTMHrHJBf54fB1zV3sVj
"
},
},
{
{
"__type__": "cc.RichText",
"__type__": "cc.RichText",
...
@@ -13202,7 +13202,7 @@
...
@@ -13202,7 +13202,7 @@
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"showInEditor": false,
"_id": "
79Nk0vq+BJurmLEV9qiOo0
"
"_id": "
c2rblQd8dPm4VW21RLsjEY
"
},
},
{
{
"__type__": "cc.Label",
"__type__": "cc.Label",
...
@@ -13237,7 +13237,7 @@
...
@@ -13237,7 +13237,7 @@
"_N$fontFamily": "Arial",
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$overflow": 0,
"_N$cacheMode": 0,
"_N$cacheMode": 0,
"_id": "
a0AYaatNBOfIAuP7dS0kan
"
"_id": "
c9hAwiQUdLfKETJ0iY2l8I
"
},
},
{
{
"__type__": "cc.LabelOutline",
"__type__": "cc.LabelOutline",
...
@@ -13255,7 +13255,7 @@
...
@@ -13255,7 +13255,7 @@
"a": 255
"a": 255
},
},
"_width": 3,
"_width": 3,
"_id": "9
5BHI9Sd1G/6r/cY8Plc7m
"
"_id": "9
07Qi4/H1LtrmF6qns4kjC
"
},
},
{
{
"__type__": "cc.RichText",
"__type__": "cc.RichText",
...
@@ -16545,7 +16545,7 @@
...
@@ -16545,7 +16545,7 @@
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"showInEditor": false,
"_id": "
56IjC9aLJArLxZwE8k8EMe
"
"_id": "
ea3vxcQt5JWb/9fYaV6K30
"
},
},
{
{
"__type__": "cc.Label",
"__type__": "cc.Label",
...
@@ -16580,7 +16580,7 @@
...
@@ -16580,7 +16580,7 @@
"_N$fontFamily": "Arial",
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$overflow": 0,
"_N$cacheMode": 0,
"_N$cacheMode": 0,
"_id": "
b4/vF/1QxITKz4xhLTfoE
f"
"_id": "
d9YerIjSRAA6dI5tUSA/5
f"
},
},
{
{
"__type__": "cc.LabelOutline",
"__type__": "cc.LabelOutline",
...
@@ -16598,7 +16598,7 @@
...
@@ -16598,7 +16598,7 @@
"a": 255
"a": 255
},
},
"_width": 7,
"_width": 7,
"_id": "
7agg1blKBOA6yuHdrNc0cF
"
"_id": "
f92oBir6BBw44ObpFBg2Tv
"
},
},
{
{
"__type__": "cc.RichText",
"__type__": "cc.RichText",
...
@@ -16753,7 +16753,7 @@
...
@@ -16753,7 +16753,7 @@
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"showInEditor": false,
"_id": "
bfGz5q8CJLr7Bj7t1upG6J
"
"_id": "
281uEQYE1Pbba47L+iS+ws
"
},
},
{
{
"__type__": "cc.Label",
"__type__": "cc.Label",
...
@@ -16788,7 +16788,7 @@
...
@@ -16788,7 +16788,7 @@
"_N$fontFamily": "Arial",
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$overflow": 0,
"_N$cacheMode": 0,
"_N$cacheMode": 0,
"_id": "
d5yaDZv6REUZpxDVOAyi2M
"
"_id": "
fev3PPJetOoZ0Pw9VusemK
"
},
},
{
{
"__type__": "cc.LabelOutline",
"__type__": "cc.LabelOutline",
...
@@ -16806,7 +16806,7 @@
...
@@ -16806,7 +16806,7 @@
"a": 255
"a": 255
},
},
"_width": 3,
"_width": 3,
"_id": "
ec7/C96FlA6ryObfFgTe8o
"
"_id": "
97elPBCc9LMJ1IsecM8ZA3
"
},
},
{
{
"__type__": "cc.RichText",
"__type__": "cc.RichText",
...
...
assets/NJ_NongChang/scene/NJ_NongChang.ts
View file @
2f570506
...
@@ -89,7 +89,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -89,7 +89,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
const
touchboard
=
cc
.
find
(
'
Canvas/touchboard
'
);
const
touchboard
=
cc
.
find
(
'
Canvas/touchboard
'
);
const
contant
=
cc
.
find
(
'
Canvas/touchboard/contant
'
);
const
contant
=
cc
.
find
(
'
Canvas/touchboard/contant
'
);
const
scale
=
touchboard
.
height
/
contant
.
height
;
const
scale
=
touchboard
.
height
/
contant
.
height
;
contant
.
width
=
4
400
*
scale
;
contant
.
width
=
4
784
*
scale
;
contant
.
height
=
720
*
scale
;
contant
.
height
=
720
*
scale
;
contant
.
scale
=
scale
;
contant
.
scale
=
scale
;
contant
.
x
=
contant
.
width
/
2
-
touchboard
.
width
/
2
;
contant
.
x
=
contant
.
width
/
2
-
touchboard
.
width
/
2
;
...
...
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