Commit graph

3086 commits

Author SHA1 Message Date
Emil Schnedler Vad
bc6ec0a124 reverted using getTextBounds for cotainer getBounds() 2023-04-08 20:37:12 +02:00
Richard Davey
6b6077f62b Recoding Video Game Object 2023-04-07 19:18:54 +01:00
Richard Davey
afe5401a25 Add missing String cast. Fix #6451 2023-04-05 14:47:00 +01:00
Richard Davey
49d56e7dc4 Added new clearFX method and tidied up the docs and functions for FX removal. Fix #6451 2023-04-04 15:46:11 +01:00
Richard Davey
715ee10367 Clarifying the docs. Fix #6446 2023-04-03 18:30:05 +01:00
Richard Davey
01afa66230 clear now has 2 arguments to clear pre/post or both. Fix #6440 2023-03-31 14:45:37 +01: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
469a7fac45
Merge branch 'photonstorm:master' into fix-particle-lifespan 2023-03-24 11:37:43 -07:00
Richard Davey
d9e98a7e85 Mesh and Plane now support setInteractive. Fix #6394 2023-03-24 00:07:11 +00:00
Richard Davey
7237299639 The GetBounds.getCenter method now has an optional includeParent argument, which allows you to get the value in world space. Also updated types. 2023-03-23 17:15:53 +00:00
Richard Davey
5944a8f5a2 Add default origin. Fixes setInteractive(). 2023-03-23 00:34:21 +00:00
Richard Davey
dd98011eb3 Added custom hitAreaCallback for #6394 2023-03-22 18:51:46 +00:00
Richard Davey
376107b25f Finally finished all FX documentation 2023-03-21 18:04:34 +00:00
Richard Davey
ed6287e9a9 More FX documentation finished 2023-03-21 17:57:27 +00:00
Richard Davey
b89a10c99d Lots more documentation finished 2023-03-21 17:21:45 +00:00
Richard Davey
f83debe894 Added lots of documentation 2023-03-20 18:44:48 +00:00
Richard Davey
5805925cc6 Fixed PostFX on custom render objects 2023-03-20 17:27:18 +00:00
Richard Davey
392640fe93 Fixed Mesh Renderer to work with PostFX 2023-03-20 17:00:30 +00:00
Richard Davey
97387f36f2 Get textureUnit even if batch not flushed 2023-03-20 15:20:35 +00:00
Richard Davey
d6c743138e Docs fix 2023-03-20 15:20:13 +00:00
Richard Davey
4e6f51bc9c Update FX.js 2023-03-20 15:20:06 +00:00
kainage
1b7539d47e Fix ParticleEmitter#setParticleLifespan 2023-03-18 12:21:13 -07:00
Richard Davey
f82bf52cad Why clear alpha? 2023-03-09 18:34:01 +00:00
Richard Davey
9971c9f940 Fixed component 2023-03-09 18:33:54 +00: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
c8acb16fa7 Added { willReadFrequently } to every canvas context, no matter where it comes from 2023-03-09 17:30:04 +00:00
Richard Davey
c4ab06d19f Calling setPostPipeline on a Game Object will now pass the pipelineData configuration object (if provided) to the pipeline instance being created. 2023-02-27 15:12:52 +00:00
Richard Davey
88a59eb040 Post FX now supports custom quality and distance parameters. Fix #6393 2023-02-27 15:09:57 +00:00
Richard Davey
5997c814bb Remove distance parameter 2023-02-27 13:48:12 +00:00
Richard Davey
00ab0fe601
Merge pull request #6384 from EmilSV/container_getBounds_text
container#getBounds now also support getTextBounds for bounds calcula…
2023-02-17 17:31:57 +00:00
Richard Davey
3bbb619562
Merge pull request #6386 from mizunokazumi/fix/component-transform-setscaleX-setscaley
Fix renderFlags after changing scaleX/scaleY
2023-02-17 17:26:19 +00:00
Richard Davey
5ad4cbba7d Types fix 2023-02-17 17:25:11 +00:00
Richard Davey
0fe135cc8f Added documentation and method parameters 2023-02-17 17:07:22 +00:00
Richard Davey
6584435892 Destroy preFX and postFX 2023-02-17 17:07:05 +00:00
Richard Davey
3d67fdb459 Update PostPipeline.js 2023-02-17 13:26:29 +00:00
Richard Davey
af3bb532b5 Use strings to retain correct mapping 2023-02-17 02:12:12 +00:00
Richard Davey
4f6d4a162d Now supports creation of Post FX Controllers 2023-02-17 01:10:54 +00:00
Richard Davey
a2231dddcd Added preFX and postFX and create them within init 2023-02-17 01:10:23 +00:00
Richard Davey
d3c32cdc27 Removed fx property and added init flag 2023-02-17 01:09:57 +00:00
Richard Davey
74f1bc639f Remove old FX component 2023-02-16 23:49:45 +00:00
Richard Davey
f1129f63d2 Moved the FX controllers to the root 2023-02-16 23:49:14 +00:00
Richard Davey
d6314de4db More default properties and exposing the FX consts 2023-02-16 23:06:53 +00:00
Richard Davey
2aae7b37fa Added more jsdocs and default values 2023-02-16 22:15:22 +00:00
Richard Davey
b7e9fe23af Add default values and allow passing from the methods 2023-02-16 18:50:42 +00:00
Richard Davey
cbf42feee1 Refactored so FX is a class sitting on a property, rather than a mixin. 2023-02-16 18:39:14 +00:00
Richard Davey
dd2efb6e5c Added Bokeh and TiltShift FX 2023-02-16 15:04:37 +00:00
Richard Davey
293ea49a39 Update FX.js 2023-02-16 12:59:57 +00:00
Richard Davey
9011d78fd4 Added Wipe FX 2023-02-16 12:53:31 +00:00
Richard Davey
bbc74c4d8e Much neater 2023-02-16 01:55:52 +00:00