Commit graph

20 commits

Author SHA1 Message Date
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
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
Chris Andrew
4aaf071ad3 Cleaned up some previous documentation, finished the RenderTexture GameObject documentation. 2018-06-06 14:23:39 +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
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
606ba6d8d7 Added new Mask component and added to all relevant Game Objects 2018-04-20 18:57:49 +01:00
Felipe Alfonso
d3beb043e2 Added parent to game objects that called CanvasPool.create2D 2018-04-13 12:48:34 -03:00
Felipe Alfonso
198180fec6 Fixed issue https://github.com/photonstorm/phaser/issues/3475 2018-04-03 12:03:02 -03:00
Richard Davey
fba8183d94 Fixed docs order 2018-03-29 12:54:33 +01: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
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
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
ae1c91cf6a eslint fixes 2018-03-05 01:40:11 +00:00
Felipe Alfonso
7c96e93c47 Canvas RenderTexture rendering added 2018-02-23 21:05:15 -03:00
Felipe Alfonso
ef8e92dc01 RenderTexture base webgl implementation 2018-02-23 00:44:22 -03:00