Fixed the world drag issue across Sprite and Button.

This commit is contained in:
Richard Davey
2013-08-06 04:34:52 +01:00
parent a7873a3b74
commit 77cc3858d9
12 changed files with 83 additions and 133 deletions
-1
View File
@@ -12,7 +12,6 @@ Phaser.Sprite
button:
Phaser.UI.Button
function create() {
game.stage.clear = false;
// This is just an image that we'll toggle the display of when you click the button
this.image = game.add.sprite(game.stage.centerX, 0, 'beast');
this.image.transform.origin.setTo(0.5, 0);