Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
FT_06
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
FT_06
Commits
6b2cf5ca
Commit
6b2cf5ca
authored
Dec 14, 2020
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: bugs
parent
4f5fcb49
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
FT_06.js
play/assets/tmpGame/scene/FT_06.js
+4
-2
No files found.
play/assets/tmpGame/scene/FT_06.js
View file @
6b2cf5ca
...
@@ -305,12 +305,13 @@ cc.Class({
...
@@ -305,12 +305,13 @@ cc.Class({
.
to
(
0.5
,
{
opacity
:
0
})
.
to
(
0.5
,
{
opacity
:
0
})
.
start
();
.
start
();
optionList
.
forEach
((
data
,
idx
)
=>
{
optionList
.
forEach
(
async
(
data
,
idx
)
=>
{
const
option
=
cc
.
find
(
`Canvas/OptionPosListBase/optionNode_
${
idx
}
`
);
const
option
=
cc
.
find
(
`Canvas/OptionPosListBase/optionNode_
${
idx
}
`
);
option
.
canClick
=
false
;
option
.
canClick
=
false
;
if
(
option
!=
optionNode
)
{
if
(
option
!=
optionNode
)
{
const
animeNode
=
cc
.
find
(
'
OptionDragonBoneBaseNode/animeNode
'
,
option
);
// const animeNode = cc.find('OptionDragonBoneBaseNode/animeNode', option);
const
animeNode
=
await
asyncLoadDragonBoneAnime
(
cc
.
find
(
'
OptionDragonBoneBaseNode
'
,
option
),
data
.
optionDragonBone
);
if
(
animeNode
)
{
if
(
animeNode
)
{
animeNode
.
color
=
cc
.
color
(
255
,
255
,
255
,
255
);
animeNode
.
color
=
cc
.
color
(
255
,
255
,
255
,
255
);
asyncPlayDragonBoneAnimation
(
animeNode
,
'
normal
'
,
-
1
);
asyncPlayDragonBoneAnimation
(
animeNode
,
'
normal
'
,
-
1
);
...
@@ -321,6 +322,7 @@ cc.Class({
...
@@ -321,6 +322,7 @@ cc.Class({
resetQuestionBoard
()
{
resetQuestionBoard
()
{
const
labelBgNode
=
cc
.
find
(
'
Canvas/QuestionLabelBg
'
);
const
labelBgNode
=
cc
.
find
(
'
Canvas/QuestionLabelBg
'
);
labelBgNode
.
stopAllActions
();
labelBgNode
.
y
=
463
;
labelBgNode
.
y
=
463
;
},
},
...
...
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