Commit 45eea3f1 authored by asdf's avatar asdf

调整单词缩放比例,骨骼动画和word音效一起播放

parent 3106af2b
......@@ -82,8 +82,8 @@ cc.Class({
cc.audioEngine.play(clip, false, 1);
});
})
.to(0.2, { scale: 1.1 })
.to(0.2, { scale: 1 })
.to(0.2, { scale: window.minWordScale * 1.1 })
.to(0.2, { scale: window.minWordScale })
.call(() => {
for (let i = 0; i < this.layerLetters.children.length; i++) {
let node = this.layerLetters.children[i];
......
......@@ -82,8 +82,8 @@ cc.Class({
cc.audioEngine.play(clip, false, 1);
});
})
.to(0.2, { scale: 1.1 })
.to(0.2, { scale: 1 })
.to(0.2, { scale: window.minWordScale * 1.1 })
.to(0.2, { scale: window.minWordScale })
.call(() => {
for (let i = 0; i < this.layerLetters.children.length; i++) {
let node = this.layerLetters.children[i];
......
......@@ -82,8 +82,8 @@ cc.Class({
cc.audioEngine.play(clip, false, 1);
});
})
.to(0.2, { scale: 1.1 })
.to(0.2, { scale: 1 })
.to(0.2, { scale: window.minWordScale * 1.1 })
.to(0.2, { scale: window.minWordScale })
.call(() => {
for (let i = 0; i < this.layerLetters.children.length; i++) {
let node = this.layerLetters.children[i];
......
......@@ -82,8 +82,8 @@ cc.Class({
cc.audioEngine.play(clip, false, 1);
});
})
.to(0.2, { scale: 1.1 })
.to(0.2, { scale: 1 })
.to(0.2, { scale: window.minWordScale * 1.1 })
.to(0.2, { scale: window.minWordScale })
.call(() => {
for (let i = 0; i < this.layerLetters.children.length; i++) {
let node = this.layerLetters.children[i];
......
......@@ -150,8 +150,8 @@ cc.Class({
this.getComponent(cc.Animation).play('result1');
this.scheduleOnce(() => {
this.playAudWord(() => {
this.playDragonBone();
this.playAudWord(() => {
this.playAudRight();
this.scheduleOnce(() => {
this.onPlayResultDone();
......@@ -164,8 +164,8 @@ cc.Class({
this.getComponent(cc.Animation).play('result1');
this.scheduleOnce(() => {
this.playAudWord(() => {
this.playDragonBone();
this.playAudWord(() => {
this.playAudWrong();
this.getComponent(cc.Animation).play('result2');
......
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