|
|
@ -77,10 +77,10 @@ export default class GameApp extends NiceGame { |
|
|
|
this.startLevel(); |
|
|
|
|
|
|
|
const tween = this |
|
|
|
.createTween(this.torba.position, { x: 480 }, { x: 0 }, NiceEasing.Bounce.Out) |
|
|
|
.createTween(this.torba.position, { x: -50, y: 32 }, { x: 920, y: 32 }, NiceEasing.Bounce.Out) |
|
|
|
.delay(1000.0) |
|
|
|
.duration(2000.0); |
|
|
|
tween.run(performance.now()); |
|
|
|
tween.run(); |
|
|
|
} |
|
|
|
|
|
|
|
async startMusicStream (url) { |
|
|
|