Commit graph

19358 commits

Author SHA1 Message Date
Alvaro Estrada
d4dd2ca77b
Merge branch 'photonstorm:master' into ParticleEmitterConfig-Type-Fix 2023-08-08 13:27:46 +00:00
Alvaro Estrada
6177670abc Update return type of emitParticle
The function emitParticle can also return undefined when the particle max limit has been reached
2023-08-08 07:07:49 -06:00
Richard Davey
c5d53f9e94 Fixed typo 2023-08-08 13:08:54 +01:00
Alvaro Estrada
f01af5ba3a Update ParticleEmitterConfig.js
- Fixed the Texture type in the ParticleEmitterConfig
2023-08-07 23:15:25 -06:00
Alvaro Estrada
6bc801ddff Update ParticleEmitterConfig.js
- Fixed a typo
- Updated JSDoc so ParticleEmitterConfig refers to EmitZoneObject and EmitZoneObject[] instead of EdgeZoneConfig and RandomZoneConfig
- Updated JSDoc so ParticleEmitterConfig refers to DeatZoneObject and DeathZoneObject[] instead of DeathZoneConfig
2023-08-07 18:14:00 -06:00
Richard Davey
904d1f446f Generate phaser.json 2023-08-07 18:52:02 +01:00
Trissolo
f4e0f018ba Add Phaser.Geom.Line#setFromObjects() 2023-08-04 06:38:34 +02:00
Trissolo
1ea1c9313c Added two optional parameters, 'updateSize' and 'updateOrigin', which are used as second and third arguments when setting the frame. In fact 'setFrame()' takes three arguments 2023-08-02 11:17:20 +02:00
Trissolo
255eb85723 Added missing parameter to some function calls 2023-08-02 10:40:10 +02:00
Richard Davey
ab9fced253 Fixed breaking typo introduced by #6474 2023-08-01 21:15:01 +01:00
Richard Davey
ae249a0ef7 Update CHANGELOG-v3.61.md 2023-08-01 13:45:01 +01:00
Richard Davey
8e1809688c The WebGLRenderer will now validate that the mipmapFilter property in the Game Config is a valid mipmap before assigning it. 2023-08-01 13:44:58 +01:00
Richard Davey
8e20211774 Update CHANGELOG-v3.61.md 2023-07-26 18:53:25 +01:00
Richard Davey
72f3997d21
Merge pull request #6561 from julescubtree/update-loader-event-firing-documentation
fix JSDoc fired event: Phaser.Loader.LoaderPlugin#ADD -> Phaser.Loader.Events#ADD
2023-07-26 18:52:24 +01:00
Richard Davey
35a9c8614d Update CHANGELOG-v3.61.md 2023-07-26 18:49:42 +01:00
Richard Davey
d5318589bd Marked as optional 2023-07-26 18:49:38 +01:00
Richard Davey
80da532028
Merge pull request #6555 from PresentCreativeLLC/particle-emitter-type-fix
JSDocs update
2023-07-26 18:46:24 +01:00
Julius Diaz Panoriñgan
a902fe05da fix JSDoc fired event: Phaser.Loader.LoaderPlugin#ADD -> Phaser.Loader.Events#ADD 2023-07-26 09:51:49 -07:00
Richard Davey
d7da226935 Updated version 2023-07-24 14:34:24 +01:00
Richard Davey
0ad141c88d Update CHANGELOG-v3.61.md 2023-07-24 14:33:53 +01:00
Richard Davey
719bfd9dd8 Default the fill/line style to transparent 2023-07-24 14:33:49 +01:00
Alvaro Estrada
996a1361c4 JSDocs update
Updated the JSDocs for the particle emitter to fix an issue with its typescript constructor description
2023-07-21 13:48:18 -06:00
Richard Davey
da947e8b4c 3.61.0 Beta 1 2023-07-21 18:45:47 +01:00
Richard Davey
4ee569ff9e 3.61.0 TS Defs 2023-07-21 18:43:36 +01:00
Richard Davey
002786e411 fx namespace fix 2023-07-21 18:41:30 +01:00
Richard Davey
717f2dd546 Update CHANGELOG-v3.61.md 2023-07-21 18:32:47 +01:00
Richard Davey
b4849cf4f1 Math.Wrap` has been reverted to the previous version. Fix #6479 2023-07-21 18:32:45 +01:00
Richard Davey
4cb1641f11 Update CHANGELOG-v3.61.md 2023-07-21 18:20:40 +01:00
Richard Davey
c44dbccedc The PathFollower.pathUpdate method will now check if the tween property has a valid data component before running the update. This prevents a call to PathFollower.stopFollow from throwing a Cannot read properties of null (reading '0') error as it tried to do a single update post stop. Fix #6508 2023-07-21 18:20:38 +01:00
Richard Davey
4d99863188 Update CHANGELOG-v3.61.md 2023-07-21 18:13:45 +01:00
Richard Davey
23cd25f482 PhysicsGroup will now set the classType and null the config when an array of single configuration objects is given in the constructor. Fix #6519 2023-07-21 18:13:37 +01:00
Richard Davey
4fa348e161 Group.createFromConfig will now check to see if the config contains either internalCreateCallback or internalRemoveCallback and set them accordingly. This fixes an issue where the callbacks would never be set if specified in an array of single configuration objects. Fix #6519 2023-07-21 18:12:33 +01:00
Richard Davey
bebc146125 Update CHANGELOG-v3.61.md 2023-07-21 17:40:51 +01:00
Richard Davey
f0c6bd63bd The Matter Physics ignoreGravity boolean is now checked during the Matter Engine internal functions, allowing this property to now work again. Fix #6473 2023-07-21 17:40:47 +01:00
Richard Davey
5a597204cf Update CHANGELOG-v3.61.md 2023-07-21 17:33:15 +01:00
Richard Davey
7d4e6a3688 When using interpolation for a Particle Emitter operation, such as: x: { values: [ 50, 500, 200, 800 ] } it would fail to set the final value unless you specified the interpolation property as well. It now defaults to linear if not given. Fix #6551 2023-07-21 17:33:13 +01:00
Richard Davey
893ca385f3 Update CHANGELOG-v3.61.md 2023-07-21 17:19:01 +01:00
Richard Davey
a17c6f78e9 Particle.alpha is now clamped to the range 0 to 1 within the update method, preventing it from going out of range. Fix #6551 2023-07-21 17:18:59 +01:00
Richard Davey
584ff92eed Update CHANGELOG-v3.61.md 2023-07-21 17:13:28 +01:00
Richard Davey
cd020af107 Guard against duplicate removal. Fix #6539 2023-07-21 17:13:26 +01:00
Richard Davey
9704621bdc Update CHANGELOG-v3.61.md 2023-07-21 17:07:35 +01:00
Richard Davey
56254d0114 The Rope Game Object now calls initPostPipeline allowing you to use Post FX directly on it, such as glow, blur, etc. Fix #6550 2023-07-21 17:07:32 +01:00
Richard Davey
449998dc2c Update CHANGELOG-v3.61.md 2023-07-21 16:57:51 +01:00
Richard Davey
b266223318 Modified method name to be plural 2023-07-21 16:57:48 +01:00
Richard Davey
a4e53acc33
Merge pull request #6453 from rexrainbow/particles-clear-zones
Add methods to clear EmitZone or DeathZone
2023-07-21 16:55:22 +01:00
Richard Davey
f76cfd7962 Update CHANGELOG-v3.61.md 2023-07-21 16:54:54 +01:00
Richard Davey
b3e1b77686 Updated jsdocs 2023-07-21 16:54:51 +01:00
Richard Davey
d0950275d0 Update CHANGELOG-v3.61.md 2023-07-21 16:49:24 +01:00
Richard Davey
1ad5e626af Updated version number 2023-07-21 16:49:24 +01:00
Richard Davey
9a541760f7 Update CHANGELOG-v3.61.md 2023-07-21 16:49:24 +01:00