Commit graph

21 commits

Author SHA1 Message Date
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
1abf6e7b1e Sprite now uses BuildAnimation function. 2017-04-11 03:13:51 +01:00
Richard Davey
c8d22fe881 Added BuildGameObject and related functions. Allows you to create a game object via a configuration object, rather than having to call all the functions directly. Applied to Images and Sprites so far. Accessed via this.make.sprite or this.make.image. 2017-04-11 02:49:13 +01:00
Felipe Alfonso
8c479a56c0 Effect Layer 2017-04-06 22:49:15 -03:00
Richard Davey
3356cecc0b Added Sprite.play 2017-04-05 04:41:53 +01:00
Richard Davey
336ea77587 Fixed GO extends. 2017-04-05 02:10:48 +01:00
Richard Davey
b5e8e183b8 Animation Component added. 2017-04-04 23:59:16 +01:00
Richard Davey
8ec9061b43 Removed 'group' / 'parent' argument and forced to the State children component. You should use 'make' if you wish to add elsewhere. 2017-04-04 23:58:33 +01:00
Felipe Alfonso
29ec16fd33 Flip component added to Bob, Image, Sprite and Text 2017-03-20 20:37:17 -03:00
Richard Davey
be05610d3b Removed redundant render vars and Origin method. 2017-03-15 23:44:39 +00:00
Felipe Alfonso
d6f07973b2 Fixed transform issue when dealing with camera transforms 2017-03-06 15:13:39 -03:00
Felipe Alfonso
7dc2feace3 work in progress fix camera for transformed batch renderers 2017-03-03 18:28:04 -03:00
Richard Davey
3826eb732f Working through getting the Bitmap Text size back. 2017-03-02 04:00:39 +00:00
Richard Davey
98eb2e3155 Renderers now using the Origin property. 2017-03-02 02:06:53 +00:00
Richard Davey
1732419749 Blitter and Sprite game objects updated and added back in with new class system. 2017-02-23 03:54:54 +00:00
Felipe Alfonso
feed39a8e6 Canvas rendering working with the new game object 2017-02-22 19:15:50 -03:00
Felipe Alfonso
4deb7ea81c Removed old Transform, renamed Transform2DMatrix to TransformMatrix and updated renderers to work with the new game object. Also a small optimization for TransormMatrix for Identity+translate+rotation+scale transformation 2017-02-22 13:44:14 -03:00
Felipe Alfonso
d309be3b2e Canvas rendering working with the new system. 2017-02-21 17:05:18 -03:00
photonstorm
6ee499132c Huge refactor to sort out the game loop flow. 2017-01-25 17:10:19 +00:00
Richard Davey
115afbc5fc Added in Sprite game object. 2017-01-24 18:08:56 +00:00