Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
op_01
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
op_01
Commits
74b27ba6
Commit
74b27ba6
authored
Dec 23, 2021
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 多音频调整
parent
dc7441e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
.DS_Store
.DS_Store
+0
-0
op_01.meta
assets/op_01.meta
+3
-3
op_01.js
assets/op_01/scene/op_01.js
+4
-0
No files found.
.DS_Store
View file @
74b27ba6
No preview for this file type
assets/op_01.meta
View file @
74b27ba6
{
{
"ver": "1.1.2",
"ver": "1.1.2",
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541",
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541",
"isBundle":
tru
e,
"isBundle":
fals
e,
"bundleName": "",
"bundleName": "",
"priority": 1,
"priority": 1,
"compressionType": {},
"compressionType": {},
"optimizeHotUpdate": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"isRemoteBundle": {
"ios":
tru
e,
"ios":
fals
e,
"android":
tru
e
"android":
fals
e
},
},
"subMetas": {}
"subMetas": {}
}
}
\ No newline at end of file
assets/op_01/scene/op_01.js
View file @
74b27ba6
...
@@ -273,7 +273,11 @@ cc.Class({
...
@@ -273,7 +273,11 @@ cc.Class({
async
coolCatSpeakEnd
()
{
async
coolCatSpeakEnd
()
{
const
cat
=
cc
.
find
(
'
Canvas/catFrame/cat
'
);
const
cat
=
cc
.
find
(
'
Canvas/catFrame/cat
'
);
playDragonBoneAnimation
(
cat
,
'
finish
'
,
-
1
);
playDragonBoneAnimation
(
cat
,
'
finish
'
,
-
1
);
this
.
isCanPlayItemAudio
=
false
;
await
this
.
asyncPlayAudioByUrl
(
this
.
data
.
endAudio
);
await
this
.
asyncPlayAudioByUrl
(
this
.
data
.
endAudio
);
this
.
isCanPlayItemAudio
=
true
;
playDragonBoneAnimation
(
cat
,
'
normal
'
,
-
1
);
playDragonBoneAnimation
(
cat
,
'
normal
'
,
-
1
);
},
},
...
...
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