photonstorm
b2713fa017
Added GameObject.willRender method.
2017-07-27 14:22:05 +01:00
photonstorm
c3ba02aaaa
Removing hitArea in place of input
(InteractiveObject)
2017-07-18 13:54:43 +01:00
photonstorm
d804e056ed
Renaming from State to Scene internally.
...
This is one monster update.
2017-07-14 14:50:51 +01:00
photonstorm
dd3fa23bab
Modified setHitArea to pass the GO via the State Input Manager.
2017-07-13 15:49:06 +01:00
Richard Davey
6efeb2c90f
Added hitArea property and setHitArea method
2017-07-13 02:05:32 +01:00
photonstorm
423326c71b
Added empty update method so that default GameObjects can be added to Pools.
2017-07-07 18:26:03 +01:00
photonstorm
1c4ad2400a
Triggered z-depth sort on creation.
2017-07-07 18:12:57 +01:00
Richard Davey
ff864409fc
Added Active property and toggle method.
2017-07-07 01:56:02 +01:00
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