Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hw_lettersort
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
hw_lettersort
Commits
7e1760fa
Commit
7e1760fa
authored
May 24, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
f04e611f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
5 deletions
+16
-5
click.mp3
assets/hw_lettersort/audio/click.mp3
+0
-0
click.mp3.meta
assets/hw_lettersort/audio/click.mp3.meta
+2
-2
click_old.mp3
assets/hw_lettersort/audio/click_old.mp3
+0
-0
click_old.mp3.meta
assets/hw_lettersort/audio/click_old.mp3.meta
+7
-0
hw_lettersort.fire
assets/hw_lettersort/scene/hw_lettersort.fire
+3
-3
hw_lettersort.js
assets/hw_lettersort/scene/hw_lettersort.js
+4
-0
No files found.
assets/hw_lettersort/audio/click.mp3
View file @
7e1760fa
No preview for this file type
assets/hw_lettersort/audio/click.mp3.meta
View file @
7e1760fa
{
{
"ver": "2.0.1",
"ver": "2.0.1",
"uuid": "
6835c08a-28be-484c-85e4-dcf5373d15f6
",
"uuid": "
b98931c6-5145-4825-8fcc-854b2552ac01
",
"downloadMode": 0,
"downloadMode": 0,
"duration": 0.
504
,
"duration": 0.
432
,
"subMetas": {}
"subMetas": {}
}
}
\ No newline at end of file
assets/hw_lettersort/audio/click_old.mp3
0 → 100644
View file @
7e1760fa
File added
assets/hw_lettersort/audio/click_old.mp3.meta
0 → 100644
View file @
7e1760fa
{
"ver": "2.0.1",
"uuid": "6835c08a-28be-484c-85e4-dcf5373d15f6",
"downloadMode": 0,
"duration": 0.504,
"subMetas": {}
}
\ No newline at end of file
assets/hw_lettersort/scene/hw_lettersort.fire
View file @
7e1760fa
...
@@ -1304,7 +1304,7 @@
...
@@ -1304,7 +1304,7 @@
"_is3DNode": false,
"_is3DNode": false,
"_groupIndex": 0,
"_groupIndex": 0,
"groupIndex": 0,
"groupIndex": 0,
"_id": "
26eKv9UwlIiLAA2spJYceJ
"
"_id": "
1138hgH2BDmJnXtTU1bR9O
"
},
},
{
{
"__type__": "cc.AudioSource",
"__type__": "cc.AudioSource",
...
@@ -1315,7 +1315,7 @@
...
@@ -1315,7 +1315,7 @@
},
},
"_enabled": true,
"_enabled": true,
"_clip": {
"_clip": {
"__uuid__": "
6835c08a-28be-484c-85e4-dcf5373d15f6
"
"__uuid__": "
b98931c6-5145-4825-8fcc-854b2552ac01
"
},
},
"_volume": 1,
"_volume": 1,
"_mute": false,
"_mute": false,
...
@@ -1323,7 +1323,7 @@
...
@@ -1323,7 +1323,7 @@
"_firstlyEnabled": true,
"_firstlyEnabled": true,
"playOnLoad": false,
"playOnLoad": false,
"preload": false,
"preload": false,
"_id": "
cfoXZiE81B275+s3p1s2al
"
"_id": "
5bdfunmVFDDKk6wONBWyHc
"
},
},
{
{
"__type__": "cc.Node",
"__type__": "cc.Node",
...
...
assets/hw_lettersort/scene/hw_lettersort.js
View file @
7e1760fa
...
@@ -1569,6 +1569,7 @@ cc.Class({
...
@@ -1569,6 +1569,7 @@ cc.Class({
if
(
isFont
)
{
if
(
isFont
)
{
label
.
font
=
cc
.
find
(
'
Canvas/res/font/MMTB
'
).
getComponent
(
cc
.
Label
).
font
;
label
.
font
=
cc
.
find
(
'
Canvas/res/font/MMTB
'
).
getComponent
(
cc
.
Label
).
font
;
label
.
MMTB
=
label
.
font
;
}
}
return
labelNode
;
return
labelNode
;
...
@@ -1580,6 +1581,9 @@ cc.Class({
...
@@ -1580,6 +1581,9 @@ cc.Class({
const
label
=
labelNode
.
getComponent
(
cc
.
RichText
);
const
label
=
labelNode
.
getComponent
(
cc
.
RichText
);
const
{
baseFontSize
,
baseColor
,
baseOutlineColor
,
baseOutlineWidth
}
=
labelNode
;
const
{
baseFontSize
,
baseColor
,
baseOutlineColor
,
baseOutlineWidth
}
=
labelNode
;
label
.
string
=
`<outline color=
${
baseOutlineColor
}
width=
${
baseOutlineWidth
}
> <color=
${
baseColor
}
><size=
${
baseFontSize
}
>
${
text
}
</></color></outline>`
label
.
string
=
`<outline color=
${
baseOutlineColor
}
width=
${
baseOutlineWidth
}
> <color=
${
baseColor
}
><size=
${
baseFontSize
}
>
${
text
}
</></color></outline>`
if
(
label
.
MMTB
)
{
label
.
font
=
label
.
MMTB
;
}
},
},
...
...
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