Commit graph

48 commits

Author SHA1 Message Date
photonstorm
dbc1298752 Moved access of game property to sys.game to keep it inline with the Injection Map. 2017-08-16 17:15:12 +01:00
Richard Davey
fe2f82c229 Updated Camera.Ignore so it works with the canvas renderer as well 2017-08-15 23:51:37 +01:00
Felipe Alfonso
9856200fdf Added camera gameobject filtering 2017-08-15 16:42:04 -03:00
photonstorm
d804e056ed Renaming from State to Scene internally.
This is one monster update.
2017-07-14 14:50:51 +01:00
photonstorm
0d0c92a018 ESLint fix. 2017-07-04 16:44:21 +01:00
Richard Davey
f770712c2a Huge refactoring of States, plugins and object factories 2017-07-04 01:59:31 +01:00
Felipe Alfonso
25977cfc4d Dynamic tilemap webgl rendering 2017-06-21 22:19:03 -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
8be3ee40c9 Graphics Emtpy Texture generation 2017-05-10 20:36:11 -03:00
Felipe Alfonso
946266d715 Render to texture 2017-05-08 18:03:18 -03:00
Felipe Alfonso
6511b4b0d5 Internal Transform Stack for Graphics 2017-05-08 17:13:48 -03:00
photonstorm
8264351f75 Renamed GetObjectValue to GetValue and replaced through-out entire codebase. More consistent now with GetAdvancedValue, etc. 2017-04-26 16:03:22 +01:00
Felipe Alfonso
bcbec418b1 Fixed Graphics and Blitter issue with renderTarget 2017-04-13 12:45:01 -03:00
Richard Davey
929d6fc8ef Enforced GameObjects to specify their type (a string based const) 2017-04-13 00:05:12 +01:00
Felipe Alfonso
581fdb50ee RenderTarget added to renderable game objects 2017-04-11 10:15:38 -03:00
Richard Davey
e96dabf0cd Fixed paths 2017-04-11 03:13:41 +01:00
Felipe Alfonso
8c479a56c0 Effect Layer 2017-04-06 22:49:15 -03:00
Felipe Alfonso
b755fe06b9 Removed RenderPass 2017-04-05 11:23:34 -03:00
Richard Davey
336ea77587 Fixed GO extends. 2017-04-05 02:10:48 +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
Richard Davey
08d0398f52 Fixed Graphics.strokeLineShape 2017-03-31 02:34:43 +01:00
Felipe Alfonso
4228a5b634 Fixed rendering issue with arc command 2017-03-30 10:06:35 -03:00
Richard Davey
47e6cff967 Added Graphics.fillPoint, fillPointShape and lineBetween methods. 2017-03-30 01:47:15 +01:00
Richard Davey
709819d601 Fixed triangle properties. 2017-03-30 00:45:17 +01:00
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
Felipe Alfonso
0cdb150357 Text rendering via canvas/texture upload 2017-03-21 17:08:43 -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
Richard Davey
3300eb77d0 Fixed Graphics lineAlpha in Canvas Renderer. 2017-03-08 22:08:20 +00: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
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
011014d645 camera scrolling affects canvas rendering 2017-03-01 14:56:04 -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