mirror of
https://github.com/wassname/phaser.git
synced 2026-09-09 11:28:47 +08:00
* Fixed issue 135 - Added typeof checks into most ArcadePhysics functions to avoid errors with zero values.
* Fixed issue 136 - distanceTo using worldX/Y instead of x/y.
This commit is contained in:
@@ -52,7 +52,7 @@ function test2 () {
|
||||
sprite1.body.immovable = true;
|
||||
// sprite1.body.setSize(100, 100, 0, 0);
|
||||
|
||||
sprite2 = game.add.sprite(-100, 150, 'mushroom');
|
||||
sprite2 = game.add.sprite(-100, 140, 'mushroom');
|
||||
sprite2.name = 'mushroom';
|
||||
|
||||
sprite3 = game.add.sprite(-200, 150, 'flectrum');
|
||||
|
||||
Reference in New Issue
Block a user