Commit graph

42 commits

Author SHA1 Message Date
Felipe Alfonso
23cd9868b4 Added getWorldTransformMatrix to Container and added support to parent container transform to GetBounds component. 2018-04-11 12:55:32 -03:00
Felipe Alfonso
091d947eae Container scroll factor implemented to the render functions 2018-04-11 11:02:04 -03:00
Richard Davey
30d73a0197 Container can now be assigned an arcade physics body 2018-04-11 13:37:38 +01:00
Richard Davey
e2a0a4a5a7 Start of getBounds 2018-04-11 13:17:35 +01:00
Richard Davey
e135f132d9 Added missing properties needed for input to work 2018-04-11 11:25:11 +01:00
Felipe Alfonso
14a651e509 Fixed inverted rotation on TransformMatrix 2018-04-10 14:13:23 -03:00
Richard Davey
1fa909081c eslint fixes 2018-04-10 17:35:14 +01: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
Richard Davey
be7b52b1b9 No longer extends List, but implements its own methods directly. 2018-04-10 15:21:46 +01:00
Richard Davey
cdfe2e0ea2 Fixed references 2018-04-10 04:13:38 +01:00
Richard Davey
3c5d3db267 Testing exclusive setting 2018-04-09 17:33:55 +01:00
Richard Davey
12b6b26838 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-09 16:43:37 +01:00
Felipe Alfonso
9d39bd7b45 Container alpha added 2018-04-09 12:32:08 -03:00
Richard Davey
381963c014 Removed localToWorld (no longer needed) 2018-04-09 16:01:16 +01:00
Richard Davey
eb0f3c3ec1 Added missing Container components 2018-04-05 16:53:40 +01:00
Richard Davey
7e64b4d624 Automatically remove from display list 2018-04-05 15:28:34 +01:00
Richard Davey
fb04cd4869 Containers are now exclusive 2018-04-05 14:59:57 +01:00
Richard Davey
183896f8ff Added parentContainer property 2018-04-05 14:56:43 +01:00
Richard Davey
13df64c01f Extends List 2018-04-05 13:52:42 +01:00
Richard Davey
6ccb0f2dc4 Accepts optional children array 2018-04-05 13:52:24 +01:00
Richard Davey
e0f95bb3fa Now using proper array 2018-04-05 13:52:11 +01:00
Richard Davey
85671883e8 Tidying up 2018-04-05 11:25:22 +01:00
Richard Davey
c1517d60ed eslint fixes 2018-04-05 09:28:04 +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
0186e122a6 If a container is nested the parentContainer property is setted 2018-03-29 12:34:23 -03:00
Felipe Alfonso
88ed9bd3b8 transform to container space 2018-03-28 20:47:57 -03:00
Felipe Alfonso
b23ad3b130 Fixed issue with creating containers and graphics with scene.make. 2018-03-27 17:32:33 -03:00
Felipe Alfonso
eac2b8338e parentTransformMatrix argument added to texture pipeline 2018-03-26 17:23:18 -03:00
Felipe Alfonso
5bcd12fcb7 Base container rendering + sprite batching with parent matrix 2018-03-23 14:15:52 -03:00
Richard Davey
feee8e34e8 Moved Container out of prod for now. 2018-01-26 05:25:30 +00:00
Richard Davey
f9a7939812 Lots of work migrating to the new plugin system, fixing references and exposing on the namespace 2018-01-16 22:28:29 +00:00
Richard Davey
d8f1ba03e9 Moved repository location 2018-01-09 21:43:56 +00:00
Richard Davey
0d90f75b5f Splitting the dev branch up into versions. 2016-11-22 01:36:56 +00:00
photonstorm
fa3905c8c7 Containers added themselves to States properly. 2016-11-10 17:04:29 +00:00
Richard Davey
03b651f79f Loads of tweaks re: Transform inheritance. 2016-11-01 00:31:45 +00:00
photonstorm
9961eeee6b Added worldAlpha property. 2016-10-14 06:31:01 +01:00
photonstorm
680ce51842 Updated Container methods, renamed renderers, added Factory. 2016-10-14 02:19:35 +01:00
Richard Davey
0af16817a5 Refactored GameObjects to GameObject. 2016-10-09 22:27:58 +01:00
Richard Davey
fb13151959 Start of the container. 2016-10-08 17:19:55 +01:00
Richard Davey
729020477a New Game Objects structure in place, and starting to take shape.
Moved BitmapData and RenderTexture into the textures folder for now.

All Game Objects now have their own sub-folder, with their Factory and renderer functions alongside them, plus any other files they need.

New Factory class added. Currently hooked into `game.factory` for testing, but will swap to `game.add` when complete.
2016-10-08 03:05:42 +01:00