Fixed some issues in dragging sprites with snap-to-center and world coordinates.

This commit is contained in:
Richard Davey
2013-08-07 00:00:12 +01:00
parent 77cc3858d9
commit d7205992a5
60 changed files with 1080 additions and 730 deletions
+4 -4
View File
@@ -2,9 +2,9 @@
(function () {
var game = new Phaser.Game(this, 'game', 800, 600, null, null, null, render);
function render() {
game.input.pointer1.renderDebug();
game.input.pointer2.renderDebug();
game.input.pointer3.renderDebug();
game.input.pointer4.renderDebug();
Phaser.DebugUtils.renderPointer(game.input.pointer1);
Phaser.DebugUtils.renderPointer(game.input.pointer2);
Phaser.DebugUtils.renderPointer(game.input.pointer3);
Phaser.DebugUtils.renderPointer(game.input.pointer4);
}
})();