Commit graph

51 commits

Author SHA1 Message Date
Richard Davey
ae6112297a Default tint value should now be 0xffffff. Fix #5358 2020-10-15 12:19:17 +01:00
Richard Davey
a459ec090f Fixed lint issue 2020-09-23 11:50:07 +01:00
Vladislav Forsh
530c7a3d92 Add reserve property to particle emitter config 2020-09-21 12:06:49 +03:00
Richard Davey
8f8a90bedd Utils.Array.StableSort has been recoded. It's now based on Two-Screens stable sort 0.1.8 and has been updated to fit into Phaser better and no longer create any window bound objects. The inplace function has been removed, just call StableSort(array) directly now. All classes that used StableSort.inplace have been updated to call it directly. 2020-09-02 12:24:27 +01:00
Jason Kwok
1fd71ae088 Fixed this return types fro Phaser.GameObjects.Particles.ParticleEmitter 2020-01-26 21:13:11 +08:00
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +00:00
Richard Davey
5130fccbf5
Merge pull request #4921 from samme/feature/emitter-remove
Add ParticleEmitter.remove() and ParticleEmitterManager#removeEmitter()
2019-12-28 16:35:07 +00:00
samme
15506e0faf Add ParticleEmitter.remove() and ParticleEmitterManager#removeEmitter() 2019-12-23 10:36:35 -08:00
samme
559c89eaf2 Add ParticleEmitter#setTint() 2019-12-23 09:25:35 -08:00
samme
cf627a07e1 Correct emitOnly values for angle, lifespan, x, y 2019-06-07 13:31:01 -07:00
samme
d3407c5e44 Add EmitterOpOnEmitType and EmitterOpOnUpdateType
Also some corrections in ParticleEmitterConfig docs
2019-06-01 13:33:06 -07:00
Richard Davey
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
a6341a97a8 Fixed Types references 2019-05-09 15:32:53 +01:00
Richard Davey
29aee69aa0 Particles Types 2019-05-09 11:57:00 +01:00
Richard Davey
70a87a576d Some legacy instances of float moved to number. 2019-02-13 12:39:36 +00:00
Richard Davey
e7b1d086e7 Moving all of the typedefs to properly namespaced scopes, rather than globals
\o/ ~ "Someone, save me!"
2019-02-13 12:35:12 +00:00
Brian Lui
af085646eb
Fix: Type declaration for blendMode 2019-02-08 15:58:18 +08:00
Richard Davey
44f4ac3598 Type def fix 2019-01-29 23:49:23 +00:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
Richard Davey
18af31ffb7 Fixed how dead particles are managed, reduced gc churn and reset particle positions. Also removed un-needed stable sort. 2018-11-21 11:53:46 +00:00
Piotr 'Waclaw I' Hanusiak
893310d5bb array of dead particles is now being filled up with dead particles. 2018-10-29 22:19:57 +01:00
Richard Davey
4b1c762296 Updated @memberOf to @memberof 2018-10-10 10:49:13 +01:00
Richard Davey
7aa46657c2 Tidying up jsdocs and changing float to number 2018-06-26 23:19:14 +01:00
samme
bc2212c87d Add ParticleEmitter#stop() 2018-06-23 12:51:16 -07:00
Chris Andrew
978f982c26 Documented the remaining ParticleEmitter Zone classes. 2018-06-21 14:12:47 +01:00
Chris Andrew
7f232b6bed Further EmitterOp documentation. 2018-06-20 17:18:03 +01:00
Andre van Tonder
b2f8a139cc change ParticleEmitter.startFollow to fix issue 3764 2018-06-18 14:25:12 +08:00
Richard Davey
15b544fc46 jsdoc fixes 2018-06-13 08:37:40 +01:00
samme
5fc6f94c67 Remove source checks in setEmitZone 2018-04-28 13:10:22 -07:00
samme
f59f90d2ca Correct source types in *ZoneConfig definitions 2018-04-28 13:09:59 -07:00
samme
84ba1ba191 Correct source checks in setEmitZone 2018-04-28 08:41:32 -07:00
samme
0de5340201 Add 'angle' to configOpMap
It was missing from toJSON() output
2018-04-24 14:20:23 -07:00
Richard Davey
30a0ff02cb
Merge pull request #3600 from samme/docs/particles
Add docs for gameobjects/particles
2018-04-22 23:07:51 +01:00
samme
711d2a6193 Minor additions and corrections to docs 2018-04-20 21:00:19 -07:00
Richard Davey
606ba6d8d7 Added new Mask component and added to all relevant Game Objects 2018-04-20 18:57:49 +01:00
samme
8b939d7790 Omit EmitterOpEmitConfig, EmitterOpUpdateConfig 2018-04-20 06:51:31 -07:00
samme
0b881e9a4e Add particles docs 2018-04-19 14:05:21 -07:00
Richard Davey
cdfe2e0ea2 Fixed references 2018-04-10 04:13:38 +01:00
orblazer
7fba122321 Fix "any" types 2018-03-20 17:15:49 +01:00
orblazer
87633fdfad Fix multiple types on GameObjects 2018-03-20 15:56:31 +01:00
orblazer
b4a30b8e43 Add callbacks on GameObjects 2018-03-19 22:27:16 +01:00
orblazer
87d6cdaff8 Update JSDoc on GameObjects 2018-03-19 13:50:32 +01:00
Richard Davey
cc0998660e Updated jsdocs 2018-03-18 13:43:37 +00:00
Richard Davey
50dac412be eslint fixes and console removal 2018-02-16 19:08:50 +00:00
Richard Davey
86f00eeb52 eslint fixes 2018-02-16 18:17:51 +00:00
Richard Davey
d1f5f8a82b Added jsdocs 2018-02-12 16:01:21 +00:00
Richard Davey
40689d1e35 Updated jsdocs. 2018-02-07 15:27:21 +00:00
Richard Davey
6efb94cce9 Added jsdocs 2018-02-06 22:25:23 +00:00
Richard Davey
8cd5e772d8 Added jsdocs 2018-02-06 19:22:20 +00:00
Richard Davey
c625b8735b Updated to using Event Emitter for all key managers and game objects. Events are now dispatched directly using arguments instead of Event objects, all managers updated to emit directly. 2018-01-12 17:09:21 +00:00