Commit graph

132 commits

Author SHA1 Message Date
Felipe Alfonso
7477eb5cf9 Snapshot implementation 2017-05-16 15:15:01 -04:00
Felipe Alfonso
70802cedcb upload to GPU graphics 2017-05-10 23:52:32 -03:00
Felipe Alfonso
f84f4e626c Graphics canvas texture generation 2017-05-10 21:24:57 -03:00
Felipe Alfonso
6511b4b0d5 Internal Transform Stack for Graphics 2017-05-08 17:13:48 -03:00
Felipe Alfonso
da9a6de007 Canvas TileSprite 2017-05-03 21:14:14 -03:00
Felipe Alfonso
12d3771c0a Tile Sprite rendering on WebGL 2017-05-02 17:57:21 -03:00
Felipe Alfonso
e6fefdab24 Using canvas buffer for generating tile texture 2017-04-28 15:10:32 -03:00
Felipe Alfonso
4073db3551 TileSprite base and renderer 2017-04-25 19:09:13 -03:00
Felipe Alfonso
3c476ae26b Fixed EffectRenderer 2017-04-20 21:25:31 -03:00
Felipe Alfonso
1742ec0f12 RenderPass Update 2017-04-20 15:06:57 -03:00
Felipe Alfonso
fd4d25a3b6 RenderPass update 2017-04-18 19:15:10 -03:00
Felipe Alfonso
bcbec418b1 Fixed Graphics and Blitter issue with renderTarget 2017-04-13 12:45:01 -03:00
Felipe Alfonso
581fdb50ee RenderTarget added to renderable game objects 2017-04-11 10:15:38 -03:00
Felipe Alfonso
d08e23f4f4 Reset renderTarget to null when rendering camera effects 2017-04-10 16:15:18 -03:00
Felipe Alfonso
0370ebf15e Fixed clearing render target issue 2017-04-07 02:06:55 -03:00
Felipe Alfonso
b1b184aed4 render target dimensions don't affect viewport 2017-04-07 01:34:35 -03:00
Felipe Alfonso
e83db4445f Fixed issue with attribute order on osx and ios 2017-04-07 01:23:44 -03:00
Felipe Alfonso
511781bdb0 More granular errors and warnings 2017-04-07 00:42:06 -03:00
Felipe Alfonso
8c479a56c0 Effect Layer 2017-04-06 22:49:15 -03:00
Felipe Alfonso
63a614ef74 fixed issues with Text rendering 2017-04-06 14:40:43 -03:00
Felipe Alfonso
aa8f0820c0 Resource clean up and adapted batches to allow shader swapping 2017-04-05 19:01:44 -03:00
Felipe Alfonso
85a3830f1a Shader resource creation added to webgl renderer 2017-04-05 14:59:59 -03:00
Felipe Alfonso
0fedb3b390 Fixed RGB and alpa per point on a path 2017-03-29 20:44:07 -03:00
Felipe Alfonso
a1b6978b8e Sprite Batch now handles alpha 2017-03-28 11:20:53 -03:00
Felipe Alfonso
58e4912633 Moved uploadCanvasToGPU to WebGLRenderer 2017-03-21 17:45:57 -03:00
Felipe Alfonso
0cdb150357 Text rendering via canvas/texture upload 2017-03-21 17:08:43 -03:00
Felipe Alfonso
29ec16fd33 Flip component added to Bob, Image, Sprite and Text 2017-03-20 20:37:17 -03:00
Richard Davey
22154d905d Updated originX/Y to use a normalized value between 0 and 1. Added the properties displayOriginX and displayOriginY (read only) to hold the calculated pixel values. Updated renderers to use these values. 2017-03-15 23:08:59 +00:00
Felipe Alfonso
d0de931c93 per point coloring for line rendering 2017-03-15 16:23:10 -03:00
Felipe Alfonso
fd71283e1d fixed issue with canvas draw image and camera scroll 2017-03-15 14:25:52 -03:00
Felipe Alfonso
400b18b5ce Fixed bug on ShapeBatch with corner wrapping to the first element. Also added lineWidthTo and moveWidthTo allowing easy creation of trails 2017-03-14 19:13:31 -03:00
Felipe Alfonso
b8f0b3357d Added fillTriangle and strokeTriangle to Graphics Game Object 2017-03-07 21:51:09 -03:00
Felipe Alfonso
9ed1216ad6 line rendering 2017-03-07 01:29:51 -03: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
Felipe Alfonso
a6140d8979 changed the maximum amount of vertices for shape batch 2017-03-02 16:30:37 -03:00
Richard Davey
98eb2e3155 Renderers now using the Origin property. 2017-03-02 02:06:53 +00:00
Felipe Alfonso
fdc627fb92 Fixed overflowing buffer on Graphics webgl renderer 2017-03-01 20:23:46 -03:00
Felipe Alfonso
ac9d8ff44f Fill canvas rendering on WebGL for Graphics GO 2017-03-01 18:08:10 -03:00
Felipe Alfonso
1f8702e323 Shape batch rendering base 2017-02-27 17:41:52 -03: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
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
Felipe Alfonso
365b9ec3f4 Camera effect rendering for canvas 2017-02-21 17:15:44 -03: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
ec4799c8b9 Blitter Bobs can now have alpha and visible of their own.
Blitter now filters children down to a render list if dirty.
CanvasRenderer resets alpha in postRender.
2017-02-13 23:57:32 +00:00
Richard Davey
d480263fa9 BlitterBatch will now flush if you try to add too many Bobs (avoids index error). 2017-02-13 21:50:41 +00:00