goshki Posted March 25, 2014 Share Posted March 25, 2014 While preparing a test project for this topic, I've come across something that seems to be a bug. I can reproduce it on the code from arcade physics body scale example.I've attached a zip file with the source code. Here are the steps to reproduce the bug on the body scale example code:move the game.physics.enable(sprite, Phaser.Physics.ARCADE); line just below the sprite creationset some scale (in my case 0.99)comment out sprite.body.immovable = true;comment out game.add.tween(sprite.scale).to( { x: 3, y: 3 }, 2000, Phaser.Easing.Linear.None, true, 0, 1000, true);The effect is that the first sprite begins to move right and downward (if the scale was set to some value greater than one the movement would be left and upward).phaser-arcade-scaling-example-with-bug.zip Link to comment Share on other sites More sharing options...
jcalonso Posted March 25, 2014 Share Posted March 25, 2014 I'm having the same problem, this github issue may be related: https://github.com/photonstorm/phaser/issues/644 Link to comment Share on other sites More sharing options...
goshki Posted April 2, 2014 Author Share Posted April 2, 2014 The problem seems solved in the latest 2.0.2 version. Link to comment Share on other sites More sharing options...
Recommended Posts