Commit graph

21 commits

Author SHA1 Message Date
Richard Davey
ea7691518b Use public property for blend mode check #4771 2019-10-01 14:08:13 +01:00
Richard Davey
7d2eaae693 The Container renderer functions will now read the childs alpha property, instead of _alpha, allowing it to work with more variety of custom children. 2019-08-08 14:03:23 +01:00
Richard Davey
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
Richard Davey
198f353c9a The default Container Blend Mode is now SKIP_TEST. This allows you to either set a blend mode for a Container, in which case all children use that blend mode. Or, you can set a blend mode on the children and the children will render using their own blend modes, as the Container doesn't have one set. The WebGL and Canvas Renderer functions have also been updated to support this change. Fix #3684 2018-08-21 22:07:35 +01:00
Richard Davey
fc0dc13930 Removed use of currentBlendMode and currentAlpha 2018-08-03 01:53:51 +01:00
Richard Davey
20b74e746a Fixed parent order 2018-08-02 16:19:14 +01:00
Richard Davey
718d72b4c8 Container child willRender check. Fix #3881 2018-07-31 12:57:31 +01:00
Richard Davey
106e32a4f5 Removed un-used imports 2018-07-19 13:26:11 +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
Felipe Alfonso
091d947eae Container scroll factor implemented to the render functions 2018-04-11 11:02:04 -03:00
Felipe Alfonso
14a651e509 Fixed inverted rotation on TransformMatrix 2018-04-10 14:13:23 -03:00
Felipe Alfonso
1eaee870c7 Set rotation of container to be negative at render time. Removed unnecessary call to multiply on TransformMatrix rotate 2018-04-10 13:25:13 -03:00
Felipe Alfonso
9d39bd7b45 Container alpha added 2018-04-09 12:32:08 -03:00
Richard Davey
e0f95bb3fa Now using proper array 2018-04-05 13:52:11 +01:00
Richard Davey
054ceafae0 Added jsdocs to Container and made add support arrays 2018-04-05 09:23:29 +01:00
Richard Davey
4f6239dadb jsdoc and eslint fixes 2018-04-05 09:02:36 +01:00
Felipe Alfonso
5026566084 Container Canvas Rendering function 2018-04-04 12:22:10 -03:00
Felipe Alfonso
5bcd12fcb7 Base container rendering + sprite batching with parent matrix 2018-03-23 14:15:52 -03:00
Richard Davey
0d90f75b5f Splitting the dev branch up into versions. 2016-11-22 01:36:56 +00:00
photonstorm
680ce51842 Updated Container methods, renamed renderers, added Factory. 2016-10-14 02:19:35 +01:00