mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
634b1d1093
ArcadePhysics.Body.reset incorrectly set the Body.rotation to Sprite.rotation instead of angle. Emitter.emitParticle resets the rotation on the particle to zero before emitting it. Lots of fixes to the TypeScript definitions file (thanks as always to clark-stevenson for his tireless work on these) Emitters now bring the particle they are about to emit to the top of the Group before doing so. Avoids particles hidden behind others. ArcadePhysics.Body.setSize corrected to take the parameters as positive, not negative values. ArcadePhysics.Body now checks the Sprite scale automatically and adjusts the body size accordingly (fix #608) Emitter.particleClass can now be set to any object that extends Phaser.Sprite, which will be emitted instead of a regular Sprite. |
||
---|---|---|
.. | ||
custom | ||
config.php | ||
phaser.d.ts | ||
phaser.js | ||
phaser.map | ||
phaser.min.js |