Commit graph

17 commits

Author SHA1 Message Date
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
46552c8f2e Remove strict check 2018-08-01 16:04:08 +01:00
Richard Davey
84ae027665 lint fix 2018-07-31 12:59:11 +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
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
Richard Davey
03b651f79f Loads of tweaks re: Transform inheritance. 2016-11-01 00:31:45 +00:00
photonstorm
680ce51842 Updated Container methods, renamed renderers, added Factory. 2016-10-14 02:19:35 +01:00
Renamed from src/gameobjects/container/WebGL.js (Browse further)