|
|
|
@ -27,6 +27,10 @@ Q.Sprite.extend("Player",{
|
|
|
|
|
rocket.add("tween");
|
|
|
|
|
rocket.animate({ x: 100, y: -500, angle: 360 });
|
|
|
|
|
|
|
|
|
|
// FIXME following the rocket does not work
|
|
|
|
|
Q.stage().unfollow();
|
|
|
|
|
Q.stage().viewport.follow(rocket);
|
|
|
|
|
|
|
|
|
|
// the player disappears
|
|
|
|
|
this.destroy();
|
|
|
|
|
|
|
|
|
|