mirror of
https://github.com/wassname/phaser.git
synced 2026-07-22 12:50:19 +08:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user