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

1.修复bug

parent 43990b1d
...@@ -7005,7 +7005,7 @@ ...@@ -7005,7 +7005,7 @@
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 0,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -8318,7 +8318,11 @@ ...@@ -8318,7 +8318,11 @@
"__id__": 165 "__id__": 165
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": null, "_spriteFrame": null,
...@@ -8406,7 +8410,11 @@ ...@@ -8406,7 +8410,11 @@
"__id__": 167 "__id__": 167
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": null, "_spriteFrame": null,
...@@ -8586,7 +8594,11 @@ ...@@ -8586,7 +8594,11 @@
"__id__": 171 "__id__": 171
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": null, "_spriteFrame": null,
...@@ -8674,7 +8686,11 @@ ...@@ -8674,7 +8686,11 @@
"__id__": 173 "__id__": 173
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": null, "_spriteFrame": null,
...@@ -8762,7 +8778,11 @@ ...@@ -8762,7 +8778,11 @@
"__id__": 175 "__id__": 175
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": null, "_spriteFrame": null,
......
...@@ -614,19 +614,18 @@ cc.Class({ ...@@ -614,19 +614,18 @@ cc.Class({
playDragonBoneAnimation(this.coolcat, 'normal', -1); playDragonBoneAnimation(this.coolcat, 'normal', -1);
this._can_tap = true; this._can_tap = true;
this._ids[tooth.t_idx]=-1;
sprite.painted = true;
sprite.color = this._color;
// sprite.word.node.color = cc.Color.WHITE;
this.tryFinish();
}) })
// this.playAudioByName('correct', () => { // this.playAudioByName('correct', () => {
// playDragonBoneAnimation(this.coolcat, 'normal', -1); // playDragonBoneAnimation(this.coolcat, 'normal', -1);
// this._can_tap = true; // this._can_tap = true;
// }); // });
this.playAudioByName('painted'); this.playAudioByName('painted');
this._ids[tooth.t_idx]=-1;
sprite.painted = true;
sprite.color = this._color;
// sprite.word.node.color = cc.Color.WHITE;
this.tryFinish();
// // console.log('area:' + sprite.t_idx); // // console.log('area:' + sprite.t_idx);
// let find_id = this._ids.indexOf(sprite.t_idx + ''); // let find_id = this._ids.indexOf(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