Commit graph

65 commits

Author SHA1 Message Date
Richard Davey
d3789a305e Revamped how blend modes are handled. Added ability to swap between blendFunc and blendFunSeparate. 2017-08-03 02:09:59 +01:00
Felipe Alfonso
1c5da095f6 Fixed text rendering state leakage on webgl 2017-07-27 15:26:12 -04:00
photonstorm
d804e056ed Renaming from State to Scene internally.
This is one monster update.
2017-07-14 14:50:51 +01:00
Felipe Alfonso
3afe6d82fa Fix text rendering when overlapped with other gameobjects in the display list 2017-07-12 16:55:57 -04:00
photonstorm
f79db37cda Updated to new class structure, fixed lots of ESLint errors and moved EarCut into the geom folder and used the un-minified and latest version. 2017-07-04 14:48:18 +01:00
photonstorm
5d1393b9dc Moved SnapShot feature into the renderer folder and updated paths. 2017-07-04 13:10:26 +01:00
Felipe Alfonso
755fa260c0 Added camera alpha for webgl 2017-06-28 12:47:24 -04:00
Felipe Alfonso
88e07a9c88 Render pass fix for setting texture 2017-06-28 05:22:48 -04:00
Richard Davey
fdb2e2f83e Added Camera.setBackgroundColor 2017-06-28 01:51:04 +01:00
photonstorm
22875376b7 Moved scissor values to object so they can be read from batches.
Almost got Dynamic Text working with scissor (doesn't restore correctly on exit).
2017-06-08 17:15:02 +01:00
Richard Davey
2cc3a391c4 WebGL createTexture respects config.pixelArt setting 2017-06-08 00:13:34 +01:00
Felipe Alfonso
dc035ddaab Tilemap Rendering 2017-06-01 17:05:50 -04:00
Felipe Alfonso
30ea09f0b0 Fixed issue with setting wrapping mode on textures 2017-05-22 10:44:05 -04:00
Felipe Alfonso
d216793595 Texture Filtering and Repeat property 2017-05-19 21:16:45 -04:00
Felipe Alfonso
d71d7d50bc Fixed a couple of bugs on Graphics renderer and added should Flush to all webgl renderers 2017-05-17 11:09:06 -04:00
Felipe Alfonso
7477eb5cf9 Snapshot implementation 2017-05-16 15:15:01 -04:00
Felipe Alfonso
f84f4e626c Graphics canvas texture generation 2017-05-10 21:24:57 -03:00
Felipe Alfonso
da9a6de007 Canvas TileSprite 2017-05-03 21:14:14 -03:00
Felipe Alfonso
4073db3551 TileSprite base and renderer 2017-04-25 19:09:13 -03:00
Felipe Alfonso
1742ec0f12 RenderPass Update 2017-04-20 15:06:57 -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
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
58e4912633 Moved uploadCanvasToGPU to WebGLRenderer 2017-03-21 17:45:57 -03:00
Felipe Alfonso
d6f07973b2 Fixed transform issue when dealing with camera transforms 2017-03-06 15:13:39 -03:00
Felipe Alfonso
1f8702e323 Shape batch rendering base 2017-02-27 17:41:52 -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
Felipe Alfonso
efdc4898f3 Removed global scene graph. New system works with camera system 2017-02-20 21:38:22 -03:00
Felipe Alfonso
36d627d165 Cleanup WebGLRenderer, batches and transform 2017-02-13 12:27:32 -03:00
Richard Davey
69bd717a5c Removed old Transform.
Changed copyblock.
2017-02-13 12:01:19 +00:00
Richard Davey
b3db404bb1 BG Color added to webgl renderer. 2017-02-11 20:25:12 +00:00
Felipe Alfonso
34713ab16b Camera effects 2017-02-09 21:48:32 -03:00
Felipe Alfonso
6f19416129 camera scrolling 2017-02-08 12:52:51 -03:00
Felipe Alfonso
3e3eb60801 Multiple camera clipping 2017-02-07 21:08:09 -03:00
Felipe Alfonso
e0f0b3541b Canvas camera scissor 2017-02-07 16:30:50 -03:00
Felipe Alfonso
002facb59a Clipping added to cameras on webgl 2017-02-07 13:12:20 -03:00
Felipe Alfonso
f488722212 Removed unnecessary localMatrix on transform 2017-01-31 21:35:53 -03:00
Felipe Alfonso
3f0509bead fixed V8 deopt on Transform's updateRoot 2017-01-31 20:06:13 -03:00
Felipe Alfonso
43629a5e78 fixed type on WebGLRenderer render function 2017-01-31 18:49:14 -03:00
Felipe Alfonso
758369593f Inlined spriteBatch.add 2017-01-31 18:40:29 -03:00
Felipe Alfonso
6566a387b5 Small optimization to transform matrix update 2017-01-31 17:24:51 -03:00
photonstorm
6ee499132c Huge refactor to sort out the game loop flow. 2017-01-25 17:10:19 +00:00
photonstorm
5c495bbdf8 RAF now calls StateManager.step directly.
Game no longer has RNG property.
2017-01-25 12:02:18 +00:00