Lots more physics tests and updates.

PLEASE DO NOT upgrade to this release if you need your game working and it uses any of the physics functions, as they're nearly all broken here.
Just pushing up so I can share it with someone.
This commit is contained in:
photonstorm
2014-01-20 20:14:34 +00:00
parent 2532df8793
commit 128c7143d5
17 changed files with 1623 additions and 99 deletions
+7 -2
View File
@@ -257,7 +257,7 @@ Phaser.Pointer.prototype = {
},
/**
* Called internall by the Input Manager.
* Called by the Input Manager.
* @method Phaser.Pointer#update
*/
update: function () {
@@ -336,12 +336,17 @@ Phaser.Pointer.prototype = {
this.game.input.circle.y = this.game.input.y;
}
// If the game is paused we don't process any target objects
// If the game is paused we don't process any target objects or callbacks
if (this.game.paused)
{
return this;
}
if (this.game.input.moveCallback)
{
this.game.input.moveCallback.call(this.game.input.moveCallbackContext, this, this.x, this.y);
}
// Easy out if we're dragging something and it still exists
if (this.targetObject !== null && this.targetObject.isDragged === true)
{