Commit graph

187 commits

Author SHA1 Message Date
Felipe Alfonso
bc281871ac - Particle Emitter canvas renderer
- Camera Effects resets blend mode to avoid bug when dealing with custom blended game objects
2017-09-28 22:16:10 -03:00
Richard Davey
a735709684 Removed backticks so it can build the dist file. 2017-09-22 12:07:07 +01:00
Felipe Alfonso
4d63cf7be0 Added more particle emitter properties and linear interpolation for particle's life 2017-09-19 21:21:55 -03:00
Felipe Alfonso
6ccb6541d9 Particle Renderer + Basic Particle Movement 2017-09-17 17:13:40 -03:00
Felipe Alfonso
dc45945d99 WebGL Specific Game Objects work with restored context, except EffectLayer and RenderPass. That would require developer to rebind render targets and resources 2017-09-13 17:54:32 -03:00
Felipe Alfonso
de507de120 Light Layer restore state on gl context lost 2017-09-13 16:43:34 -03:00
Felipe Alfonso
a4e33f111b Previous resource deleted when gl context is lost 2017-09-13 16:11:40 -03:00
Richard Davey
e3334e5904 Moved LightLayer shaders into single files to avoid ES6 uglify errors with backtick operators. 2017-09-08 17:16:54 +01:00
Richard Davey
44c88a8e3f Fixed bug in DrawImage where it wouldn't correctly draw a flipped image with an origin not 0.5 2017-09-01 00:54:15 +01:00
Richard Davey
69376bf90f Working through canvas flip origin bug. 2017-08-31 17:26:39 +01:00
Felipe Alfonso
17c24ef586 Fixed canvas upload to gpu function 2017-08-18 12:31:39 -03:00
Felipe Alfonso
ff9534a14a Added higher threshold for warning emission on shader linking and validation 2017-08-16 08:57:46 -03:00
Felipe Alfonso
9856200fdf Added camera gameobject filtering 2017-08-15 16:42:04 -03:00
Felipe Alfonso
5f5ccd04b6 Lights work with camera zoom and also added support for light radius 2017-08-14 22:51:43 -03:00
Richard Davey
0d3b8df879 Merge branch 'master' of https://github.com/photonstorm/phaser 2017-08-10 05:17:58 +01:00
Felipe Alfonso
2a3f966cb5 Light Layer update work in progress 2017-08-03 16:02:57 -04:00
Felipe Alfonso
b0c578477d Light layer setup 2017-08-02 23:06:13 -04:00
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
photonstorm
1950316d19 Added Phaser.FOREVER, Phaser.BlendModes and Phaser.ScaleModes consts. 2017-08-02 17:06:27 +01:00
photonstorm
24278c6f3b Fixed EarCut path.
Removed redundant TextureSource properties.
2017-08-01 16:56:39 +01:00
Felipe Alfonso
1c5da095f6 Fixed text rendering state leakage on webgl 2017-07-27 15:26:12 -04:00
Richard Davey
848ba127ab Exposed the alpha corner values and implemented into the Sprite Batch. 2017-07-25 22:28:02 +01: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
Richard Davey
cbbe152382 Fixed issue with Tint array being copied to the prototype 2017-07-05 01:21:47 +01: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
photonstorm
c86c2bae81 ESLint fixes. 2017-07-04 12:36:27 +01:00
photonstorm
67b11f1e35 Added Tint support to Tile Sprites. 2017-07-04 12:36:19 +01:00
photonstorm
34ffad1c5d Lots of ESLint fixes and removal of un-used vars. 2017-07-04 12:25:43 +01:00
photonstorm
2aae473658 Removed redundant Color component and added in new Tint component. Exposed via WebGL Renderer for Images, Sprites and Text. 2017-07-04 12:01:27 +01:00
Richard Davey
f770712c2a Huge refactoring of States, plugins and object factories 2017-07-04 01:59:31 +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
33c2ec79ab Added support for Camera.backgroundColor 2017-06-28 02:01:07 +01:00
Richard Davey
fdb2e2f83e Added Camera.setBackgroundColor 2017-06-28 01:51:04 +01:00
Felipe Alfonso
1594036cfc Tile border added to static tilemap 2017-06-27 17:49:06 -04:00
Felipe Alfonso
b61635b51b Added tile border support to dynamic tilemap 2017-06-27 17:22:39 -04:00
Alex Ford
7167120d01 Remove a couple of duplicate variable assignments 2017-06-26 20:47:18 +01:00
Felipe Alfonso
25977cfc4d Dynamic tilemap webgl rendering 2017-06-21 22:19:03 -04:00
Felipe Alfonso
c3eb8bff3b StaticTilemap position + scrollFactor 2017-06-09 11:43:09 -04: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
photonstorm
a836c894e6 Canvas Renderer now respects and applies ScaleMode. 2017-06-08 15:04:49 +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
d19d1f6b8d Tilemap Static Mesh Construction 2017-05-31 13:40:51 -04:00
Felipe Alfonso
73ff899ce2 vertex color and alpha properties 2017-05-22 15:29:27 -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
22bc09dfd2 Fixed index offset 2017-05-18 16:52:45 -04:00