Commit graph

12612 commits

Author SHA1 Message Date
Richard Davey
61921525f1 There is a new webpack config FEATURE_SOUND which is set to true by default, but if set to false it will exclude the Sound Manager and all of its systems into the build files. 2019-04-24 12:23:21 +01:00
Richard Davey
f4a86fd368 The Container.setScrollFactor method has a new optional argument updateChildren. If set, it will change the scrollFactor values of all the Container children as well as the Container. Fix #4466 #4475 2019-04-24 12:09:16 +01:00
Richard Davey
61011d3ae9 Camera.clearRenderToTexture will check to see if the Scene is available before proceeding, avoiding potential errors when a Camera is destroyed multiple times during a Scene shutdown. 2019-04-24 11:46:31 +01:00
Richard Davey
da6b520e64 Update CHANGELOG.md 2019-04-24 11:21:55 +01:00
Richard Davey
507bb6a215 Added customHitArea boolean property 2019-04-24 11:21:52 +01:00
Richard Davey
53c14df798 Changing any aspect of a Text object, such as the font size or content, wouldn't update its hitArea if it had been enabled for input, causing it to carry on using the old hit area size. Now, as long as the Text was created _without_ a custom hitArea, the hitArea size will be changed to match the new texture size on update. If you have provided your own custom hitArea shape, you need to modify it when the Text changes size yourself. Fix #4456 2019-04-24 11:21:36 +01:00
Richard Davey
94b7db0e82 Update CHANGELOG.md 2019-04-24 11:06:54 +01:00
Richard Davey
2ef6ad3e51 Fixed jsdoc 2019-04-24 10:54:02 +01:00
Richard Davey
c9075a4c40 Update CHANGELOG.md 2019-04-24 10:48:07 +01:00
Richard Davey
181be88ba9 Updated to use game clock time values. 2019-04-24 10:48:03 +01:00
Richard Davey
6b5383a007 Key now needs a reference to the plugin that created it. Also added getDuration method. 2019-04-24 10:47:51 +01:00
Richard Davey
d7917789eb Added destroy argument to removeKey and cleared plugin reference. 2019-04-24 10:47:22 +01:00
Richard Davey
fd4f45673b Pointer.getDuration would only return zero until the pointer was released, or moved (basically any action that generated a DOM event). It now returns the duration regardless of the DOM events. Fix #4444 2019-04-24 10:08:56 +01:00
Richard Davey
4d38283746 Update CHANGELOG.md 2019-04-24 10:04:17 +01:00
Richard Davey
31c0b4f2ff Update now always runs but only once per frame 2019-04-24 10:04:13 +01:00
Richard Davey
95b18ae6e0 Refined poll rate handling and added pluginUpdate 2019-04-24 10:03:58 +01:00
Richard Davey
43c72e23c6 Fixed issue with input events running twice 2019-04-24 09:34:40 +01:00
Richard Davey
4aa256a04c Update CHANGELOG.md 2019-04-23 22:50:01 +01:00
Richard Davey
24bc670424 Merge branch 'master' of https://github.com/photonstorm/phaser 2019-04-23 22:48:24 +01:00
Richard Davey
349a5a1028 Added MultiScriptFile file type 2019-04-23 22:48:20 +01:00
Richard Davey
9298492b01 Update CHANGELOG.md 2019-04-23 11:21:29 +01:00
Richard Davey
f65f643a5f Added setClassName method. 2019-04-23 11:21:26 +01:00
Richard Davey
e2e5c76b8c Added new CSS File Loader FileType. 2019-04-23 11:21:13 +01:00
Richard Davey
e82e7c6ba0 Formatting fix 2019-04-18 17:55:49 +01:00
Richard Davey
7b438bfd3b Copy paste fix 2019-04-18 17:55:42 +01:00
Richard Davey
7c4fd3fadc Improved jsdocs 2019-04-17 10:52:23 +01:00
Richard Davey
226daaa731 Update CHANGELOG.md 2019-04-16 17:08:19 +01:00
Richard Davey
e0255c6f0f Docs fix 2019-04-16 17:08:19 +01:00
Richard Davey
8c55844f6c
Merge pull request #4469 from samme/docs/scenes
Docs for scene config and optional scene methods
2019-04-16 13:24:49 +01:00
Richard Davey
c38ebe15c7
Merge pull request #4472 from TylerMorley/master
docs: fix copy-paste error
2019-04-16 13:23:20 +01:00
Richard Davey
44a63e4d1a Fixed DOM Container centering 2019-04-16 13:10:08 +01:00
Tyler Morley
21994c5c46 docs: fix copy-paste error 2019-04-15 22:21:36 -05:00
Richard Davey
964e5a2da5 Not sure we need the stack at all - commenting out for now 2019-04-15 23:46:50 +01:00
Richard Davey
1f9aec524e Update CHANGELOG.md 2019-04-15 23:46:28 +01:00
Richard Davey
14d16b3c06 Add temp matrix to Graphics to avoid sharing issue during mask rendering 2019-04-15 23:38:09 +01:00
Richard Davey
53870c0699 Update CHANGELOG.md 2019-04-15 16:46:51 +01:00
Richard Davey
78e1ef9df0 Particle Emitters and Containers can now have geometry masked children 2019-04-15 16:46:47 +01:00
Richard Davey
1fc9b15ff1 Fixed Geometry Mask nesting issue. 2019-04-15 16:46:19 +01:00
Richard Davey
974ceb5654 Restore bitmap mask framebuffer 2019-04-12 18:36:47 +01:00
Richard Davey
0bdf1cc083 Allow geometry masks to work within bitmap masks 2019-04-12 18:36:31 +01:00
Richard Davey
f69cec7975 Improving support for child masking 2019-04-12 17:47:28 +01:00
Richard Davey
216bf3d904 Update CHANGELOG.md 2019-04-12 17:47:05 +01:00
Richard Davey
c26311a9e4 Update GeometryMask.js 2019-04-12 17:47:02 +01:00
Richard Davey
754ae7caa2 Particle Emitters can now be masked 2019-04-12 17:46:52 +01:00
Richard Davey
9dd3e7cd15 Added missing Mask component 2019-04-12 17:46:39 +01:00
Richard Davey
da82ced343 Update CHANGELOG.md 2019-04-11 17:10:16 +01:00
Richard Davey
a824f6f1e8 Added a default camera 2019-04-11 17:10:12 +01:00
Richard Davey
186970bd69 Render the Camera masks 2019-04-11 17:10:03 +01:00
Richard Davey
79409f0479 You can now add a geometry or bitmap mask to any Camera 2019-04-11 17:09:53 +01:00
samme
f9797d0ed0 Add Phaser.Scenes.Types.CreateSceneFromObjectConfig 2019-04-10 12:43:44 -07:00