Richard Davey
|
56a0b3b3bf
|
Expose more functions (until we tidy this up)
|
2018-08-01 18:02:05 +01:00 |
|
Richard Davey
|
86b829efa6
|
Blank the texture after drawing
|
2018-08-01 18:01:54 +01:00 |
|
Richard Davey
|
94e4411ac1
|
Testing RenderTexture updates to allow any GameObject to be drawn to it
|
2018-08-01 00:01:16 +01:00 |
|
Richard Davey
|
9d7ec132a4
|
Refactoring RenderTexture to remove the matrix stack and add in support for drawing Game Objects and arrays of them
|
2018-07-31 17:10:26 +01:00 |
|
Richard Davey
|
8cb812bbec
|
Merged jsdocs (re: #3823)
|
2018-07-31 15:13:21 +01:00 |
|
Richard Davey
|
7fe9167657
|
The alpha value is now always set for Render Textures in canvas mode, regardless of the previous alpha value in the renderer
|
2018-07-29 12:23:52 +01:00 |
|
Richard Davey
|
a1ae1744ac
|
RenderTexture.preDestroy will now release the canvas back to the CanvasPool if running in canvas mode
Also removed un-used `drawFrame` references.
|
2018-07-29 12:20:09 +01:00 |
|
Richard Davey
|
56e1e04da3
|
RenderTexture.draw would fail to draw the frame in Canvas mode
|
2018-07-29 12:10:28 +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
|
ef79edf1ff
|
New pipeline function call
|
2018-07-11 12:35:23 +01:00 |
|
Richard Davey
|
b7edbe755f
|
Tidying up function
|
2018-07-11 12:35:09 +01:00 |
|
Richard Davey
|
90ba2608fa
|
Added in Camera alpha support to all canvas renderers
|
2018-06-25 16:24:08 +01:00 |
|
Richard Davey
|
f1fe131e56
|
Tidying up Render Texture to make it more useful
|
2018-06-19 14:14:37 +01:00 |
|
Chris Andrew
|
4aaf071ad3
|
Cleaned up some previous documentation, finished the RenderTexture GameObject documentation.
|
2018-06-06 14:23:39 +01:00 |
|
Chris Andrew
|
544daa8d4a
|
Documented the DisplayList and UpdateList plugins, and the BuildGameObject function.
|
2018-06-01 11:36:12 +01:00 |
|
Richard Davey
|
a739be27a1
|
RenderTexture.resize will allow you to resize the underlying Render Texture to the new dimensions given. Doing this also clears the Render Texture at the same time
|
2018-05-29 12:07:40 +01:00 |
|
Richard Davey
|
a7da8dc28f
|
The Canvas RenderTexture drawImage method incorrectly set the values of the frame, causing them to appear wrongly scaled in the canvas renderer. Fix #3710
|
2018-05-29 11:50:23 +01:00 |
|
Richard Davey
|
1a1dbe2dd7
|
lint fix
|
2018-05-23 14:55:51 +01:00 |
|
Richard Davey
|
137f97b325
|
RenderTexture.destroy has been renamed to preDestroy to take advantage of the preDestroy callback system.
|
2018-05-22 15:55:22 +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 |
|
Richard Davey
|
606ba6d8d7
|
Added new Mask component and added to all relevant Game Objects
|
2018-04-20 18:57:49 +01:00 |
|
Richard Davey
|
6299019838
|
Updated to use typeof DefinePlugin check.
|
2018-04-20 00:23:24 +01:00 |
|
Felipe Alfonso
|
1058cff4c8
|
Fixed issue with inverted coordinates on render texture
|
2018-04-13 17:33:43 -03:00 |
|
Felipe Alfonso
|
d3beb043e2
|
Added parent to game objects that called CanvasPool.create2D
|
2018-04-13 12:48:34 -03:00 |
|
Richard Davey
|
4f6239dadb
|
jsdoc and eslint fixes
|
2018-04-05 09:02:36 +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
|
bea7ca36ad
|
Merge branch 'master' into containers
# Conflicts:
# src/renderer/webgl/pipelines/TextureTintPipeline.js
|
2018-04-04 12:07:41 -03:00 |
|
Felipe Alfonso
|
198180fec6
|
Fixed issue https://github.com/photonstorm/phaser/issues/3475
|
2018-04-03 12:03:02 -03:00 |
|
Felipe Alfonso
|
4f8ddd73bb
|
Merge branch 'master' into containers
|
2018-03-29 12:35:40 -03:00 |
|
Richard Davey
|
fba8183d94
|
Fixed docs order
|
2018-03-29 12:54:33 +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 |
|
Richard Davey
|
2cd7da0126
|
The RenderTexture now uses the ComputedSize component instead of Size (which requires a frame), allowing calls to getBounds to work. Fix #3451
|
2018-03-23 10:00:25 +00:00 |
|
Richard Davey
|
04b5985724
|
Merge pull request #3445 from delftswa2018/3385-Rendertexture-alpha-not-changing-in-WEBGL-mode
Fix changing alpha in RenderTextureWebGLRenderer
|
2018-03-22 14:52:14 +00:00 |
|
Gerard van Alphen
|
78c1e86021
|
Fix changing alpha in RenderTextureWebGLRenderer
|
2018-03-22 14:58:41 +01:00 |
|
orblazer
|
5a518f2e5f
|
Fix "object" types on Camera and GameObjecs
|
2018-03-20 23:28:26 +01:00 |
|
orblazer
|
87633fdfad
|
Fix multiple types on GameObjects
|
2018-03-20 15:56:31 +01:00 |
|
Richard Davey
|
620bcc6ae5
|
jsdoc fixes and additions
|
2018-03-19 13:45:00 +00:00 |
|
Felipe Alfonso
|
be81ddfd51
|
Fixed issue on RenderTexture canvas clear. The clearRect was affected by previous transformations
|
2018-03-12 13:30:05 -03:00 |
|
Felipe Alfonso
|
9585a1c78b
|
Fixed issue of render texture only rendering the first frame. It should've read the cut properties
|
2018-03-12 13:27:32 -03:00 |
|
Felipe Alfonso
|
9a21b4c7f4
|
Fixed issue with render texture tint
|
2018-03-06 15:56:33 -03:00 |
|
Richard Davey
|
bfabe35cdf
|
eslint fixes
|
2018-03-05 21:49:08 +00:00 |
|
Felipe Alfonso
|
ddc85cfdc7
|
Added support for tint and alpha to RenderTexture
|
2018-03-05 16:57:41 -03:00 |
|
Richard Davey
|
4c59d9a35d
|
Added jsdocs
|
2018-03-05 02:24:47 +00:00 |
|
Richard Davey
|
4d16b0c00a
|
eslint fixes
|
2018-03-05 01:45:28 +00:00 |
|
Richard Davey
|
ef3df149c6
|
Fixed RenderTexture flipY
|
2018-03-05 01:42:37 +00:00 |
|
Richard Davey
|
ae1c91cf6a
|
eslint fixes
|
2018-03-05 01:40:11 +00:00 |
|