Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hy14_pipei
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
hy14_pipei
Commits
a712afb2
Commit
a712afb2
authored
Oct 17, 2023
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1504bddd
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
346 additions
and
290 deletions
+346
-290
Game_hy14_pipei.ts
assets/hy14_pipei/scene/Game_hy14_pipei.ts
+2
-2
hy14_pipei.fire
assets/hy14_pipei/scene/hy14_pipei.fire
+315
-285
hy14_pipei.ts
assets/hy14_pipei/scene/hy14_pipei.ts
+4
-3
defaultData_hy14_pipei.ts
assets/hy14_pipei/script/defaultData_hy14_pipei.ts
+25
-0
No files found.
assets/hy14_pipei/scene/Game_hy14_pipei.ts
View file @
a712afb2
import
ImgVoice
from
"
../common/script/ImgVoice_hy14_pipei
"
;
export
let
imageZize
=
{
width
:
1
1
00
,
height
:
572
width
:
1
3
00
,
height
:
700
}
...
...
assets/hy14_pipei/scene/hy14_pipei.fire
View file @
a712afb2
This diff is collapsed.
Click to expand it.
assets/hy14_pipei/scene/hy14_pipei.ts
View file @
a712afb2
...
...
@@ -223,9 +223,10 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
cc
.
find
(
"
ScrollView
"
,
this
.
node
).
getComponent
(
cc
.
ScrollView
).
enabled
=
false
;
this
.
layout_op
.
getComponent
(
cc
.
Layout
).
enabled
=
true
;
let
x
=
0
;
if
(
op
.
length
>
12
)
x
=
7680
;
else
if
(
op
.
length
>
8
)
x
=
5760
;
else
if
(
op
.
length
>
oplen
)
x
=
3840
;
// if (op.length > 12) x = 7680;
if
(
op
.
length
>
12
)
x
=
5760
;
else
if
(
op
.
length
>
8
)
x
=
3840
;
else
if
(
op
.
length
>
oplen
)
x
=
1920
;
let
bottom
=
cc
.
find
(
"
bottom
"
,
this
.
node
);
cc
.
tween
(
bottom
).
repeatForever
(
cc
.
tween
().
by
(
20
,
{
x
:
-
x
})
.
call
(()
=>
{
bottom
.
x
=
-
960
*
scale
;
}))
...
...
assets/hy14_pipei/script/defaultData_hy14_pipei.ts
View file @
a712afb2
...
...
@@ -112,6 +112,31 @@ export const defaultData = {
"
x
"
:
721.31
,
"
y
"
:
385.8
}
},
{
"
id
"
:
"
1689503722705
"
,
"
index
"
:
3
,
"
text
"
:
"
very big
"
,
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/bbeeed870b72301f4519e1750b7f34e7_l.mp3
"
,
"
itemType
"
:
"
text
"
,
"
fontScale
"
:
0.70625
,
"
imgScale
"
:
1
,
"
imgSizeW
"
:
0
,
"
imgSizeH
"
:
0
,
"
mapScale
"
:
0.70625
,
"
dragDot
"
:
{
"
x
"
:
452
,
"
y
"
:
255.56541019955657
},
"
gIdx
"
:
"
0
"
,
"
fontSize
"
:
50
,
"
fontName
"
:
"
ahronbd-1
"
,
"
ontColor
"
:
"
#8f3758
"
,
"
rect
"
:
{
"
width
"
:
137.03
,
"
height
"
:
35.31
,
"
x
"
:
721.31
,
"
y
"
:
385.8
}
}
],
"
npcTitle
"
:
"
HY14
"
,
...
...
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