Commit 4190e0e9 authored by WangFan's avatar WangFan

合并修改

parent 5086ff45
...@@ -72,13 +72,12 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -72,13 +72,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 场景初始动画 // 场景初始动画
initTween() { initTween() {
this.setSentence() this.setSentence()
cc.tween(this.sentence_box).to(0.5, { y: -375 }).start() cc.tween(this.sentence_box).by(0.5, { y: -375 }).start()
this.setTimeCountdown() this.setTimeCountdown()
} }
setTimeCountdown(){ setTimeCountdown(){
pg.view.visible(this.time_area, true) pg.view.visible(this.time_area, true)
cc.tween(this.sentence_box).by(0.5, { y: -375 }).start()
setTimeout(() => { setTimeout(() => {
pg.view.visible(this.time_area, true); pg.view.visible(this.time_area, true);
}, 0.5 * 1000) }, 0.5 * 1000)
......
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