Commit graph

43 commits

Author SHA1 Message Date
Richard Davey
6b2307594a Scene plugin flow overhaul
Every Plugin has been updated to correctly follow the same flow through the Scene lifecycle. Instead of listening for the Scene 'boot' event, which is only dispatched once (when the Scene is first created), they will now listen for the Scene 'start' event, which occurs every time the Scene is started. All plugins now consistently follow the same Shutdown and Destroy patterns too, meaning they tidy-up after themselves on a shutdown, not just a destroy. Overall, this change means that there should be less issues when returning to previously closed Scenes, as the plugins will restart themselves properly.
2018-04-13 17:12:17 +01:00
Richard Davey
703f04025b Added warning to docs 2018-04-12 22:49:02 +01:00
Richard Davey
f13bbca9c3 Fix getWorldBounds clash 2018-04-12 14:25:46 +01:00
Richard Davey
38626f8556 Added originX/Y properties. Fix #3545 2018-04-11 21:07:41 +01:00
Richard Davey
223c94a783 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-11 16:58:52 +01:00
Richard Davey
0e14b43623 Added maxSize, jsdocs and ts def fixes 2018-04-11 16:58:48 +01:00
Felipe Alfonso
5e2699f1a4 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-04-11 12:55:54 -03:00
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
Richard Davey
a1e10a4bbc Added missing extends and removed setSF because defaults are 1,1 anyway 2018-04-11 15:39:30 +01: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
Richard Davey
1fa909081c eslint fixes 2018-04-10 17:35:14 +01: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
85671883e8 Tidying up 2018-04-05 11:25:22 +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
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