|
|
@@ -52,9 +52,9 @@ export default class Game extends cc.Component {
|
|
|
}
|
|
|
|
|
|
private initQiPaos() {
|
|
|
- cc.tween(this.btn_getRed1).to(2, { y: 100 }).to(2, { y: 0 }).repeatForever().start();
|
|
|
- cc.tween(this.btn_getRed2).delay(0.3).to(2, { y: 100 }).to(2, { y: 0 }).repeatForever().start();
|
|
|
- cc.tween(this.btn_getRed3).delay(0.6).to(2, { y: -50 }).to(2, { y: -150 }).repeatForever().start();
|
|
|
+ cc.tween(this.btn_getRed1).to(2, { y: 100 }).to(2, { y: 0 }).union().repeatForever().start();
|
|
|
+ cc.tween(this.btn_getRed2).delay(0.3).to(2, { y: 100 }).to(2, { y: 0 }).union().repeatForever().start();
|
|
|
+ cc.tween(this.btn_getRed3).delay(0.6).to(2, { y: -50 }).to(2, { y: -150 }).union().repeatForever().start();
|
|
|
}
|
|
|
|
|
|
//测试道具获取效果
|