Commit graph

5331 commits

Author SHA1 Message Date
Richard Davey
91ee135208 Fixed tint order and exposed via getters. 2016-10-19 03:10:30 +01:00
Richard Davey
5273799912 Added Color component to Stage and Image.
Added tint support into the Batch Manager.
2016-10-19 02:21:20 +01:00
Richard Davey
1aebdb9dd7 Fixed the Batch renderer at last. Just need to add multi-texture support back in. 2016-10-19 01:56:31 +01:00
Richard Davey
238c2fc8aa Trying more things to get it working! 2016-10-19 00:23:40 +01:00
photonstorm
18b12dfc3e Huge amount of work getting the WebGL renderer sorted out, tidied up and merged with the latest Texture and Transform components. 2016-10-18 17:03:25 +01:00
Richard Davey
c39c97f9d8 Starting to split up. 2016-10-17 21:22:55 +01:00
Richard Davey
d3f7813616 Timeline component base. 2016-10-16 23:52:09 +01:00
Richard Davey
60b23a157e Added tint to Color component. 2016-10-16 23:51:54 +01:00
photonstorm
3020e3b8cf Updating core objects. 2016-10-14 08:59:24 +01:00
photonstorm
d8adad4294 Dirty on creation. 2016-10-14 08:58:48 +01:00
photonstorm
64838a319a New Color component. 2016-10-14 08:58:35 +01:00
photonstorm
bfd391b251 Using Color component. 2016-10-14 08:58:26 +01:00
photonstorm
15fbd0962d Renamed to Update Manager. 2016-10-14 08:58:12 +01:00
photonstorm
f9ffe098c3 Check the worldAlpha when rendering. 2016-10-14 06:32:03 +01:00
photonstorm
9fcfa86cbf Forced alpha context. 2016-10-14 06:31:53 +01:00
photonstorm
386e22b0fd Commented out all the bg color stuff. It now just changes the canvas CSS. 2016-10-14 06:31:26 +01:00
photonstorm
9961eeee6b Added worldAlpha property. 2016-10-14 06:31:01 +01:00
photonstorm
9f07eb176b StateManager no longer saves and resets the context around a Canvas state render function. 2016-10-14 06:30:44 +01:00
photonstorm
e06b900a61 Removed antialias, transparent and physicsConfig arguments from the Game constructor. 2016-10-14 06:30:07 +01:00
photonstorm
e01141e522 Added updateFromDirtyParent. 2016-10-14 06:29:42 +01:00
photonstorm
ee20190ea8 The Children component can now skip modifying the Transforms. 2016-10-14 06:29:22 +01:00
photonstorm
582d705b1f Updated base game objects. 2016-10-14 04:09:22 +01:00
photonstorm
60d348c464 Implemented a Dirty Transform Manager. Testing it out, but so far, so good. 2016-10-14 04:09:07 +01:00
photonstorm
849655611f Quick todo list. 2016-10-14 02:21:30 +01:00
photonstorm
ff2caeeb1c Some quick Image tests (will need to move to Sprite soon) 2016-10-14 02:21:21 +01:00
photonstorm
c5088d4ba6 Updated Factory to add to parent. 2016-10-14 02:21:04 +01:00
photonstorm
a85e8cf713 Added Container. 2016-10-14 02:20:43 +01:00
photonstorm
26711241ac Disabled access to World and Camera for now. 2016-10-14 02:20:35 +01:00
photonstorm
f6903df104 Stage now extends Container. 2016-10-14 02:20:01 +01:00
photonstorm
680ce51842 Updated Container methods, renamed renderers, added Factory. 2016-10-14 02:19:35 +01:00
photonstorm
d0cb0f2457 Commented out World and Camera for now. 2016-10-14 02:19:10 +01:00
photonstorm
c2841cc1f6 Fixed parenting. 2016-10-14 02:18:48 +01:00
photonstorm
fe623ec708 Fixed Transform, added in child management methods and tidied up. 2016-10-14 02:18:37 +01:00
Richard Davey
483c3eb34b Updated to work with new Image properties. 2016-10-13 01:54:40 +01:00
Richard Davey
6373d8ebb3 Moved methods and getters around. 2016-10-13 01:54:30 +01:00
Richard Davey
559126d7b5 Moved to using new Transform component, and adjusted other properties. 2016-10-13 01:54:18 +01:00
Richard Davey
d6bb27f51c Disabled the Debug class. 2016-10-13 01:54:01 +01:00
Richard Davey
72ee3c7a84 Updating Image game object to use the new Transform component. 2016-10-13 00:08:26 +01:00
Richard Davey
35854ea58d Cache now adds in Default and Missing images to the new Texture Manager. 2016-10-13 00:08:11 +01:00
Richard Davey
e9b80ecb93 Added the Transform components. 2016-10-12 23:53:39 +01:00
Richard Davey
e05cc8978a Added Data.merge. 2016-10-12 22:39:37 +01:00
photonstorm
ca4874cdd7 Data component updates. 2016-10-12 17:05:27 +01:00
photonstorm
9ed542781b Added the new Data Component. 2016-10-12 15:19:04 +01:00
Richard Davey
271aab1844 Removed the GPU texture handlers out of the Texture Manager, and into the WebGL Renderer. 2016-10-11 23:48:22 +01:00
Richard Davey
379b54b554 Added TextureManager.addSpriteSheetFromAtlas and removed it from the Texture class. 2016-10-11 22:46:23 +01:00
Richard Davey
a2ac0a2c58 Multi-atlas loader support complete, adding to the Texture Manager properly. 2016-10-11 22:11:54 +01:00
Richard Davey
65ce4928d9 Expanded multi-atlas support in the Loader. Fixing ESLint errors too. 2016-10-11 19:50:36 +01:00
Richard Davey
591bf828a9 Phaser.ArrayUtils.numberArray now has optional prefix and suffix arguments, allowing you to do: numberArray(1, 4, 'Level ') and the Array will contain ["Level 1", "Level 2", "Level 3", "Level 4"]. 2016-10-11 17:42:58 +01:00
photonstorm
775dee029d Added Loader.multiatlas - for multi-atlas textures. 2016-10-11 16:48:12 +01:00
photonstorm
ce3308ea1d Hooking the Loader and Cache into the new Texture Manager. 2016-10-11 14:52:17 +01:00