samme
|
559c89eaf2
|
Add ParticleEmitter#setTint()
|
2019-12-23 09:25:35 -08:00 |
|
Richard Davey
|
d405bab92c
|
Set image smoothing based on renderer or scale mode.
|
2019-10-01 16:10:46 +01:00 |
|
samme
|
df3953e604
|
Require truthy random value for randomness
|
2019-06-11 11:38:29 -07:00 |
|
samme
|
c55ee432ce
|
Docs for easedValueEmit()
|
2019-06-07 13:32:12 -07: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
|
78e1ef9df0
|
Particle Emitters and Containers can now have geometry masked children
|
2019-04-15 16:46:47 +01:00 |
|
Richard Davey
|
754ae7caa2
|
Particle Emitters can now be masked
|
2019-04-12 17:46:52 +01:00 |
|
Richard Davey
|
9dd3e7cd15
|
Added missing Mask component
|
2019-04-12 17:46:39 +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
|
4b27b37a0c
|
Added texture and unit arguments to batchQuad and batchTri , fixing the y2k bug.
|
2018-12-12 11:08:52 +00:00 |
|
Richard Davey
|
6f8759c186
|
Whenever Camera.roundPixels was enabled it would use a bitwise operation to truncate the float (x |= 0 ) - this has been replaced across all files that used it, with a call to Math.round instead. This gives far better results when zooming cameras both in and out of a Scene, stopping thin gaps appearing between closely packed Game Objects.
|
2018-11-30 10:27:25 +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 |
|
Richard Davey
|
fca695f632
|
Removed Particle.index as it's no longer required
|
2018-11-21 11:53:21 +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
|
d13984f460
|
Added jsdocs
|
2018-10-19 18:32:10 +01:00 |
|
Richard Davey
|
0b3d54a198
|
Added jsdocs
|
2018-10-19 18:29:36 +01:00 |
|
Richard Davey
|
4b1c762296
|
Updated @memberOf to @memberof
|
2018-10-10 10:49:13 +01:00 |
|
Richard Davey
|
4d13702c33
|
The Particle Emitter Manager has been given a NOOP method called setBlendMode to stop warnings from being thrown if you added an emitter to a Container in the Canvas renderer. Fix #4083
|
2018-10-05 16:31:43 +01:00 |
|
Richard Davey
|
b45df05ddb
|
Updated to get the frame names
|
2018-09-27 14:15:58 +01:00 |
|
Richard Davey
|
dedc939fdd
|
initPipeline now defaults to the Texture Tint Pipeline if nothing else is specified.
|
2018-09-05 11:19:02 +01:00 |
|
Richard Davey
|
4deb8e49ad
|
eslint fixes
|
2018-08-03 19:37:42 +01:00 |
|
Richard Davey
|
9f44896a3f
|
The Blend Mode is now set directly in all Canvas Renderers without comparing it to what's stored in the Canvas Renderer. This fixes problems where the blend mode would be lost between two different Game Objects because they restored the context, but didn't update the renderer flag. Game Objects in Canvas can now mix and match blend modes across the display list.
|
2018-08-03 01:29:18 +01:00 |
|
Richard Davey
|
e0918df6b0
|
Canvas particle renderer now using same matrix math as webgl
|
2018-08-03 01:04:46 +01:00 |
|
Richard Davey
|
0a035353fa
|
lint fix
|
2018-08-03 01:04:25 +01:00 |
|
Richard Davey
|
7313573161
|
The ParticleEmitterManager now has the Transform component. This means you can now set the position, rotation or scale of the Emitter Manager, and it will influence every Emitter it is rendering. The Managers transform is mixed with that of the Camera. This works in both Canvas and WebGL.
|
2018-07-31 23:21:07 +01:00 |
|
Richard Davey
|
c3cc4317dd
|
Particle.color has been removed as it's now calculated during rendering to allow for Camera alpha support.
|
2018-07-31 23:18:49 +01:00 |
|
Richard Davey
|
34b27fd57a
|
ParticleEmitter would fail to draw a textured particle in Canvas mode
|
2018-07-29 12:16:42 +01:00 |
|
Richard Davey
|
4481795d32
|
Swapped to using getX / getY
|
2018-07-27 00:53:00 +01:00 |
|
Richard Davey
|
8873bdcbf6
|
Fixed pipeline method call
|
2018-07-26 23:50:54 +01:00 |
|
Thomas Felix
|
43f6b1d231
|
fix: Corrects the wrong JSdoc comments
Wrong comments lead to a faulty Typescript Definition file missing
the depth attribute.
|
2018-07-25 22:13:38 +02:00 |
|
Richard Davey
|
fc5eb2511c
|
Particles using a blend mode wouldn't render correctly after the updates in 3.11. If the blend mode changes during the processing of an emitter manager it'll now correctly rebind the texture, stopping the particles from vanishing. Fix #3851
|
2018-07-23 01:39:21 +01:00 |
|
Richard Davey
|
106e32a4f5
|
Removed un-used imports
|
2018-07-19 13:26:11 +01:00 |
|
Richard Davey
|
ec5bd1912e
|
GameObject.willRender now takes a Camera as its only argument and uses it within the check. This has allowed me to remove 23 duplicate checks spread across the various Game Objects, all of which did the same thing, saving both KB and CPU time as the flags were being checked twice in most cases.
|
2018-07-19 13:19:02 +01:00 |
|
Richard Davey
|
5ba80defb7
|
Pass GO to setPipeline
|
2018-07-11 16:23:44 +01:00 |
|
Richard Davey
|
82b15c8695
|
Removed drawEmitterManager and moved to emitter render function
|
2018-07-11 14:40:36 +01:00 |
|
Richard Davey
|
7a23378015
|
Unified use of roundPixels, antialias and pixelArt modes
|
2018-06-27 15:15:00 +01:00 |
|
Richard Davey
|
7aa46657c2
|
Tidying up jsdocs and changing float to number
|
2018-06-26 23:19:14 +01:00 |
|
Richard Davey
|
8391042ff9
|
Merge pull request #3783 from samme/feature/particle-emitter-stop
Add ParticleEmitter#stop()
|
2018-06-25 22:42:00 +01:00 |
|
Richard Davey
|
51468fdefc
|
Merge branch 'master' of https://github.com/photonstorm/phaser
|
2018-06-25 16:25:42 +01:00 |
|
Richard Davey
|
90ba2608fa
|
Added in Camera alpha support to all canvas renderers
|
2018-06-25 16:24:08 +01:00 |
|
samme
|
bc2212c87d
|
Add ParticleEmitter#stop()
|
2018-06-23 12:51:16 -07:00 |
|
Chris Andrew
|
c2bfc52987
|
Documented the majority of the Geom Line functions.
|
2018-06-21 18:13:56 +01:00 |
|