Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
Coloring_OL
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
Coloring_OL
Commits
c9510c03
Commit
c9510c03
authored
Apr 06, 2022
by
张世斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复bug\
parent
094842f9
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
416 additions
and
320 deletions
+416
-320
Coloring_OL.meta
assets/Coloring_OL.meta
+15
-1
Coloring_OL.fire
assets/Coloring_OL/scene/Coloring_OL.fire
+389
-318
Coloring_OL.js
assets/Coloring_OL/scene/Coloring_OL.js
+12
-1
No files found.
assets/Coloring_OL.meta
View file @
c9510c03
{"ver":"1.1.2","uuid":"c35bb2f6-f24a-4850-ae44-643f2fdc7541","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
{
\ No newline at end of file
"ver": "1.1.2",
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
assets/Coloring_OL/scene/Coloring_OL.fire
View file @
c9510c03
This diff is collapsed.
Click to expand it.
assets/Coloring_OL/scene/Coloring_OL.js
View file @
c9510c03
...
@@ -206,7 +206,18 @@ cc.Class({
...
@@ -206,7 +206,18 @@ cc.Class({
// this.playAudioByName('click');
// this.playAudioByName('click');
// });
// });
// }
// }
this
.
paint
.
on
(
"
click
"
,()
=>
{
if
(
this
.
_can_tap
!=
true
)
return
;
this
.
_can_tap
=
false
;
cc
.
log
(
"
paint 点击
"
);
playDragonBoneAnimation
(
this
.
coolcat
,
'
wrong
'
,
-
1
);
this
.
playAudioByUrl
(
this
.
data
.
wrongAudio
,()
=>
{
playDragonBoneAnimation
(
this
.
coolcat
,
'
normal
'
,
-
1
);
this
.
_can_tap
=
true
;
})
})
this
.
paint
.
active
=
false
;
this
.
paint
.
active
=
false
;
this
.
paint2
.
active
=
false
;
this
.
paint2
.
active
=
false
;
this
.
color_paint
.
active
=
false
;
this
.
color_paint
.
active
=
false
;
...
@@ -1553,7 +1564,7 @@ cc.Class({
...
@@ -1553,7 +1564,7 @@ cc.Class({
// if (sprite.painted == true)
// if (sprite.painted == true)
// return;
// return;
this
.
_can_tap
=
false
;
if
(
this
.
color_selector
.
active
==
false
)
if
(
this
.
color_selector
.
active
==
false
)
return
;
return
;
console
.
log
(
'
area:
'
+
sprite
.
t_idx
);
console
.
log
(
'
area:
'
+
sprite
.
t_idx
);
...
...
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