Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
east-10
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
east-10
Commits
6e8cea61
Commit
6e8cea61
authored
Jun 30, 2021
by
linzhiguo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 连续拖动正确选项
parent
4ad4086f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
east-10.js
play/assets/east-10/scene/east-10.js
+5
-2
No files found.
play/assets/east-10/scene/east-10.js
View file @
6e8cea61
...
...
@@ -197,7 +197,7 @@ cc.Class({
},
initView
()
{
this
.
_play_ani
=
false
;
let
stars
=
this
.
data
.
stars
;
for
(
let
i
=
0
;
i
<
stars
.
length
;
i
++
){
this
.
addStar
();
...
...
@@ -246,7 +246,8 @@ cc.Class({
//console.log(event);
if
(
this
.
_touched
==
true
)
return
;
if
(
this
.
_play_ani
!=
false
)
return
;
let
area
=
this
.
_move_area
;
for
(
let
i
=
0
;
i
<
area
.
childrenCount
;
i
++
){
...
...
@@ -325,7 +326,9 @@ cc.Class({
let
ot
=
node
.
getComponent
(
cc
.
js
.
getClassByName
(
'
WordOption
'
));
ot
.
copyValues
(
selected
);
ot
.
selected
(
true
);
this
.
_play_ani
=
true
;
kind
.
showCorrect
(
node
,
()
=>
{
this
.
_play_ani
=
false
;
if
(
this
.
tryFinish
())
this
.
pageFinish
();
});
...
...
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