Commit graph

17 commits

Author SHA1 Message Date
Richard Davey
7ef33d005b Added ability to pass Geometry directly to the Graphics methods. 2017-03-30 00:45:17 +01:00
Richard Davey
3b79c2cf52 Added default lineStyle alpha value. 2017-03-29 16:05:05 +01:00
Richard Davey
18fa6292a6 Graphics objects now just take a config object, not a position.
Graphics objects can set default stroke and fill styles, which are re-applied after a clear.
2017-03-29 15:06:06 +01:00
Felipe Alfonso
3e8e6141c8 Added render pass component to renderable game objects 2017-03-28 15:16:02 -03:00
Richard Davey
7a6b643e99 Make Graphics methods chainable. 2017-03-19 23:07:41 +00:00
Felipe Alfonso
d0de931c93 per point coloring for line rendering 2017-03-15 16:23:10 -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
7eeb8d5d30 transform checks for setter functions also removed old bitmap text 2017-03-08 20:49:44 -03:00
Felipe Alfonso
b8f0b3357d Added fillTriangle and strokeTriangle to Graphics Game Object 2017-03-07 21:51:09 -03:00
Richard Davey
0ba77e5970 Swapped to using the math const and tidied up eslint errors. 2017-03-02 02:18:04 +00:00
Felipe Alfonso
06a0a61fcc Line rendering for webgl on Graphics Game Object 2017-03-01 21:40:03 -03: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
a70ee2e22a Update command list for graphics rendering 2017-03-01 14:30:04 -03:00
Felipe Alfonso
2490507ffa Graphics canvas rendering 2017-02-28 18:12:14 -03:00
Felipe Alfonso
ad07334093 Path rendering routines 2017-02-28 13:52:09 -03:00
Felipe Alfonso
c30a95cb01 Graphics Game Object base 2017-02-28 11:49:39 -03:00