Commit graph

12285 commits

Author SHA1 Message Date
Richard Davey
21c9326e07 Change when dragState is populated. Fix #4278 2019-01-05 10:03:11 +00:00
Richard Davey
6a361ba8ea Line.Extend is a new static function that allows you extend the start and/or end points of a Line by the given amounts. 2019-01-05 00:38:20 +00:00
Richard Davey
730c84e3e3 Draggable Game Objects would not work if you had multiple Scenes running in parallel, with draggable objects in both of them. Only the top-most Scene would work fully. Items in the bottom Scene would never finish their drag cycle, causing them to get stuck. Fix #4249 2019-01-04 16:34:59 +00:00
Richard Davey
9a7058915c Removed dragState property. 2019-01-04 16:34:53 +00:00
Richard Davey
566df734a0 MatterSprite would set its type property to be Image. It now sets it to be Sprite as it should do. 2019-01-04 14:16:10 +00:00
Richard Davey
439c644702 Fixed an API validation error in the chooseContext method. Fix #4248 2019-01-04 14:05:53 +00:00
Richard Davey
36f08d83e6 The processDomCallbacks method in the Input Manager wasn't correctly clearing the once arrays. Responsibility for this has now been passed to the queue methods queueTouchStart, queueTouchMove, queueTouchEnd, queueMouseDown, queueMouseMove and queueMouseUp. Fix #4257 2019-01-04 14:03:21 +00:00
Richard Davey
bb4ecc6c2b Merge branch 'master' of https://github.com/photonstorm/phaser 2019-01-04 13:34:06 +00:00
Richard Davey
a6447cd6b0 Updated docs and change log 2019-01-04 13:33:56 +00:00
Richard Davey
b5135ec691
Merge pull request #4272 from Oramy/master
Fixed Issue #4271
2019-01-04 13:16:30 +00:00
Richard Davey
874929d807
Merge pull request #4250 from jcyuan/Branch_v3.15.1
doc improvement & minor bug fix
2019-01-04 13:15:20 +00:00
Richard Davey
af86a3b348
Merge pull request #4258 from OmarShehata/jsdoc-syntax
Fix jsdoc syntax
2019-01-04 13:14:11 +00:00
Richard Davey
5120727e5f
Merge pull request #4273 from 16patsle/types-fix
Mark optional params as optional in jsdoc
2019-01-04 13:12:11 +00:00
Richard Davey
ba5d9d45c5
Merge pull request #4260 from OmarShehata/patch-1
Fix typo in README
2019-01-04 13:09:27 +00:00
Richard Davey
bd761ceadb
Merge pull request #4274 from BigZaphod/patch-1
Fixed spelling errors and did some light editing
2019-01-04 13:07:48 +00:00
Sean Heber
92d47f197f
Fixed spelling errors and did some light editing 2019-01-03 16:51:23 -06:00
Patrick Sletvold
206d61284b Mark optional params as optional in jsdoc 2019-01-02 11:54:39 +01:00
Amaury Butaux
8b3876e9d4 Fixed Issue #4271 2019-01-02 04:13:52 +01:00
Omar Shehata
a7e8bc5381
Fix typo in README 2018-12-26 14:23:21 -05:00
Omar Shehata
9abb11cba5 Remove unecessary type description 2018-12-26 10:51:01 -05:00
Omar Shehata
9a77301e08 Fix jsdoc syntax 2018-12-26 10:43:57 -05:00
Richard Davey
d7860e6c8f Merge branch 'master' of https://github.com/photonstorm/phaser 2018-12-21 18:52:03 +00:00
Richard Davey
a18c838058 Update CHANGELOG.md 2018-12-21 18:51:59 +00:00
Richard Davey
8e9e817f98
Merge pull request #4252 from jestarray/master
documentation: texture optional frame parameters
2018-12-21 16:51:03 +00:00
jestarray
5aef34884c
texture optional frame parameters
not specifying frame works on said methods
2018-12-21 08:25:42 -08:00
Richard Davey
98c68b8595 Update CHANGELOG.md 2018-12-21 02:47:14 +00:00
Richard Davey
cc280d8950 Removed dead code 2018-12-21 02:47:10 +00:00
Richard Davey
ef0b18f88b If a Map entry exists, it is updated with the new value, rather than skipped. 2018-12-20 12:12:49 +00:00
Richard Davey
52519a1932 Updated docs and added envelope method. 2018-12-20 12:12:31 +00:00
Richard Davey
a40b6056f5 Added jsdocs 2018-12-20 12:12:20 +00:00
J.C
580cc36ad4
Merge branch 'master' into Branch_v3.15.1 2018-12-20 12:42:25 +08:00
J.C
136a8355d8 doc improvement:
1, provide type for callback argument
2, remove comment for $type to avoid jsdoc warning: "The @type tag does not permit a description;"
2018-12-20 12:15:49 +08:00
J.C
f09e777f84 1, GetFirstElement -> should be GetFirst
2, doc fix
2018-12-20 11:11:56 +08:00
J.C
c8fc944d94 the parameter is actually the value you are seeking but not T type.
bug fix: GetFirstElement -> GetFirst, as ArrayUtils does not have GetFirstElement method.
2018-12-20 11:09:30 +08:00
Richard Davey
e33bf4f7c0 Swapping to Size component 2018-12-19 17:08:14 +00:00
Richard Davey
81c4c54628 Beta 4 2018-12-19 17:08:06 +00:00
Richard Davey
f5fcea898c Updated Size component to handle fitting, ratios, locking and more. 2018-12-19 17:07:46 +00:00
Richard Davey
c6f72241e3 Added Size component. 2018-12-19 12:16:13 +00:00
Richard Davey
74a84a8242
Merge pull request #4247 from jcyuan/Branch_v3.15.1
docs improvement for 3.5.1 release
2018-12-19 10:21:05 +00:00
Richard Davey
7aabb98b8e Re-enabled IM 2018-12-18 17:29:15 +00:00
Richard Davey
cb57425a34 The Alpha, Flip and Origin components have been removed from the Mesh Game Object (and by extension, Quad as well) as they are not used in the renderer and should be manipulated via the Mesh properties. Fix #4188 2018-12-18 15:47:07 +00:00
Richard Davey
a2723249a3 CanvasTexture.destroy is a new method that specifically handles the destruction of the CanvasTexture and all of its associated typed arrays. This prevents a memory leak when creating and destroying lots of RenderTextures (which are CanvasTexture backed). Fix #4239 2018-12-18 15:21:24 +00:00
Richard Davey
41286b5170 Make sure we bind the framebuffer and pipeline in the boot step 2018-12-18 14:58:42 +00:00
Richard Davey
68a87516dd Update CHANGELOG.md 2018-12-18 13:36:08 +00:00
Richard Davey
8eebe518ad Added optional drawingBufferHeight argument to scissor methods. 2018-12-18 13:36:05 +00:00
Richard Davey
c882b52a3a Fixed an issue where changing the viewport or size of a Camera belonging to a RenderTexture, it wouldn't impact the rendering and objects will still render outside of the viewport range. It's now converted to a proper gl scissor rect by the renderer, meaning you can limit the area rendered to by adjusting the internal Render Texture cameras viewport. Fix #4243 2018-12-18 13:35:53 +00:00
Richard Davey
4b1ea8db9b WebGLRenderer.preRender now calls gl.clearColor in order to restore the background clear color in case something, like a Render Texture, has changed it. 2018-12-18 13:04:26 +00:00
Richard Davey
8ec71c7bd1 Update CHANGELOG.md 2018-12-18 12:12:52 +00:00
Richard Davey
7ee0a717f5 Container.getFirst was using an incorrect Array Utils function GetFirstElement, when it should have been using GetFirst. It now uses the correct function. Fix #4244 2018-12-18 12:12:47 +00:00
Richard Davey
90c7d4d0e8 Removed un-needed argument 2018-12-18 12:12:38 +00:00