mirror of
https://github.com/wassname/phaser.git
synced 2026-09-11 12:31:29 +08:00
Updating and fixing tests
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
fuji = game.add.sprite(game.stage.centerX, game.stage.centerY, 'fuji');
|
||||
// The sprite is 320 x 200 pixels in size
|
||||
// Here we set the origin to be the bottom-right of the sprite
|
||||
fuji.origin.setTo(320, 200);
|
||||
fuji.origin.setTo(1, 1);
|
||||
game.add.tween(fuji).to({
|
||||
rotation: 360
|
||||
}, 2000, Phaser.Easing.Linear.None, true, 0, true);
|
||||
|
||||
Reference in New Issue
Block a user