Commit graph

11349 commits

Author SHA1 Message Date
Richard Davey
9b812f8394 Calling setFrame on a TileSprite wouldn't change the frame, it would just change the frame size. Fix #4039 2018-09-18 11:18:00 +01:00
Richard Davey
754fc4f622 RenderTexture.resize wouldn't correctly resize the texture under WebGL. Fix #4034 2018-09-17 11:48:34 +01:00
Richard Davey
9aaa640601 Finished Shape documentation 2018-09-15 11:18:09 +01:00
Richard Davey
fcaa2bfc4f Completing Game Object jsdocs 2018-09-15 10:31:10 +01:00
Richard Davey
24e09d7a31 Completed more jsdocs 2018-09-14 18:17:14 +01:00
Richard Davey
0d497fd2be Fixed Scene restart shutdown flow 2018-09-14 18:05:14 +01:00
Richard Davey
935288518d Added isPaused method 2018-09-14 18:04:47 +01:00
Richard Davey
4c6b2cc183 Fixed destroy order 2018-09-14 18:03:51 +01:00
Richard Davey
5ec26fa62d Cameras now emit prerender and postrender events if they are set to render to textures. 2018-09-14 15:53:06 +01:00
Richard Davey
e92a01985e If you destroyed a Game Object that had a custom cursor set during one of its input events the cursor didn't correctly reset. Fix #4033 2018-09-14 14:48:53 +01:00
Richard Davey
78874b6d78 Updated the change log 2018-09-14 14:03:44 +01:00
Richard Davey
b9318826eb Added jsdocs, setPipeline and clearRenderToTexture methods 2018-09-14 14:03:37 +01:00
Richard Davey
7315ea39b4 Optimized setting the custom flag 2018-09-14 14:03:13 +01:00
Richard Davey
2102653416 Updated change log 2018-09-14 12:33:27 +01:00
Richard Davey
9af2c7e249 The Cameras setScene method, which is called automatically when a new Camera is created, will now call updateSystem which correctly increases the custom viewport counter. This fixes an issue with mini-cams inside of larger cameras not clipping their contents properly. If a Camera is moved to another Scene it also now correctly shrinks the total custom viewport counter. 2018-09-14 12:33:22 +01:00
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