Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dg09_jq
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
dg09_jq
Commits
382b23b4
Commit
382b23b4
authored
Oct 13, 2022
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
音频更换
parent
22cf2ee9
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
873 additions
and
690 deletions
+873
-690
mtoy.mp3
assets/dg09_jq/audios/mtoy.mp3
+0
-0
mtoy.mp3.meta
assets/dg09_jq/audios/mtoy.mp3.meta
+7
-0
right.mp3
assets/dg09_jq/audios/right.mp3
+0
-0
right.mp3.meta
assets/dg09_jq/audios/right.mp3.meta
+1
-1
ytom.mp3
assets/dg09_jq/audios/ytom.mp3
+0
-0
ytom.mp3.meta
assets/dg09_jq/audios/ytom.mp3.meta
+7
-0
dg09_jq.fire
assets/dg09_jq/scene/dg09_jq.fire
+856
-688
dg09_jq.ts
assets/dg09_jq/scene/dg09_jq.ts
+2
-1
No files found.
assets/dg09_jq/audios/mtoy.mp3
0 → 100644
View file @
382b23b4
File added
assets/dg09_jq/audios/mtoy.mp3.meta
0 → 100644
View file @
382b23b4
{
"ver": "2.0.1",
"uuid": "b6aca333-5981-4987-929a-0407f8272d5e",
"downloadMode": 0,
"duration": 0.313469,
"subMetas": {}
}
\ No newline at end of file
assets/dg09_jq/audios/right.mp3
View file @
382b23b4
No preview for this file type
assets/dg09_jq/audios/right.mp3.meta
View file @
382b23b4
...
@@ -2,6 +2,6 @@
...
@@ -2,6 +2,6 @@
"ver": "2.0.1",
"ver": "2.0.1",
"uuid": "5c34a8d8-5e4e-4ae6-b4d1-b32446d54f67",
"uuid": "5c34a8d8-5e4e-4ae6-b4d1-b32446d54f67",
"downloadMode": 0,
"downloadMode": 0,
"duration":
1.48898
,
"duration":
5.172245
,
"subMetas": {}
"subMetas": {}
}
}
\ No newline at end of file
assets/dg09_jq/audios/ytom.mp3
0 → 100644
View file @
382b23b4
File added
assets/dg09_jq/audios/ytom.mp3.meta
0 → 100644
View file @
382b23b4
{
"ver": "2.0.1",
"uuid": "8aabda59-186a-4f73-b55f-668d4c88fa92",
"downloadMode": 0,
"duration": 1.48898,
"subMetas": {}
}
\ No newline at end of file
assets/dg09_jq/scene/dg09_jq.fire
View file @
382b23b4
This diff is collapsed.
Click to expand it.
assets/dg09_jq/scene/dg09_jq.ts
View file @
382b23b4
...
@@ -337,7 +337,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -337,7 +337,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
word
.
getComponent
(
cc
.
Label
).
string
=
data
.
text
;
word
.
getComponent
(
cc
.
Label
).
string
=
data
.
text
;
word
.
data
.
CParent
=
data
.
parent
;
word
.
data
.
CParent
=
data
.
parent
;
this
.
playLocalAudio
(
"
move
"
)
this
.
playLocalAudio
(
"
ytom
"
);
if
(
this
.
checkRoundOver
())
{
if
(
this
.
checkRoundOver
())
{
if
(
this
.
checkMoveRight
())
{
if
(
this
.
checkMoveRight
())
{
this
.
playLocalAudio
(
"
right
"
);
this
.
playLocalAudio
(
"
right
"
);
...
@@ -396,6 +396,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -396,6 +396,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
target
.
parent
=
data
.
parent
;
target
.
parent
=
data
.
parent
;
target
.
setPosition
(
data
.
startPos
);
target
.
setPosition
(
data
.
startPos
);
if
(
!
itemBg
)
return
;
if
(
!
itemBg
)
return
;
this
.
playLocalAudio
(
"
mtoy
"
);
target
.
active
=
false
;
target
.
active
=
false
;
let
cloud
=
data
.
CParent
;
let
cloud
=
data
.
CParent
;
if
(
cloud
)
{
if
(
cloud
)
{
...
...
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