Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
op_09
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_09
Commits
f05acbab
Commit
f05acbab
authored
Jan 04, 2022
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
parent
406da69e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
.DS_Store
.DS_Store
+0
-0
op_09.fire
assets/op_09/scene/op_09.fire
+2
-2
op_09.js
assets/op_09/scene/op_09.js
+4
-0
No files found.
.DS_Store
View file @
f05acbab
No preview for this file type
assets/op_09/scene/op_09.fire
View file @
f05acbab
...
@@ -867,7 +867,7 @@
...
@@ -867,7 +867,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
400,
400,
-
800
,
-
1032
,
0,
0,
0,
0,
0,
0,
...
@@ -937,7 +937,7 @@
...
@@ -937,7 +937,7 @@
"_left": 0,
"_left": 0,
"_right": 566,
"_right": 566,
"_top": 0,
"_top": 0,
"_bottom":
0
,
"_bottom":
-232
,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsLeft": true,
...
...
assets/op_09/scene/op_09.js
View file @
f05acbab
...
@@ -167,6 +167,7 @@ cc.Class({
...
@@ -167,6 +167,7 @@ cc.Class({
initView
()
{
initView
()
{
this
.
refreshCoolCatPosition
();
this
.
refreshCoolCatPosition
();
this
.
coolCatSpeakStart
(()
=>
{
this
.
coolCatSpeakStart
(()
=>
{
this
.
showSubmitBtn
();
this
.
jumpToQuestion
(
this
.
status
.
currentQuestionIdx
);
this
.
jumpToQuestion
(
this
.
status
.
currentQuestionIdx
);
});
});
},
},
...
@@ -317,11 +318,14 @@ cc.Class({
...
@@ -317,11 +318,14 @@ cc.Class({
playDragonBoneAnimation
(
cat
,
'
finish
'
,
-
1
);
playDragonBoneAnimation
(
cat
,
'
finish
'
,
-
1
);
this
.
playAudioByUrl
(
this
.
data
.
endAudio
,
()
=>
{
this
.
playAudioByUrl
(
this
.
data
.
endAudio
,
()
=>
{
playDragonBoneAnimation
(
cat
,
'
normal
'
,
-
1
);
playDragonBoneAnimation
(
cat
,
'
normal
'
,
-
1
);
this
.
showNextBtn
();
});
});
}
else
{
}
else
{
playDragonBoneAnimation
(
cat
,
'
begin
'
,
-
1
);
playDragonBoneAnimation
(
cat
,
'
begin
'
,
-
1
);
this
.
playAudioByUrl
(
this
.
data
.
startAudio
,
()
=>
{
this
.
playAudioByUrl
(
this
.
data
.
startAudio
,
()
=>
{
playDragonBoneAnimation
(
cat
,
'
normal
'
,
-
1
);
playDragonBoneAnimation
(
cat
,
'
normal
'
,
-
1
);
this
.
showSubmitBtn
();
this
.
jumpToQuestion
(
this
.
status
.
currentQuestionIdx
);
});
});
}
}
});
});
...
...
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