Commit graph

9258 commits

Author SHA1 Message Date
Hua
f16cf72826 Fix bug
Copy value of key, instead of the reference of data object
2018-03-16 16:57:25 +08:00
Richard Davey
dd4e00007f Added antialias config value 2018-03-16 00:52:21 +00:00
Richard Davey
78b72c55be Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-16 00:46:42 +00:00
Richard Davey
1fea31bac8 Fixed package names 2018-03-16 00:46:39 +00:00
Felipe Alfonso
2238a132e2 Context Creationg Config attributes are default to Khronos spec for webgl context creation 2018-03-15 19:55:52 -03:00
Richard Davey
0c1c16deba Used new config values, fixed eslint formatting and floored dimensions 2018-03-15 21:15:39 +00:00
Richard Davey
36f5ca47a9 Added new config values
* Game.Config.preserveDrawingBuffer is now passed to the WebGL Renderer (default `false`).
* Game.Config.failIfMajorPerformanceCaveat is now passed to the WebGL Renderer (default `false`).
* Game.Config.powerPreference is now passed to the WebGL Renderer (default `default`).
* Game.Config.pixelArt is now passed to the WebGL Renderer as the antialias context property (default `false`).
2018-03-15 21:15:12 +00:00
Richard Davey
d286a932cd Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-15 17:27:33 +00:00
Richard Davey
19a17bcf63 Updating docs 2018-03-15 17:27:30 +00:00
Michael Hadley
d966aaa412
Fixes #3395 2018-03-15 06:22:22 -05:00
Richard Davey
1d23aad976 TextStyle has two new properties: baselineX and baselineY which allow you to customize the 'magic' value used in calculating the text metrics. 2018-03-13 13:21:51 +00:00
Richard Davey
00a5ce9a03 Preparing for 3.3.0 2018-03-13 13:21:34 +00:00
Richard Davey
22901a1b05 3.2.1 build 2018-03-12 16:42:17 +00:00
Richard Davey
562730e225 Updated for 3.2.1 2018-03-12 16:40:26 +00:00
Richard Davey
1de47dfe1b Updated change log 2018-03-12 16:38:28 +00:00
Richard Davey
247e8b9337 Text.setFixedSize was incorrectly setting the text property instead of the parent property. Fix #3375 2018-03-12 16:34:21 +00:00
Richard Davey
1ebf639de3 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-12 16:30:16 +00:00
Felipe Alfonso
be81ddfd51 Fixed issue on RenderTexture canvas clear. The clearRect was affected by previous transformations 2018-03-12 13:30:05 -03:00
Richard Davey
036bb2d17b Updated change log 2018-03-12 16:30:01 +00:00
Richard Davey
267e8b4b84 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-12 16:27:49 +00:00
Felipe Alfonso
9585a1c78b Fixed issue of render texture only rendering the first frame. It should've read the cut properties 2018-03-12 13:27:32 -03:00
Felipe Alfonso
e0a4577938 Fixed issue of TileSprite rendering pattern based on the power of 2 dimension on canvas. 2018-03-12 13:18:38 -03:00
Richard Davey
70d9c7d728 Always return the parent Text object, no matter the flow 2018-03-12 16:13:42 +00:00
Richard Davey
046e47aa38 Updated 2018-03-12 16:13:07 +00:00
Richard Davey
e2ad743b92 _this fix 2018-03-12 14:52:35 +00:00
Richard Davey
0368473b95 The SetFrame method now has two optional arguments: updateSize and updateOrigin (both true by default) which will update the size and origin of the Game Object respectively. Fix #3339 2018-03-12 14:45:18 +00:00
Richard Davey
33cbb067b4 Phaser.Display.Color.Interpolate would return NaN values because it was loading the wrong Linear function. Fix #3372 2018-03-12 13:41:09 +00:00
Richard Davey
cb3e476d97 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-12 13:37:16 +00:00
Richard Davey
edf1aa7cc1 The onContextRestored callback won't be defined any more unless the WebGL Renderer is in use in the following objects: BitmapMask, Static Tilemap, TileSprite and Text. This should allow those objects to now work in HEADLESS mode. Fix #3368 2018-03-12 13:37:13 +00:00
Richard Davey
4e49a9b4c9
Merge pull request #3357 from delftswa2018/3268-object-based-atlas-loading
Fixed object based atlas loading
2018-03-12 13:11:19 +00:00
Richard Davey
063d30602e The ForwardDiffuseLightPipeline now uses sys.lights instead of the Scene variable to avoid errors due to injection removal. 2018-03-12 12:55:09 +00:00
Richard Davey
a005e076fa Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-12 12:08:59 +00:00
Richard Davey
bc88401dff Updated change log 2018-03-12 12:08:49 +00:00
Richard Davey
ce66f0abde
Merge pull request #3370 from samme/fix/lights
Fix error when no Light Manager exists
2018-03-12 12:08:03 +00:00
samme
d7780aff64 Fix error when no Light Manager exists 2018-03-11 19:22:42 -07:00
Richard Davey
935a89342d Calling setText on a BitmapText object will now recalculate its display origin values. Fix #3350 2018-03-09 17:08:12 +00:00
Richard Davey
458880b333 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-09 16:30:29 +00:00
Richard Davey
9203d3b7a7 Updated change log 2018-03-09 16:30:26 +00:00
Richard Davey
87f2d0f831
Merge pull request #3335 from iamchristopher/fix-group-clear-from-scene
Fixed Group doesn't remove children from Scene when cleared
2018-03-09 15:54:44 +00:00
Richard Davey
3ed077a6d7
Merge pull request #3358 from delftswa2018/3231-CANVAS-tilesprite-rotation-flip-scaling
Added rotation, scaling and flipping to TileSpriteCanvasRenderer
2018-03-09 15:51:35 +00:00
Richard Davey
9a88b5a163
Merge pull request #3354 from brandonvdongen/master
fixed camera offset when combining zoom+follow
2018-03-09 15:49:35 +00:00
Richard Davey
eb43249b8f
Merge pull request #3356 from migiyubi/fix-timerevent-remove
Fix TimerEvent.remove behaves opposite to what we expect
2018-03-09 15:48:33 +00:00
Richard Davey
2ee4f581f5
Merge pull request #3355 from rexrainbow/master
Add reference of GameObject class
2018-03-09 15:45:46 +00:00
Richard Davey
5601a76c7d
Merge pull request #3348 from samid737/master
* Fix #3345 by adding beginPath and closePath in postUpdate.
2018-03-09 15:44:36 +00:00
Richard Davey
852e74721f
Merge branch 'master' into master 2018-03-09 15:44:19 +00:00
Richard Davey
7adcb66267 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-03-09 15:42:27 +00:00
Richard Davey
ef66eef129 Updated change log 2018-03-09 15:42:20 +00:00
Richard Davey
40818ba57b
Merge pull request #3349 from migiyubi/make-scene-restartable
Make scene restartable
2018-03-09 15:41:03 +00:00
Richard Davey
278deda6e2
Merge pull request #3344 from samme/fix/util-string-format
Fix Phaser.Utils.String.Format
2018-03-09 15:39:27 +00:00
Richard Davey
db3112de31 The SceneManager.render will now render a Scene as long as it's in a LOADING state or higher. Before it would only render RUNNING scenes, but this precluded those that were loading assets. 2018-03-09 15:33:07 +00:00