T.J. L
|
ff4ef2872b
|
Don't overwrite the return values from require()
|
2022-04-02 01:49:19 -07:00 |
|
Richard Davey
|
59fbcc5ca3
|
Updated copyright year
|
2022-02-28 14:29:51 +00:00 |
|
Richard Davey
|
7aa7187a0f
|
Merge pull request #5870 from samme/docs/class-types
Add GroupClassTypeConstructor and ParticleClassConstructor types
|
2022-02-28 13:53:39 +00:00 |
|
Richard Davey
|
a4308cfa3a
|
Skips Canvas drawImage calls if invalid frame sizes given. Fix #5951
|
2022-02-03 16:44:24 +00:00 |
|
Richard Davey
|
20d4391c29
|
Calling ParticleEmitter.setScale would set the scaleY property to null , causing calls to setScaleY to throw a runtime error. scaleY is now a required property across both the Particle and Emitter classes and all of the conditional checks for it have been removed
|
2021-10-28 15:01:51 +01:00 |
|
samme
|
ba5e4ffab7
|
Docs: add Phaser.Types.GameObjects.Particles.ParticleClassConstructor
Fixes #5731 ?
|
2021-10-13 13:23:31 -07:00 |
|
Richard Davey
|
cca537b66b
|
Merge pull request #5841 from samme/feature/warn-particle-missing-frame
Warn, throw for particle texture frame mistakes
|
2021-09-24 14:38:20 +01:00 |
|
samme
|
023336f826
|
Throw an error for missing particle texture frame
|
2021-09-23 11:15:58 -07:00 |
|
samme
|
da86ea7029
|
Warn for missing texture frames
|
2021-09-23 11:15:29 -07:00 |
|
Richard Davey
|
93db763f69
|
Merge pull request #5340 from 16patsle/Fix_object_types
Add more specific 'object' types, including GO Configs
|
2021-09-23 15:30:43 +01:00 |
|
Emil Schnedler Vad
|
9fa971902b
|
fixed type of ParticleEmitterConfig deathCallback to function
|
2021-05-24 16:42:01 +02:00 |
|
samme
|
3248971411
|
Fix wrong particle follow position
Fixes #5457
|
2021-02-21 11:30:32 -08:00 |
|
Richard Davey
|
1c8662dc1f
|
Call addToRenderList
|
2021-01-07 14:52:08 +00:00 |
|
Richard Davey
|
00d8b6a009
|
Invoke camera.addToRenderList method
|
2021-01-07 12:31:31 +00:00 |
|
Richard Davey
|
e08b5386dd
|
Removed follow from render code
|
2020-12-14 11:51:16 +00:00 |
|
Richard Davey
|
7ff4c5958b
|
Fire particle from follower position. Fix #5437
|
2020-12-14 11:46:19 +00:00 |
|
Richard Davey
|
59e89fa788
|
All Game Objects will now listen for ADDED_TO_SCENE and REMOVED_FROM_SCENE events and call the handlers. Therefore, removed GO specific implementations.
|
2020-12-11 11:44:21 +00:00 |
|
Patrick Sletvold
|
d327a4da34
|
Add Config types for ParticleEmitterManager and Mesh
|
2020-12-10 11:40:01 +01:00 |
|
Richard Davey
|
0ee1338765
|
Better post pipeline call (less code)
|
2020-11-26 09:51:40 +00:00 |
|
Richard Davey
|
09c49ac288
|
Fixed emitter mask pipeline
|
2020-11-24 14:52:57 +00:00 |
|
Richard Davey
|
d2e2e86ef1
|
Updated accessor
|
2020-11-23 16:22:11 +00:00 |
|
Richard Davey
|
ec5da6930c
|
Added post pipeline support to all Game Objects
|
2020-11-23 16:17:13 +00:00 |
|
Richard Davey
|
28d925b875
|
JSDoc fixes
|
2020-11-23 15:06:45 +00:00 |
|
Richard Davey
|
417f7684c3
|
More integer to number changes
|
2020-11-23 10:32:00 +00:00 |
|
Richard Davey
|
02c34cd64e
|
Replace integer with number
|
2020-11-23 10:22:13 +00:00 |
|
Richard Davey
|
eee3feb667
|
Pass Game Object to batchQuad
|
2020-11-09 13:19:31 +00:00 |
|
Richard Davey
|
d3c70002ea
|
Removed use of _tempMatrix from all renderers
|
2020-11-06 09:44:29 +00:00 |
|
Richard Davey
|
4ba2b0eb7b
|
All swapped to using renderer matrices to make pipelines smaller
|
2020-10-28 16:52:59 +00:00 |
|
Richard Davey
|
85a284d095
|
Particles.EmitterOp now cleanly separates between the different types of property configuration options. start | end will now ease between the two values, min | max will pick a random value between them and random: [] will pick a random element. They no longer get mixed together. Fix #3608
|
2020-10-16 17:52:59 +01:00 |
|
Richard Davey
|
1aaecbe703
|
Particles.EmitterOp.setMethods will now reset both onEmit and onUpdate to their default values. This allows you to reconfigure an emitter op with a new type of value and not have it stuck on the previous one. Fix #3663
|
2020-10-16 17:32:22 +01:00 |
|
Richard Davey
|
ae6112297a
|
Default tint value should now be 0xffffff. Fix #5358
|
2020-10-15 12:19:17 +01:00 |
|
Richard Davey
|
24de03ca96
|
Added missing ADDED_TO_SCENE handlers
|
2020-09-29 20:14:30 +01:00 |
|
Richard Davey
|
12c8ddfd05
|
Use getXRound
|
2020-09-29 18:05:39 +01:00 |
|
Richard Davey
|
9619995527
|
Add to UpdateList if not on Display List
|
2020-09-29 18:05:29 +01:00 |
|
Richard Davey
|
b86d982c00
|
The ParticleManagerCanvasRenderer now calculates its transform matrix differently, splitting out the parent matrix and factoring in the follow offsets separately. It also uses setToContext internally. This fixes numerous issues with particle emitters being incorrectly offset when added to Containers, or having the Camera zoomed, running under Canvas. Fix #4908 #4531 #4131
|
2020-09-23 12:06:29 +01:00 |
|
Richard Davey
|
a459ec090f
|
Fixed lint issue
|
2020-09-23 11:50:07 +01:00 |
|
Richard Davey
|
fb849ae0dc
|
The ParticleManagerWebGLRenderer now calculates its transform matrix differently, splitting out the parent matrix and factoring in follow offsets separately. This fixes numerous issues with particle emitters being incorrectly offset when added to Containers. Fix #5319 #5195 #4739 #4691
|
2020-09-23 11:50:00 +01:00 |
|
Vladislav Forsh
|
4d7301a4be
|
Improve types for particle emitter deathZone and emitZone
|
2020-09-21 12:38:29 +03:00 |
|
Vladislav Forsh
|
530c7a3d92
|
Add reserve property to particle emitter config
|
2020-09-21 12:06:49 +03:00 |
|
Vladislav Forsh
|
8fd4754b03
|
Add ability to use custom easing function(s) with particle emitters
|
2020-09-16 12:43:38 +03:00 |
|
Richard Davey
|
6a966e3f3b
|
Removed interpolationPercentage parameter from all render methods, as it has never been used.
|
2020-09-14 15:33:58 +01:00 |
|
Richard Davey
|
951457c881
|
As a result of the change to the shader, all uses of the WebGL Util function getTintAppendFloatAlphaAndSwap have been replaced with getTintAppendFloatAlpha instead.
|
2020-09-14 15:02:13 +01:00 |
|
Richard Davey
|
d198818d80
|
Game Objects now call the new Pipeline Manager methods directly
|
2020-09-09 13:05:18 +01:00 |
|
Richard Davey
|
8f8a90bedd
|
Utils.Array.StableSort has been recoded. It's now based on Two-Screens stable sort 0.1.8 and has been updated to fit into Phaser better and no longer create any window bound objects. The inplace function has been removed, just call StableSort(array) directly now. All classes that used StableSort.inplace have been updated to call it directly.
|
2020-09-02 12:24:27 +01:00 |
|
Richard Davey
|
da3f9b22c3
|
Exposed on the main API namespace
|
2020-09-01 18:38:57 +01:00 |
|
Richard Davey
|
3bd91ea3de
|
Update ParticleManagerCreator.js
|
2020-08-24 19:24:11 +01:00 |
|
Richard Davey
|
a9072cadf2
|
Sprite , Rope , ParticleEmitterManager , Extern and DOMElement now all override the addedToScene and removedFromScene callbacks to handle further set-up tasks.
|
2020-08-24 19:24:02 +01:00 |
|
Richard Davey
|
f4259deb37
|
DOMElementFactory , ExternFactory , ParticleManagerFactor , RopeFactory and SpriteFactory all no longer add the objects to the Update List, this is now handled by the ADDED events instead.
|
2020-08-24 19:22:58 +01:00 |
|
Richard Davey
|
786f78e91d
|
Particle Emitter Game Objects now support rendering in Light2d.
|
2020-07-16 15:32:06 +01:00 |
|
Richard Davey
|
99af20aa68
|
The Particle Emitter Game Object WebGL Renderer function has been updated to support multi-texture units.
|
2020-07-15 18:03:36 +01:00 |
|