Commit c9510c03 authored by 张世斌's avatar 张世斌

1.修复bug\

parent 094842f9
{"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
This diff is collapsed.
......@@ -206,7 +206,18 @@ cc.Class({
// 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.paint2.active = false;
this.color_paint.active = false;
......@@ -1553,7 +1564,7 @@ cc.Class({
// if (sprite.painted == true)
// return;
this._can_tap = false;
if (this.color_selector.active == false)
return;
console.log('area:' + sprite.t_idx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment