Richard Davey
6d22019f26
Update ParticleEmitterAnimConfig.js
2023-09-07 13:21:51 +01:00
Alvaro Estrada
e37134e47e
Fixed file name discrepancy with the interface name
2023-08-17 11:11:57 -06:00
Alvaro Estrada
525730dbb1
Added missing description of the anims property of the particle emitter
...
- Created a description of the object handed to the function setAnim
- Added the property anim to ParticleEmitterConfig
- Changed the parameters description of setAnim to better match
2023-08-17 11:09:04 -06: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
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
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
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
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
samme
1149ad2fc5
Docs: particleX and particleY are updatable ops
2023-05-04 16:32:38 -07:00
Richard Davey
ed180bcc44
Particle.scaleY
would always be set to the scaleX
value, even if given a different one within the config. It will now use its own value correctly.
2023-04-19 17:58:48 +01:00
Richard Davey
6b55674d89
Update ParticleEmitterConfig.js
2023-04-12 08:49:58 +01:00
Richard Davey
4ccf0371ec
Remove visible check, so they render to DynamicTextures again
2023-04-12 07:10:52 +01:00
Richard Davey
63a852779a
Return array of zones
2023-04-12 02:07:59 +01:00
Emil Schnedler Vad
c4327de589
fixed particle using a white texture if flush happen
2023-04-09 17:54:57 +02:00
Rex
1e4b807656
Add methods to clear EmitZone or DeathZone
2023-04-05 16:36:29 +08:00
Richard Davey
6d539ab1c4
Merge pull request #6419 from kainage/fix-particle-lifespan
...
Fix ParticleEmitter#setParticleLifespan
2023-03-31 14:27:20 +01:00
Richard Davey
09ebf4048e
Removed use of 'Add' (don't need exclusive check) and fixed index 0 offset errors
2023-03-30 15:49:03 +01:00
kainage
1b7539d47e
Fix ParticleEmitter#setParticleLifespan
2023-03-18 12:21:13 -07:00
Richard Davey
2230a08e7e
Fixed issue with cycle: true
on frame and animation particle emitter configs
2023-03-09 18:12:19 +00:00
Richard Davey
74f1bc639f
Remove old FX component
2023-02-16 23:49:45 +00:00
Richard Davey
36e6bc8a05
Added PostPipeline component
2023-02-03 17:52:36 +00:00
Richard Davey
c54cc2d6a1
Merge pull request #6376 from vforsh/improve-particles-types
...
Improve particles types
2023-01-30 21:44:38 +00:00
Richard Davey
e97d491458
Fix #6377
2023-01-30 21:42:21 +00:00
Vladislav Forsh
8c34a84fde
Improve particles types
2023-01-30 21:58:34 +03:00
Pavle Goloskokovic
0ab4981f86
docs reference updated method name setEmitterFrame
2023-01-21 11:39:13 +01:00
Richard Davey
68a734e3b6
Reset worldPosition on fire
2023-01-19 17:08:24 +00:00
Richard Davey
8815205900
No need to multiply the camMatrix for every particle. Once is enough.
2023-01-19 16:59:33 +00:00
Richard Davey
333e766485
Use Clamp
2023-01-18 18:30:07 +00:00
Richard Davey
c906568544
Expose ParticleBounds
2023-01-18 16:54:49 +00:00
Richard Davey
566b74e70e
Removed unused code and tidied formatting
2023-01-18 16:54:43 +00:00
Richard Davey
30fc7d5123
Moved method
2023-01-18 16:54:32 +00:00
Richard Davey
1193f8811f
The Particle DeathZone.willKill
method now takes a Particle
instance as its only parameter, instead of x and y coordinates, allowing you to perform more complex checks before deciding if the Particle should be killed, or not.
2023-01-18 16:41:19 +00:00
Richard Davey
9549c90b9f
Removed 'bounds' and collide flags + fast ops and changed 'setParticleBounds' to 'addParticleBounds' to better identify it
2023-01-17 23:24:04 +00:00
Richard Davey
528feb8fae
Fixed links
2023-01-17 23:23:18 +00:00
Richard Davey
2758c6edfc
Updated docs
2023-01-17 23:23:05 +00:00
Richard Davey
e7d6328d80
Fixed the update function and added docs
2023-01-17 23:00:26 +00:00
Richard Davey
60bc8f1b6c
Add the new worldPosition
Vector2 and update it
2023-01-17 23:00:14 +00:00
Richard Davey
f7f70ac63b
Update ParticleEmitter.js
2023-01-17 20:39:12 +00:00
Richard Davey
815acd71cf
Testing moving Emitter bounds to a ParticleProcessor
2023-01-17 18:42:06 +00:00
Richard Davey
27a6c60392
Tidied up jsdocs
2023-01-17 12:33:31 +00:00
Richard Davey
bf0064f0e8
Added ParticleEmitter.hold emitter op
2023-01-17 12:17:07 +00:00
Richard Davey
7576666eb6
Fixed path
2023-01-16 16:09:45 +00:00
Richard Davey
5a96f528f9
Fixed jsdocs and removed functions not needed
2023-01-16 16:03:47 +00:00
Richard Davey
9841602bbe
Renamed matrix, removed old one and added death zone handling on spawn
2023-01-13 18:15:14 +00:00
Richard Davey
6abb358e50
fire returns a boolean. Re-ordered ops and added death zone check on spawn.
2023-01-13 18:14:53 +00:00
Richard Davey
f1ab07d9b2
willKill takes coordinates now, not a Particle
2023-01-13 18:14:29 +00:00
Richard Davey
faec614cc4
Added counter getters and fixed while loop
2023-01-13 17:25:31 +00:00
Richard Davey
db5a064fd0
Update ParticleEmitterConfig.js
2023-01-12 15:59:26 +00:00