Commit graph

18 commits

Author SHA1 Message Date
James
639b9161f7 updated docs on weapon's setBulletBodyOffset 2016-08-30 17:03:10 -05:00
James
3c605285ee updated weapon's fire() docs 2016-08-30 16:58:27 -05:00
photonstorm
19dbd8bba8 The Weapon.fireRateVariance property was never taken into account internally. It's now applied to the firing rate correctly (thanks @noseglid #2715) 2016-08-25 13:31:43 +01:00
photonstorm
cbbb2cd97b Created _rotatedPoint in the constructor, and tidied up code formatting to match the rest of Phaser #2672 2016-08-25 13:12:42 +01:00
Richard Davey
dfbdd59f33 Merge pull request #2672 from bobonthenet/master
Weapon.Fire now tracks offset rotation
2016-08-25 13:06:31 +01:00
bobonthenet
7da5604500 Use this.rotatedPoint instead of a new object 2016-08-22 21:36:49 -04:00
James
e90619b40e changed return value of Plugin.Weapon's fire, fireAtXY, fireAtPointer, fireAtSprite to Phaser.Bullet 2016-08-17 18:24:24 -05:00
bobonthenet
6df44bd21a Apparently I didn't fix them the first time 2016-07-29 19:38:37 -04:00
bobonthenet
6d7b84b10e Fixed jshint errors 2016-07-29 19:24:49 -04:00
Robert Bedard
383f14cb3f Weapon.Fire now tracks offset rotation 2016-07-29 15:08:29 -04:00
Richard Davey
418c87ea1a Weapon.autofire wouldn't fire after the first bullet, or until fire was called, neither of which are requirements. If you now set this boolean the Weapon will fire continuously until you toggle it back to false (thanks @alverLopez #2647) 2016-07-20 11:52:48 +01:00
David Hayes
8f36b96c8a Reorder Weapon.onFire argument order in documentation. 2016-06-19 20:39:51 -05:00
photonstorm
1a67079ae7 Phew. Added TypeScript defs for the Weapon Plugin. Don't say I never do anything for you! 2016-06-03 17:11:08 +01:00
photonstorm
a2d0aac9fd Docs finished. 2016-06-03 16:38:40 +01:00
photonstorm
c73ccfbddb Lots more docs updates. 2016-06-03 15:51:06 +01:00
photonstorm
d2269c362d Docs update. 2016-06-03 15:20:11 +01:00
photonstorm
96711f4db9 Added the Weapon Plugin and worked lots on its docs. 2016-06-03 15:09:43 +01:00
photonstorm
ae5be7ac92 Merging in the new Weapon Plugin. 2016-06-03 13:00:45 +01:00