Commit graph

31 commits

Author SHA1 Message Date
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
Felipe Alfonso
557c218a77 Fixed normal blending mode 2017-01-24 12:21:49 -03:00
Felipe Alfonso
99d8db0849 Fixed alpha setting on BlitterRenderer 2017-01-24 10:15:25 -03:00
Felipe Alfonso
739561f1fb Fix "normal" blend mode 2017-01-23 19:12:46 -03:00
Felipe Alfonso
7decd4afcb Blend Mode added to WebGLRenderer 2017-01-23 18:42:47 -03:00
Felipe Alfonso
4155265165 Sprite batch with 32 bit indices for bigger batches 2017-01-20 19:02:12 -03:00
Felipe Alfonso
682cb79a17 Fix when buffers are full. Now they flush 2017-01-20 16:43:36 -03:00
photonstorm
657f8baee9 Fixed gl error. 2017-01-20 18:53:53 +00:00
Felipe Alfonso
c37c69e312 fix on settexture2D 2017-01-20 15:51:00 -03:00
Felipe Alfonso
c40e94f15b Manager is now in charge of swapping texture if needed 2017-01-20 15:13:24 -03:00
Richard Davey
4ac4d406b2 Hooked up SpriteBatch. 2017-01-19 23:20:36 +00:00
Felipe Alfonso
f342fac027 Sprite Batch implementation 2017-01-19 19:43:41 -03:00
Felipe Alfonso
9965ab674d Update BlitterBatch 2017-01-19 14:53:20 -03:00
photonstorm
ddfeed8784 Cleaned down, ready for new WebGL Renderer. 2017-01-16 15:53:34 +00:00
Richard Davey
cee7498180 Fixes to get the renderer working. 2016-12-07 03:42:41 +00:00
Richard Davey
82d1ceeba4 Adding in WebGL Renderer. 2016-12-07 02:28:22 +00:00