Richard Davey
|
dea68135fd
|
Correct texture type. Fix #5199
|
2020-07-13 13:29:01 +01:00 |
|
Jason Kwok
|
fca63274e2
|
Fixed this return types for Phaser.GameObjects.Particles.Zones.EdgeZone
|
2020-01-26 21:21:25 +08:00 |
|
Jason Kwok
|
022fa20673
|
Fixed this return types for Phaser.GameObjects.Particles.EmitterOp
|
2020-01-26 21:18:14 +08:00 |
|
Jason Kwok
|
270f7b33a3
|
Fixed this return types for Phaser.GameObjects.Particles.ParticleEmitterManager
|
2020-01-26 21:15:30 +08: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 |
|
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 |
|
Chris Andrew
|
6854ccb764
|
Cleaned up some remaining GameObject descriptions.
|
2018-06-21 14:18:28 +01:00 |
|
Chris Andrew
|
978f982c26
|
Documented the remaining ParticleEmitter Zone classes.
|
2018-06-21 14:12:47 +01:00 |
|
Chris Andrew
|
df88218534
|
Finished up EmitterOp method descriptions.
Finally!
|
2018-06-21 12:47:29 +01:00 |
|
Chris Andrew
|
7f232b6bed
|
Further EmitterOp documentation.
|
2018-06-20 17:18:03 +01:00 |
|
Chris Andrew
|
584e8f9919
|
Started documenting the EmitterOp class.
|
2018-06-20 16:18:00 +01:00 |
|
Chris Andrew
|
9f23818c40
|
Documented various missing descriptions for GameObject classes and functions.
|
2018-06-20 07:28:02 +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 |
|
Richard Davey
|
7df02a4447
|
Added 2 NOOPs instead of merging the whole mixins.
|
2018-06-01 00:03:45 +01:00 |
|
TadejZupancic
|
6f7463f4f7
|
Particle Emitter Manager in Container
Added Alpha and ScrollFactor Mixin to Particle Emitter Manager otherwise it crashes when added to the Container.
|
2018-05-30 10:44:49 +02:00 |
|
Richard Davey
|
2630c982b4
|
jsdoc fixes
|
2018-05-22 15:55:36 +01:00 |
|
Richard Davey
|
9429a28574
|
The Particle tint value was incorrectly calculated, causing the color channels to be inversed. Fix #3643
|
2018-05-18 13:16:17 +01:00 |
|
Richard Davey
|
0d0846a415
|
Calling a creator, such as GraphicsCreator, without passing in a config object, would cause an error to be thrown. All Game Object creators now catch against this.
|
2018-05-16 15:17:08 +01:00 |
|
Richard Davey
|
28251fd0f5
|
addToScene added to all Game Object Creators
|
2018-05-02 10:57:26 +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
|
bd9831912c
|
Don't stringify emitter ops twice
|
2018-04-24 14:20:23 -07:00 |
|
samme
|
0de5340201
|
Add 'angle' to configOpMap
It was missing from toJSON() output
|
2018-04-24 14:20:23 -07:00 |
|
Richard Davey
|
ed2eafb3b3
|
Code tidying
|
2018-04-23 00:13:11 +01: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 |
|
Richard Davey
|
6299019838
|
Updated to use typeof DefinePlugin check.
|
2018-04-20 00:23:24 +01:00 |
|
samme
|
0b881e9a4e
|
Add particles docs
|
2018-04-19 14:05:21 -07:00 |
|
Felipe Alfonso
|
4496e773a7
|
Removed particle scroll factor property and calculation from canvas rendering
|
2018-04-18 18:44:09 -03:00 |
|
Richard Davey
|
18585de81d
|
Lots of jsdoc fixes
|
2018-04-16 14:43:24 +01:00 |
|
Richard Davey
|
cdfe2e0ea2
|
Fixed references
|
2018-04-10 04:13:38 +01:00 |
|
Felipe Alfonso
|
c232642a52
|
Parent matrix is applied to canvas context on each draw function
|
2018-04-04 14:05:59 -03:00 |
|
Felipe Alfonso
|
96b8db4685
|
Added parentMatrix to all canvas rendering functions
|
2018-04-04 13:14:55 -03:00 |
|
Felipe Alfonso
|
4f8ddd73bb
|
Merge branch 'master' into containers
|
2018-03-29 12:35:40 -03:00 |
|
Richard Davey
|
91008232ad
|
jsdoc fixes
|
2018-03-29 13:12:07 +01:00 |
|
Felipe Alfonso
|
e0f678d1ff
|
Merge branch 'master' into containers
|
2018-03-28 20:49:00 -03:00 |
|
Richard Davey
|
747f09af86
|
jsdoc fixes
|
2018-03-28 15:04:09 +01:00 |
|
Felipe Alfonso
|
d544701495
|
parentMatrix added to individual game object render function
|
2018-03-27 14:49:09 -03:00 |
|
orblazer
|
ae0b3b841b
|
Fix types on GameObjects
|
2018-03-27 14:52:58 +02:00 |
|
orblazer
|
f42f1bf132
|
Change structs for generic types
|
2018-03-23 16:54:12 +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 |
|