Commit 5ae5c1eb authored by Tt's avatar Tt

猫动嘴

parent cd23ce87
...@@ -308,7 +308,9 @@ cc.Class({ ...@@ -308,7 +308,9 @@ cc.Class({
this.initLayout()//完成后直接进入下一步 this.initLayout()//完成后直接进入下一步
}) })
} else { } else {
this.setMaoAni("begin")
pg.audio.playAudioByUrl(this._cat.start).then(() => { pg.audio.playAudioByUrl(this._cat.start).then(() => {
this.setMaoAni("normal");
this._catStartPlayed = true; this._catStartPlayed = true;
pg.view.loadDB(carton, { ske: this._stageData.cartoonSke, tex: this._stageData.cartoonTex, png: this._stageData.cartoonPng }).then((animationName) => { pg.view.loadDB(carton, { ske: this._stageData.cartoonSke, tex: this._stageData.cartoonTex, png: this._stageData.cartoonPng }).then((animationName) => {
this.animationName = animationName; this.animationName = animationName;
...@@ -555,7 +557,7 @@ cc.Class({ ...@@ -555,7 +557,7 @@ cc.Class({
icon_ex.active = false; icon_ex.active = false;
pg.view.visible(pg.view.find(this, "card_group/slider"), false); pg.view.visible(pg.view.find(this, "card_group/slider"), false);
this.showCardLayout(); this.showCardLayout();
this.setMaoAni("begin"); // this.setMaoAni("begin");
if (jumpWait) { if (jumpWait) {
pg.view.visible(pg.view.find(this, "card_group/slider"), true); pg.view.visible(pg.view.find(this, "card_group/slider"), true);
// pg.view.visible(icon_ex, true); // pg.view.visible(icon_ex, true);
......
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