Commit graph

11534 commits

Author SHA1 Message Date
Richard Davey
ef62313bbb The WebGL Renderer now always enables the SCISSOR_TEST, this allows Game Objects that use the scissor (such as custom objects, or Bitmap Text) to render properly again. 2018-09-14 12:33:09 +01:00
Richard Davey
b8302a7f08 Updated log 2018-09-14 10:36:24 +01:00
Richard Davey
aef8635042
Merge pull request #4032 from aaronfc/bug/webgl-camera-background
Wrong filling rectangle for camera with background
2018-09-14 10:31:06 +01:00
aaron
b9454eaf7b Wrong filling rectangle for camera with no transparent background after last scissor changes 2018-09-14 10:53:50 +02:00
Richard Davey
aeda1c042b If a Scene is already active (i.e. running) and you call start on it (such as from another Scene) then it will shutdown the Scene first, before starting it again. 2018-09-13 16:32:02 +01:00
Richard Davey
5e6f52a0f7 Updated log 2018-09-13 13:31:03 +01:00
Richard Davey
855fde1adb Rebind the source texture 2018-09-13 13:23:42 +01:00
Richard Davey
7722207dbd Remove texture deletion. 2018-09-13 13:23:24 +01:00
Richard Davey
f285cf4854 Trim the font style 2018-09-13 13:23:11 +01:00
Richard Davey
7b0d823415 Resizing canvas backed textures like this is a really bad idea, so remove it. 2018-09-13 13:22:27 +01:00
Richard Davey
e01a657798 Merge branch 'master' of https://github.com/photonstorm/phaser 2018-09-13 09:30:36 +01:00
Richard Davey
1db44806ed Updated log 2018-09-13 09:30:32 +01:00
Richard Davey
2f98bd5092 DisplayList now destroys children directly. 2018-09-13 09:29:48 +01:00
Richard Davey
e19c307252 The UpdateList will now clear out its internal _list, _pendingRemoval and _pendingInsertion lists on shutdown. Before, it would only clear _list. 2018-09-13 09:29:33 +01:00
Richard Davey
0a166f944f Game Objects no longer listen to Scene shutdown. Fix #4028 2018-09-13 09:28:33 +01:00
Richard Davey
429427c876
Merge pull request #4030 from Mattykins/master
Changed setFloatXv methods to accept a Float32Array rather than insta…
2018-09-13 08:42:41 +01:00
Richard Davey
5fe6dbbe0c Added more jsdocs 2018-09-13 08:09:44 +01:00
Matthew Roelle
700509275d Changed setFloatXv methods to accept a Float32Array rather than instantiate its own 2018-09-12 20:25:15 -07:00
Richard Davey
1ac48afd5f Added Grid Shape type with WebGL renderer 2018-09-13 01:02:59 +01:00
Richard Davey
00518eca39 Fixed geom references 2018-09-12 16:58:32 +01:00
Richard Davey
1aa7287062 eslint fix 2018-09-12 16:32:50 +01:00
Richard Davey
37d5de50cc Updated log 2018-09-12 16:30:07 +01:00
Richard Davey
0a152949cb Added setLineSpacing method and docs. 2018-09-12 16:29:38 +01:00
Richard Davey
a418995c15 Fixed jsdoc versions and updated them for #4019 2018-09-12 15:34:48 +01:00
Richard Davey
aa4c1ce51d
Merge pull request #4019 from Mattykins/master
Add support for setting float array uniforms in the WebGLPipeline / WebGLRenderer
2018-09-12 15:16:26 +01:00
Richard Davey
6d7ca32e6d Game Objects would not remove themselves from the Scene's shutdown event handler when destroyed, leading to a build-up over time 2018-09-12 15:06:13 +01:00
Richard Davey
0436f1ff6d If you flagged a Tween as paused in its config, never started it, and then called Tween.stop it wouldn't ever be removed from the _pending array. It's now moved to the Tween Manager's destroy list, ready for removal on the next frame. Fix #4023 2018-09-12 14:54:08 +01:00
Richard Davey
b1771a17dd Updated InputPlugin event specificity flow and added stopPropagation support 2018-09-12 12:38:08 +01:00
Richard Davey
14881bbe24 Renamed data to geom to avoid DataManager clash. Added preDestroy. 2018-09-12 12:37:18 +01:00
Richard Davey
4ba3b37608 Added Pointer.getDistance method 2018-09-12 01:03:56 +01:00
Richard Davey
e01013d418 Formatting 2018-09-12 01:03:41 +01:00
Richard Davey
490ca9c4b6 Added setSize method 2018-09-12 01:03:36 +01:00
Richard Davey
640d90cb09 Added jsdocs 2018-09-11 15:34:03 +01:00
Richard Davey
a68469dc5b Added jsdocs 2018-09-11 15:21:22 +01:00
Richard Davey
252ebe74fb TS defs error 2018-09-11 13:51:09 +01:00
Richard Davey
2c4b38a794 Missing path join 2018-09-11 13:51:03 +01:00
Richard Davey
41d09fe646 Typo 2018-09-11 13:50:55 +01:00
Richard Davey
855e6babeb Lines use strokeColor only 2018-09-11 13:50:43 +01:00
Richard Davey
2816f29bd1 Fixed pathData 2018-09-11 13:50:18 +01:00
Richard Davey
83fa5261e6 Added missing Shape canvas render functions 2018-09-11 13:50:01 +01:00
Richard Davey
9aeba9e73e Fixed jsdoc 2018-09-10 23:30:42 +01:00
Richard Davey
30d51e5179 Moved closePath to Shape 2018-09-10 23:30:36 +01:00
Richard Davey
4b1c0eb697 Added Canvas rendering functions 2018-09-10 23:30:19 +01:00
Richard Davey
dfa40b866f Moved the common fill and stroke functions out
Also started finishing jsdocs
2018-09-10 22:47:39 +01:00
Richard Davey
4d05e5ce7d Updated change log 2018-09-10 20:44:28 +01:00
Richard Davey
8ab3240656 Added jsdocs 2018-09-10 20:44:19 +01:00
Richard Davey
0350e0d078 Updated change log 2018-09-10 11:29:35 +01:00
Richard Davey
c873679d97 Added hsv values, setFromHSV, udpateHSV, darken, lighten, brighten, saturate and desature methods. 2018-09-10 11:29:28 +01:00
Richard Davey
fccd58b097 The HSVToRGB function can now take an optional out argument, which is either a HSVColorObject or a Color object, and the results will be set into that object instead of creating a new one. 2018-09-10 11:22:04 +01:00
Richard Davey
664d5efc7b The RGBToHSV function can now take an optional out argument, which is either a HSVColorObject or a Color object, and the results will be set into that object instead of creating a new one. 2018-09-10 11:21:36 +01:00