Commit graph

20 commits

Author SHA1 Message Date
photonstorm
991ab2576d Broke the lists apart into DisplayList and UpdateList, as the vast majority of Game Objects don't ever need to have their preUpdate methods called as they are empty. 2017-07-04 16:44:16 +01:00
Richard Davey
f770712c2a Huge refactoring of States, plugins and object factories 2017-07-04 01:59:31 +01:00
Richard Davey
9d1640063b Added tabIndex property. 2017-05-01 01:27:35 +01:00
Richard Davey
81c6124a4d Added more toJSON GameObject functions. 2017-04-13 00:35:27 +01:00
Richard Davey
929d6fc8ef Enforced GameObjects to specify their type (a string based const) 2017-04-13 00:05:12 +01:00
Richard Davey
ea0af28983 Default preUpdate function. 2017-04-04 23:59:27 +01:00
Richard Davey
168ce84a01 GameObject.destroy calls Children.remove. 2017-03-30 13:28:40 +01:00
Richard Davey
63b2b55cf8 Brand new components and Class structure for Game Objects. Cleaner, leaner and more powerful than ever before. Whoop whoop! :) 2017-02-23 03:10:48 +00:00
photonstorm
f083699986 Removed transform from Children.
Added parent property.
2017-02-22 16:37:49 +00:00
photonstorm
9f9a49ec8c GO update. 2017-02-22 16:30:53 +00:00
Felipe Alfonso
efdc4898f3 Removed global scene graph. New system works with camera system 2017-02-20 21:38:22 -03:00
Richard Davey
05ff84f282 dirtyLocal test. 2017-01-31 18:27:43 +00:00
photonstorm
9371753b2c New Anchor component.
DrawImage now takes anchor arguments.
GameObject.angle fixed and all the other Transform accessors added back in (except Pivot).
Wrap fixed to not wrap if value is within range already.
2017-01-31 14:55:15 +00:00
Felipe Alfonso
371e779b11 Fixed issue when trying to render image on canvas with new transform 2017-01-31 10:32:03 -03:00
Richard Davey
7d83c9971f Fixed new Transform Component integration with Canvas Renderer. 2017-01-31 00:56:13 +00:00
Richard Davey
ebf4a50ca6 Updated so Game Objects and States are using the new experimental Transform 2. 2017-01-30 23:58:29 +00:00
photonstorm
6ee499132c Huge refactor to sort out the game loop flow. 2017-01-25 17:10:19 +00:00
Richard Davey
270504923d Fixed Scale Mode references. 2017-01-18 14:48:02 +00:00
photonstorm
275badf1ed Removed Phaser global use from modules. 2016-12-13 16:38:47 +00:00
Richard Davey
82d1ceeba4 Adding in WebGL Renderer. 2016-12-07 02:28:22 +00:00