Commit graph

794 commits

Author SHA1 Message Date
Richard Davey
cc1b96a309 The Body.setCollideWorldBounds method has two new optional arguments bounceX and bounceY which, if given, will set the World Bounce values for the body. 2019-03-27 11:53:34 +00:00
Richard Davey
6a2397bbae The Clock.now property value is now synced to be the TimeStep.time value when the Clock plugin boots and is no longer Date.now() until the first update 2019-03-26 14:35:14 +00:00
Richard Davey
e017691c68 The ScaleMode Component has been removed from every Game Object, and along with it the scaleMode property and setScaleMode method. These did nothing anyway as they were not hooked to the render pipeline and scale mode should be set on the texture, not the Game Object. Fix #4413 2019-03-24 23:07:27 +00:00
Richard Davey
a85e6283ec All of the Arcade Physics Components are now available directly under the Phaser.Physics.Arcade.Components namespace. Fix #4440 2019-03-24 22:51:34 +00:00
Richard Davey
f895dab6c8 Update CHANGELOG.md 2019-03-22 19:08:11 +00:00
Richard Davey
cf504ac9c2 Body.setVelocity was cause the speed property to be set to NaN if you didn't provide a y argument. 2019-03-22 13:16:37 +00:00
Richard Davey
de14633247 Update CHANGELOG.md 2019-03-15 13:32:02 +00:00
Richard Davey
0a87a0bdef Added new getProduct method and fixed naming of consumePurchases. 2019-03-13 12:37:01 +00:00
Richard Davey
ab1d39bebb Update CHANGELOG.md 2019-03-08 20:09:31 +00:00
Richard Davey
8839ab1c0e Added the new overlapRect method. 2019-03-07 15:16:31 +00:00
Richard Davey
8e872fcb51 Fixed closest and furthest when the RTree is disabled 2019-03-07 14:13:45 +00:00
Richard Davey
d36ada0386 Added collideTiles and overlapTiles to AP. 2019-03-07 13:36:15 +00:00
Richard Davey
4196a7380e Update CHANGELOG.md 2019-03-07 12:36:30 +00:00
Richard Davey
0ee2442597 Bumping to 3.17.0 2019-03-07 12:31:06 +00:00
Richard Davey
ccdb109873 Update CHANGELOG.md 2019-03-05 14:45:57 +00:00
Richard Davey
c85648e06a The PluginManager.installScenePlugin method has a new optional boolean parameter fromLoader which controls if the plugin is coming in from the result of a Loader operation or not. If it is, it no longer throws a console warning if the plugin already exists. This fixes an issue where if you return to a Scene that loads a Scene Plugin it would throw a warning and then not install the plugin to the Scene. 2019-02-28 12:24:41 +00:00
Richard Davey
c15734f1bc A Scene will now emit the new CREATE event after it has been created by the Scene Manager. If the Scene has a create method this event comes after that, so is useful to knowing when a Scene may have finished creating Game Objects, etc. 2019-02-26 11:00:20 +00:00
Richard Davey
a1265a207b The return from the ScenePlugin.add method has changed. Previously, it would return the ScenePlugin, but now it returns a reference to the Scene that was added to the Scene Manager, keeping it in-line with all other add methods in the API. Fix #4359 2019-02-25 17:12:00 +00:00
Richard Davey
f9e6f2cd71 Update CHANGELOG.md 2019-02-25 17:09:08 +00:00
Richard Davey
35363631d6 Added jsdoc blocks 2019-02-24 23:36:56 +00:00
Richard Davey
84c24862cf GetAdvancedValue now uses the correct Math RND reference, which means anything that used the randInt or randFloat features of this function, such as creating a Sprite from a Config object, or Bitmap Text sizing, will no longer throw an error about a null object reference. Fix #4369 2019-02-24 22:56:29 +00:00
Richard Davey
0ed8cc052f Update CHANGELOG.md 2019-02-24 22:12:14 +00:00
Richard Davey
80c8250d4f Update CHANGELOG.md 2019-02-22 03:58:29 +00:00
Richard Davey
38927d48b6 Update CHANGELOG.md 2019-02-22 00:47:23 +00:00
Richard Davey
376f06d2a9 Updated for 3.16.3 2019-02-15 10:39:07 +00:00
Richard Davey
04080bc1ba 3.16.2 Release 2019-02-11 09:59:29 +00:00
Richard Davey
cd67fd6108 Update CHANGELOG.md 2019-02-10 21:45:56 +00:00
Richard Davey
d50475045d Added Zone.setBlendMode method as a NOOP function, fixing a bug where if you added a Zone to a Container when running under Canvas it would fail. Fix #4295 2019-02-10 17:30:01 +00:00
Richard Davey
f3f65d1437 Refactored the game over and out handling to work with the non-legacy input system. Fix #4344 2019-02-10 17:10:13 +00:00
Richard Davey
a252225be6 Entering Fullscreen mode in the Scale Manager and then pressing ESC would leave the injected fullsceen div in the DOM, causing it to fail with a node insertion failure the second time you wanted to enter fullscreen mode. Fix #4352 2019-02-10 16:13:45 +00:00
Richard Davey
0ab61ac6de When the Matter World creates its wall bounds, the left and right walls now extend further up and down than before, so that in a 4-wall setting there are no gaps in the corners, which previously allowed for fast moving objects that hit a corner intersection point to sometimes travel through it. 2019-02-09 16:27:20 +00:00
Richard Davey
fd8d75ab02 Refactored the Pointer Constraint to make it work more like a real pointer does, added missing events, added full jsdocs. 2019-02-09 16:02:21 +00:00
Richard Davey
7041601893 Added drag events to Pointer Constraint 2019-02-09 14:58:42 +00:00
Richard Davey
8eaaa3515f Update CHANGELOG.md 2019-02-08 17:33:53 +00:00
Richard Davey
1a1ed45925 Update CHANGELOG.md 2019-02-08 13:36:31 +00:00
Richard Davey
b4aeeadb65 Update CHANGELOG.md 2019-02-08 13:32:58 +00:00
Richard Davey
17d56bd8ac Moved jsdoc comment to stop weird TS module generation 2019-02-08 13:08:32 +00:00
Richard Davey
f8c4252fcb Tweaked setTileScale arguments 2019-02-08 12:13:01 +00:00
Richard Davey
916a13cf9d resetKeys doc update. Fix #4345 2019-02-07 00:31:10 +00:00
Richard Davey
05e3520048 The Mesh.setAlpha method has been restored, even though it's empty and does nothing, to prevent runtime errors when adding a Mesh or Quad object to a Container. Fix #4338 #4343 2019-02-06 23:36:05 +00:00
Richard Davey
b09fa3f10e Preparing for 3.17 dev 2019-02-06 12:41:18 +00:00
Richard Davey
f9cb8972ab 3.16.1 (because, npm) 2019-02-05 00:49:42 +00:00
Richard Davey
0a4325dc97 Updated Change Log and ReadMe for release 2019-02-05 00:03:49 +00:00
Richard Davey
c616e32964 Update CHANGELOG.md 2019-02-04 23:28:51 +00:00
Richard Davey
eb9ed3463f Lots of namespace and jsdoc fixes 2019-02-01 18:02:58 +00:00
Richard Davey
ec7e062dd1 Updated Change Log 2019-02-01 13:32:59 +00:00
Richard Davey
5587b00fc5 Update CHANGELOG.md 2019-01-31 11:27:29 +00:00
Richard Davey
38639eecec Update CHANGELOG.md 2019-01-31 11:12:03 +00:00
Richard Davey
dbd3745b4a The AddToDOM method has had the overflowHidden argument removed. The DOM element the canvas is inserted into no longer has overflow: hidden applied to its style. If you wish to have this, please add it directly via CSS. 2019-01-30 22:46:29 +00:00
Richard Davey
a9d6951660 A Tween Timeline will now set it's internal destroy state _before_ calling either the onComplete callback or sending the COMPLETE event. This means you can now call methods that will change the state of the Timeline, such as play, during the callback handlers, where-as before doing this would have had the internal state changed immediately, preventing it 2019-01-30 15:49:08 +00:00