Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const bomb = this.add.sprite(200, 200, "bomb")
- bomb.setScale(2)
- this.add.tween({
- targets: [bomb],
- durration: 1000,
- delay: 0,
- yoyo: true,
- repeat: Infinity,
- ease: 'Sine.easeInOut',
- x: {
- getStart: () => 100,
- getEnd: () => 200
- }
- });
Add Comment
Please, Sign In to add comment