Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP32_PLUS
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
OP32_PLUS
Commits
d938bfae
Commit
d938bfae
authored
Oct 14, 2022
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复小猫动画问题
parent
081f1b63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
OP32_PLUS.js
assets/OP32_PLUS/scene/OP32_PLUS.js
+2
-4
No files found.
assets/OP32_PLUS/scene/OP32_PLUS.js
View file @
d938bfae
...
@@ -303,10 +303,8 @@ cc.Class({
...
@@ -303,10 +303,8 @@ cc.Class({
this
.
optionJump
(
optionNode
);
this
.
optionJump
(
optionNode
);
const
cat
=
cc
.
find
(
"
Canvas/bg/catFrame/CoolCat
"
);
const
cat
=
cc
.
find
(
"
Canvas/bg/catFrame/CoolCat
"
);
playDragonBoneAnimation
(
cat
,
"
begin
"
,
-
1
);
playDragonBoneAnimation
(
cat
,
"
normal
"
,
-
1
);
this
.
playAudioByUrl
(
optionNode
.
optionData
.
audio_url
,
()
=>
{
this
.
playAudioByUrl
(
optionNode
.
optionData
.
audio_url
);
playDragonBoneAnimation
(
cat
,
"
normal
"
,
-
1
);
});
});
});
console
.
log
(
'
optionNode.on(cc.Node.EventType.TOUCH_MOVE, (event) => {
'
)
console
.
log
(
'
optionNode.on(cc.Node.EventType.TOUCH_MOVE, (event) => {
'
)
optionNode
.
on
(
cc
.
Node
.
EventType
.
TOUCH_MOVE
,
(
event
)
=>
{
optionNode
.
on
(
cc
.
Node
.
EventType
.
TOUCH_MOVE
,
(
event
)
=>
{
...
...
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