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
36e6bc8a05
Added PostPipeline component
2023-02-03 17:52:36 +00:00
Richard Davey
35163ec483
TileSprite will now error if you try and use a Dynamic Texture. Fix #6368
2023-02-01 18:18:41 +00:00
Richard Davey
3eaf5d5679
Fixed Factory jsdocs
2023-01-10 22:04:10 +00:00
Richard Davey
468bf7821d
Updated copyright year
2023-01-02 17:36:27 +00:00
Richard Davey
e608c2caf1
The CONTEXT_RESTORED
Game Event has been removed and the WebGL Renderer no longer listens for the contextrestored
DOM event, or has a contextRestoredHandler
method. This never actually worked properly, in any version of Phaser 3 - although the WebGLRenderer would be restored, none of the shaders, pipelines or textures were correctly re-created. If a context is now lost, Phaser will display an error in the console and all rendering will halt. It will no longer try to re-create the context, leading to masses of WebGL errors in the console. Instead, it will die gracefully and require a page reload.
2022-11-17 18:04:51 +00:00
Richard Davey
4a5f6adfe4
Enable for debugging
2022-10-28 18:22:57 +01:00
Richard Davey
9f78ccf2f5
Error if using compressed texture for TileSprite
...
fix #6156
2022-06-27 18:11:00 +01:00
Richard Davey
a4d8e87095
Fixed lint errors
2022-05-10 17:06:53 +01:00
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
3546140b51
Merge branch 'master' of https://github.com/photonstorm/phaser
2022-02-03 21:50:54 +00:00
Richard Davey
c1b36610fb
Update TileSprite.js
2022-02-03 21:50:52 +00:00
samme
f81a047029
Docs: correct type for TileSpriteConfig.frame
...
Fixes #5955
2021-12-23 13:35:04 -08:00
Richard Davey
9d7a575a4f
Added FX component
2021-10-16 15:23:19 +01:00
Richard Davey
43df6de757
Removed duplicate post fx calls
2021-10-16 15:22:30 +01:00
Richard Davey
2f8d6a023d
Updated version number
2021-09-20 11:41:47 +01:00
Rex
a6c75a36c8
Turn off context restore event when game object is destroyed
2021-06-12 12:44:23 +08:00
Matt Jennings
72fd48abc4
safely check for renderer in TileSprite
2021-02-11 16:00:24 -06: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
0ee1338765
Better post pipeline call (less code)
2020-11-26 09:51:40 +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
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
d670edd708
No need to reference via game
2020-10-27 13:55:27 +00: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
4ade25fc79
No longer read private values for tint
...
The `Multi Pipeline`, `Bitmap Text`, `Render Texture`, `Text`, `TileSprite` and `Camera` now all read the tint values from the public properties instead of the private `_tintTL` etc ones. They also now set the `tintEffect` value directly from the `tintFill` property, removing another conditional check.
2020-09-14 11:05:09 +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
848377b8d8
The TileSprite Game Objects now support rendering with normal maps.
2020-07-16 16:59:53 +01:00
Richard Davey
dea68135fd
Correct texture type. Fix #5199
2020-07-13 13:29:01 +01:00
Richard Davey
ff65e69cd1
Changed copyright date to 2020
2020-01-15 12:07:09 +00:00
Richard Davey
c37058ef4b
When calling TileSprite.setTexture
or setFrame
, if the new frame size didn't match the old one, the new fill pattern would become distorted and the potWidth
and potHeight
values would be incorrect.
2019-11-19 11:49:54 +00:00
Richard Davey
5b6d9895be
TileSprites will now throw a console warning if you try to use a RenderTexture or GLTexture as their frame source. Fix #4719
2019-10-01 13:37:37 +01:00
Richard Davey
f4002471d7
Updated context lost / restored handlers
2019-07-17 16:38:00 +01:00
Richard Davey
c91ed91ce3
License link update
2019-05-10 16:15:04 +01:00
Richard Davey
b09ddc9048
GameObject Types
2019-05-09 12:01:00 +01:00
Richard Davey
7ba03dff54
TileSprite Types
2019-05-09 11:59:43 +01:00
Richard Davey
e017691c68
The ScaleMode
Component has been removed from every Game Object, and along with it the scaleMode
property and setScaleMode
method. These did nothing anyway as they were not hooked to the render pipeline and scale mode should be set on the texture, not the Game Object. Fix #4413
2019-03-24 23:07:27 +00:00
Richard Davey
c9bdb83941
GameObject and Loader typedefs
2019-02-13 13:57:59 +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
Richard Davey
f8c4252fcb
Tweaked setTileScale arguments
2019-02-08 12:13:01 +00:00
Cédric Lesquir
e40cb21fc8
Bail out updateTileTexture if no renderer
2019-01-22 11:23:40 -05:00
Cédric Lesquir
cd6488e8db
Headless tilesprite crash fix
...
Fixes issue https://github.com/photonstorm/phaser/issues/4297
2019-01-19 16:50:36 -05:00
Richard Davey
3e48021903
Clarified docs
2019-01-16 12:13:04 +00:00
Richard Davey
aa341854c7
Happy New Year
2019-01-15 16:20:22 +00:00
Richard Davey
f1fdc5dcf5
Changing TileSprite.width
or TileSprite.height
will now flag the texture as dirty and call updateDisplayOrigin
, allowing you to resize TileSprites dynamically in both Canvas and WebGL.
2018-11-20 15:32:15 +00:00
Richard Davey
4b1c762296
Updated @memberOf to @memberof
2018-10-10 10:49:13 +01:00
Richard Davey
0f929bf0cc
TileSprites that were set to be interactive before they had rendered once wouldn't receive a valid input hit area, causing input to fail. They now define their size immediately, allowing them to be made interactive without having rendered. Fix #4085
2018-10-05 16:27:42 +01:00