Commit graph

46 commits

Author SHA1 Message Date
Felipe Alfonso
3e8e6141c8 Added render pass component to renderable game objects 2017-03-28 15:16:02 -03: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
57a90997e7 Tidied up Class, fixed a few bounds checks and exposed the utils. 2017-02-28 01:10:45 +00:00
Richard Davey
5e5a5ac776 Testing out new Bounds component and Class getter mods. 2017-02-27 09:49:04 +00:00
Richard Davey
1cddea424e Added and fixed-up the Container game object. 2017-02-24 02:59:44 +00:00
Richard Davey
b6bef1ded9 Fixed issue with component private vars being shared.
Added Key Capture to Keyboard Manager.
Added rotation and angle wrapping.
Optmized getBounds.
2017-02-24 01:45:24 +00:00
photonstorm
c88749af98 Added in GetBounds component and fixed angle error in Transform. 2017-02-23 17:15:41 +00: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
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
photonstorm
f083699986 Removed transform from Children.
Added parent property.
2017-02-22 16:37:49 +00:00
Felipe Alfonso
d309be3b2e Canvas rendering working with the new system. 2017-02-21 17:05:18 -03:00
Felipe Alfonso
1a0f4119c6 Cameras working with BlitterBatch 2017-02-21 16:21:03 -03:00
Felipe Alfonso
efdc4898f3 Removed global scene graph. New system works with camera system 2017-02-20 21:38:22 -03:00
Richard Davey
b0e2018c73 Fixed issue with scope of the GameObjectFactory in multi-state games. 2017-02-07 21:49:25 +00:00
Felipe Alfonso
f488722212 Removed unnecessary localMatrix on transform 2017-01-31 21:35:53 -03:00
Felipe Alfonso
758369593f Inlined spriteBatch.add 2017-01-31 18:40:29 -03:00
photonstorm
69a9e59f8f Testing performance. 2017-01-31 17:04:31 +00:00
Felipe Alfonso
d1928a1254 SpriteBatch32 renderer using new transform 2017-01-31 13:27:07 -03: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
Richard Davey
7d83c9971f Fixed new Transform Component integration with Canvas Renderer. 2017-01-31 00:56:13 +00:00
Richard Davey
0e0fceb5f7 Removed Camera as root container. Images now skipTransform. 2017-01-27 00:07:57 +00:00
photonstorm
6ee499132c Huge refactor to sort out the game loop flow. 2017-01-25 17:10:19 +00:00
Felipe Alfonso
7decd4afcb Blend Mode added to WebGLRenderer 2017-01-23 18:42:47 -03:00
Felipe Alfonso
bf9022bbe0 Anchoring support on SpriteBatch 2017-01-23 16:35:14 -03:00
Felipe Alfonso
741415877e Per vertex color added to SpriteBatch 2017-01-23 11:58:58 -03:00
Felipe Alfonso
ba4b4b9892 Update SpriteBatch to work properly with Transform 2017-01-20 14:58:41 -03:00
Richard Davey
4ac4d406b2 Hooked up SpriteBatch. 2017-01-19 23:20:36 +00:00
Richard Davey
7d044d7f14 Updating game loop 2017-01-18 16:11:29 +00:00
Richard Davey
a03d1a571c Fixed renderer references. 2017-01-16 23:05:27 +00:00
Richard Davey
9235d6fe58 Lots of Canvas Renderer fixes.
Merged CONST with Phaser export.
Fixed GetObjectValue check.
Added drawImage data to Frame.
2017-01-16 22:44:02 +00:00
Richard Davey
2809d80813 Working on the Canvas Renderer. 2017-01-12 21:28:40 +00:00
photonstorm
6b1895e8ed worldAlpha is now calculated in the read, not in preUpdate all the time. 2016-12-20 16:35:20 +00:00
Richard Davey
5e0bbd7028 Fixed ability for it to load multi-part files and parse atlas data. 2016-12-07 10:50:10 +00:00
Richard Davey
cee7498180 Fixes to get the renderer working. 2016-12-07 03:42:41 +00:00
Richard Davey
a081ae8904 Path fixes. 2016-12-07 02:29:22 +00:00
Richard Davey
82d1ceeba4 Adding in WebGL Renderer. 2016-12-07 02:28:22 +00:00
photonstorm
34303f1df6 Added in the Update Manager, MainLoop and State Systems. 2016-11-29 15:25:14 +00:00
photonstorm
3cac9fbba8 Added Game Object Creator. 2016-11-29 11:06:14 +00:00
photonstorm
28db9a2550 Lots of work on the Game Object Factory patterns. 2016-11-29 10:46:35 +00:00
photonstorm
e83bd3d544 Added NOOP.
Added Config pre and post boot callbacks.
Added Image and start of the Game Factory rebuild.
2016-11-28 16:55:25 +00:00