Commit graph

21 commits

Author SHA1 Message Date
Richard Davey
63c2c73930 Finally using correct size :) 2019-01-10 13:40:41 +00:00
Richard Davey
04ea2798e9 Use gameSize 2019-01-10 00:15:20 +00:00
Richard Davey
b3aeee0bd1 Use the new size properties 2019-01-09 17:13:22 +00:00
Richard Davey
f3488b0d7c Undid CSS background style 2018-11-28 15:51:31 +00:00
Richard Davey
299a3d108c Fixed custom environment logic 2018-11-28 15:47:06 +00:00
Richard Davey
f85a79c0d7 There is a new boolean Game Config property called customEnvironment. If set to true it will skip the internal Feature checks when working out which type of renderer to create, allowing you to run Phaser under non-native web environments. If using this value, you _must_ set an explicit renderType of either CANVAS or WEBGL. It cannot be left as AUTO. Fix #4166 2018-11-16 10:46:30 +00:00
Richard Davey
355bc2e1ee If not transparent, then set backgroundColor to the canvas itself. 2018-11-13 15:05:59 +00:00
Richard Davey
557955e057 Merging Scale Manager and Spine Plugin back into master 2018-10-18 14:59:27 +01:00
Richard Davey
ae9c3b6f56 Tidying up for 3.15 release 2018-10-16 15:10:49 +01:00
Richard Davey
3c5bf3eba7
Merge pull request #4077 from samme/fix/webgl-game-context-null
Fix null game.context after WebGLRenderer init
2018-10-12 18:28:04 +01:00
Richard Davey
f9b4419f08 Uses Scale Manager sizes 2018-10-11 17:01:38 +01:00
samme
ced7c82c42 Fix null game.context after WebGLRenderer init 2018-09-30 12:45:26 -07:00
Richard Davey
6ddd1644f2 Canvas now uses game config resolution 2018-07-17 22:43:52 +01:00
Richard Davey
8c312090da Solidified use of pixelArt mode 2018-06-27 15:27:16 +01:00
Richard Davey
7a23378015 Unified use of roundPixels, antialias and pixelArt modes 2018-06-27 15:15:00 +01:00
Richard Davey
7a4b29872e Allow for custom canvas and context game config options. Game.context now set in WebGL mode. Allows WebGL2 contexts to be passed in. Fix #3653 2018-05-10 12:25:33 +01:00
Richard Davey
6299019838 Updated to use typeof DefinePlugin check. 2018-04-20 00:23:24 +01:00
Richard Davey
252a76f416 The Headless render mode has been implemented. You can now set HEADLESS as the renderType in the Game Config and it will run a special game step that skips rendering. It will still create a Canvas element, as lots of internal systems (like input) rely on it, but it will not draw anything to it. Fix #3256 2018-02-28 21:57:32 +00:00
Richard Davey
d1f5f8a82b Added jsdocs 2018-02-12 16:01:21 +00:00
Richard Davey
897d3f2b70 Added jsdocs 2018-01-25 00:48:48 +00:00
Richard Davey
d8f1ba03e9 Moved repository location 2018-01-09 21:43:56 +00:00
Renamed from v3/src/boot/CreateRenderer.js (Browse further)