Commit graph

19345 commits

Author SHA1 Message Date
Richard Davey
ec18bf6ac7 Fixed url and updated math 2022-12-23 18:54:16 +00:00
Richard Davey
62a5c2656b Update CHANGELOG-v3.60.md 2022-12-23 17:29:22 +00:00
Richard Davey
807945bf60 Added STOP and COMPLETE events 2022-12-23 17:29:18 +00:00
Richard Davey
23d5ee7955 Fixed jsdocs 2022-12-23 17:28:56 +00:00
Richard Davey
fe1654aedd Update CHANGELOG-v3.60.md 2022-12-22 18:51:44 +00:00
Richard Davey
cdd1044b03 Added stopAfter property and logic. Added counters typed array. Fixed frequency calculation. 2022-12-22 18:51:40 +00:00
Richard Davey
e663eefdc7 Update CHANGELOG-v3.60.md 2022-12-22 14:57:31 +00:00
Richard Davey
1d8bcc5408 Added duration to Emitter.start method 2022-12-22 14:57:27 +00:00
Richard Davey
d3ed47b250 Added duration to config def 2022-12-22 14:57:16 +00:00
Richard Davey
34a9120016 Update CHANGELOG-v3.60.md 2022-12-22 14:51:43 +00:00
Richard Davey
4fd2786fa6 Update CHANGELOG-v3.60.md 2022-12-22 14:38:42 +00:00
Richard Davey
264dcc1d8f ParticleEmitter can now interpolate particles, emits 3 new events and has a new duration option 2022-12-22 14:38:33 +00:00
Richard Davey
f0a39d8bd0 Added new Particle Emitter events 2022-12-22 14:38:11 +00:00
Richard Davey
f56e95643b Update CHANGELOG-v3.60.md 2022-12-22 12:20:18 +00:00
Richard Davey
8d0f7ee0f3 Added ability to interpolate particle onUpdate 2022-12-22 12:20:14 +00:00
Richard Davey
5f8c4ddbac Chainable 2022-12-22 11:21:30 +00:00
Richard Davey
b456b50d73 Update CHANGELOG-v3.60.md 2022-12-22 11:09:15 +00:00
Richard Davey
21299a48ee You can now 'fast forward' a Particle Emitter. This can be done via either the emitter config, using the new advance property, or by calling the new ParticleEmitter.fastForward method. If, for example, you have an emitter that takes a few seconds to 'warm up' and get all the particles into position, this allows you to 'fast forward' the emitter to a given point in time. The value is given in ms. All standard emitter events and callbacks are still handled, but no rendering takes place during the fast-forward until it has completed. 2022-12-22 11:09:11 +00:00
Richard Davey
951964c19e Update GetLineToLine.js 2022-12-22 00:54:10 +00:00
Richard Davey
a5b7ffdb08 Particle tint working correctly 2022-12-19 18:35:40 +00:00
Richard Davey
e3e8f0d417 Update CHANGELOG-v3.60.md 2022-12-19 16:47:24 +00:00
Richard Davey
d602ea92ed
Merge pull request #6324 from rexrainbow/graph-concave-roundrectangle
Support concave corner in round rectangle
2022-12-19 16:45:57 +00:00
Richard Davey
58533686d5
Merge pull request #6321 from samme/docs/constructor-types
Docs: change "Constructor" types to `function`
2022-12-19 16:43:31 +00:00
Richard Davey
452987bc3d
Merge pull request #6325 from samme/docs/createFromTiles
Docs: correct type for `CreateFromTiles()` etc.
2022-12-19 16:36:30 +00:00
Richard Davey
91a1b351f0 Testing tint vs color 2022-12-19 13:48:53 +00:00
samme
390b4f577b Docs: correct type for CreateFromTiles() etc.
`replacements` is nullable
2022-12-19 03:28:40 -08:00
Rex
3a0a521d25 Support concave corner in round rectangle 2022-12-19 10:35:51 +08:00
Richard Davey
0c575fd859 Remove un-used parameter 2022-12-18 17:22:39 +00:00
Richard Davey
b267c607d2 Measure and Snap block freq read 2022-12-18 17:22:26 +00:00
Richard Davey
b71b29d353 Added EmitterOps jsdocs 2022-12-17 18:56:44 +00:00
Richard Davey
34c159b678 Added speed getter 2022-12-17 17:54:08 +00:00
Richard Davey
b8094cc078 Fixed null comparison 2022-12-17 17:51:35 +00:00
Richard Davey
0ceb9d390d Update CHANGELOG-v3.60.md 2022-12-17 17:38:11 +00:00
Richard Davey
2a42861c34 Deps update 2022-12-17 17:38:08 +00:00
Richard Davey
59e91934d7
Merge pull request #6323 from samme/docs/GetShortestDistance
Docs: correct Phaser.Geom.Line.GetShortestDistance()
2022-12-17 17:08:54 +00:00
samme
868c299c62 Docs: correct GetShortestDistance()
Fixes #6322
2022-12-17 06:59:53 -08:00
samme
09be12612b Docs: change "Constructor" types to function
- Phaser.Types.GameObjects.Group.GroupClassTypeConstructor
- Phaser.Types.GameObjects.Particles.ParticleClassConstructor
- Phaser.Types.Tilemaps.CreateFromObjectsClassTypeConstructor

Fixes #6318
2022-12-16 15:37:09 -08:00
Richard Davey
da96b39179 Fixed flow of position and velocity and allowed bounce and moveTo to be updateable 2022-12-15 17:32:15 +00:00
Richard Davey
cad71d1747 Updated docs and made moveToX/Y and bounce onUpdate'able 2022-12-15 17:31:47 +00:00
Richard Davey
f344b2109e Added support for stepped yoyo and fixed random max value 2022-12-15 17:31:17 +00:00
Richard Davey
9c52f8a651 Testing all ops as onUpdate capable 2022-12-15 13:33:58 +00:00
Richard Davey
81473643d3 Update CHANGELOG-v3.60.md 2022-12-15 00:51:47 +00:00
Richard Davey
380e2ca760 Access values from new ops object 2022-12-15 00:51:22 +00:00
Richard Davey
bf870d5165 Swapped to new ops object and public getters 2022-12-15 00:51:11 +00:00
Richard Davey
e5695cabff If it's a new callback we need it 2022-12-15 00:40:23 +00:00
Richard Davey
2879b12a10 Added active, method, getMethod and new setMethod functions. Optimized flow. 2022-12-15 00:34:34 +00:00
Richard Davey
b553398ad8 Testing using _x for EmitterOps and public accessors 2022-12-14 18:42:53 +00:00
Richard Davey
2a5dc0afa8 Update CHANGELOG-v3.60.md 2022-12-14 18:16:08 +00:00
Richard Davey
3bb68b45ae Better destroy handling. preUpdate won't run unless active. Added setEmitterAnims method. 2022-12-14 18:16:03 +00:00
Richard Davey
3efc22a127 Added AnimationState component and related properties, Event Emitter proxy and destroy method 2022-12-14 18:12:50 +00:00