Commit f746ab83 authored by Tt's avatar Tt

1

parent 8a46df44
...@@ -222,7 +222,8 @@ cc.Class({ ...@@ -222,7 +222,8 @@ cc.Class({
} else if (GameManager.getIns().getState() == 1) { } else if (GameManager.getIns().getState() == 1) {
let dragonDisplay = carton.getComponent(dragonBones.ArmatureDisplay); let dragonDisplay = carton.getComponent(dragonBones.ArmatureDisplay);
dragonDisplay.playAnimation(this.animationName, 1);//animation所有的动画名称 dragonDisplay.playAnimation(this.animationName, 1);//animation所有的动画名称
icon_ex_txt.active = false;
icon_ex.active = false;
setTimeout(() => { setTimeout(() => {
pg.view.visible(icon_ex, true); pg.view.visible(icon_ex, true);
let icon_ex_word = this._stageData.word; let icon_ex_word = this._stageData.word;
...@@ -297,6 +298,7 @@ cc.Class({ ...@@ -297,6 +298,7 @@ cc.Class({
wordAni(item, content) { wordAni(item, content) {
item.active = true;
let itemfirst = pg.view.find(item, "first"); let itemfirst = pg.view.find(item, "first");
//动态居中算法。 //动态居中算法。
//锚点在中间,左右延长,第一个字不去显示 //锚点在中间,左右延长,第一个字不去显示
......
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