Commit graph

17625 commits

Author SHA1 Message Date
Richard Davey
f34657cf87 Removed the Tint and Flip components from the Camera class. Neither were ever used internally, or during rendering, so it was just confusing having them in the API. 2021-10-17 16:34:45 +01:00
Richard Davey
ba0a52e386 Update SpriteFXPipeline.js 2021-10-16 15:30:03 +01:00
Richard Davey
638fd113b5 Flip the Y on textures 2021-10-16 15:23:33 +01:00
Richard Davey
90d05a0f34 Update CHANGELOG.md 2021-10-16 15:23:23 +01: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
325f1c54ae Update CHANGELOG.md 2021-10-16 15:09:00 +01:00
Richard Davey
5e509bd72b Removed 'drawToFrame' (it's the only option) and added 'batchTexture' 2021-10-16 15:08:58 +01:00
Richard Davey
7a705d757c The Text Game Object would call the pre and post batch functions twice by mistake, potentially applying a post fx twice to it. 2021-10-16 15:08:39 +01:00
Richard Davey
acc9f07e5c Fixed data and alpha value 2021-10-15 18:45:23 +01:00
Richard Davey
fd1ab765a3 Full JSDocs and tidied up all the methods 2021-10-15 18:39:10 +01:00
Richard Davey
dddf601acb Added onFXCopy 2021-10-15 18:38:57 +01:00
Richard Davey
582677a417 Deps update 2021-10-15 00:59:16 +01:00
Richard Davey
efa8c8b5a5 Fixed verts and called onFX 2021-10-15 00:59:04 +01:00
Richard Davey
163978452e Added onFX 2021-10-15 00:58:40 +01:00
Richard Davey
6c00b5cfc4 Added onPreCopy 2021-10-14 18:51:39 +01:00
Richard Davey
8272e1b319 Update CHANGELOG.md 2021-10-14 18:46:04 +01:00
Richard Davey
8a89700bf7 Fixed shader uniform issue and tidied up code 2021-10-14 18:45:59 +01:00
Richard Davey
a734b4ca6a Update package-lock.json 2021-10-14 18:45:45 +01:00
Richard Davey
bfecf9da5a RenderTarget will now automatically set the wrapping mode to clamp. 2021-10-14 18:45:41 +01:00
Richard Davey
c1c8e5d12b The WebGLRenderer.createTextureFromSource method has a new optional boolean parameter forceClamp that will for the clamp wrapping mode even if the texture is a power-of-two. 2021-10-14 18:45:28 +01:00
Richard Davey
d5a86d7b07 Update SpriteFXPipeline.js 2021-10-14 01:08:06 +01:00
Richard Davey
5d2749f5d6 Update SpriteFXPipeline.js 2021-10-14 00:55:27 +01:00
samme
15b62e1756 Docs: fix types in Phaser.Tilemaps.ObjectHelper#setFromJSON 2021-10-13 15:58:32 -07:00
Richard Davey
219ff50b90 Fixed copyFrame handling 2021-10-13 23:38:04 +01:00
Richard Davey
bb384382f7 Update package-lock.json 2021-10-13 23:37:48 +01:00
Richard Davey
80904899e2 Update CHANGELOG.md 2021-10-13 23:37:39 +01:00
Richard Davey
c4c5453dfb Removed log 2021-10-13 23:35:29 +01:00
samme
ba5e4ffab7 Docs: add Phaser.Types.GameObjects.Particles.ParticleClassConstructor
Fixes #5731 ?
2021-10-13 13:23:31 -07:00
samme
52e402e14e Docs: add Phaser.Types.GameObjects.Group.GroupClassTypeConstructor 2021-10-13 13:22:54 -07:00
Richard Davey
fd54fa741c Update SpriteFXPipeline.js 2021-10-13 18:56:41 +01:00
Richard Davey
635e7283d5 Added buffer to setVertexBuffer and setShader 2021-10-13 18:56:31 +01:00
Richard Davey
b8b9fe4cff Deps update 2021-10-13 14:47:24 +01:00
Richard Davey
0bf366a096 Update SpriteFXPipeline.js 2021-10-13 13:04:08 +01:00
Richard Davey
2782e594c3 Update CHANGELOG.md 2021-10-12 21:47:52 +01:00
Richard Davey
803d71469e Fixed the vert and uv handling 2021-10-12 21:47:48 +01:00
Richard Davey
4f454a5701 Update WebGLPipeline.js 2021-10-12 21:47:39 +01:00
Richard Davey
3afc8b1a8e Flip the verts 2021-10-12 21:47:33 +01:00
Richard Davey
6eebd6c1cf GameObjects.Components.FX is a new component that provides access to FX specific propertis and methods. The Image and Sprite Game Objects have this component by default. 2021-10-12 21:47:24 +01:00
Richard Davey
d34f0ea2e0 Upgraded TypeScript 2021-10-12 21:03:09 +01:00
Richard Davey
2a473889dc Update SpriteFXPipeline.js 2021-10-12 18:54:06 +01:00
Richard Davey
85c6c4be44 Swap frame support added and drawSprite method 2021-10-12 18:00:50 +01:00
Richard Davey
68c3fc4171 Fixed resizing. Set RTs in boot. 2021-10-12 16:09:53 +01:00
Richard Davey
6fe88aeee7 Refactored to use existing functions where possible 2021-10-12 13:32:39 +01:00
Richard Davey
9e9c9298eb Much better renderTarget handling. Sprite now draws properly. Config handling done. Need to fix bindAndDraw 2021-10-12 01:03:45 +01:00
Richard Davey
53eb64b92b Added isSpriteFX property 2021-10-12 01:03:18 +01:00
Richard Davey
904ca9f7c4 Removed SpriteFX as you extend it, not instantiate it 2021-10-12 01:03:04 +01:00
Richard Davey
fd655d054c Added fxPadding property to Image 2021-10-12 01:02:42 +01:00
Richard Davey
76b3f813d0 Update package-lock.json 2021-10-12 01:02:28 +01:00
Richard Davey
5433e7c783 Update CHANGELOG.md 2021-10-12 01:02:25 +01:00