Commit graph

804 commits

Author SHA1 Message Date
Richard Davey
00638ae9ee Swapped to use GetValue instead. 2019-04-08 11:45:08 +01:00
Richard Davey
cd8fb4217a Tweens created with a duration of zero will now render for one frame before completing. Fix #4235 2019-04-08 11:18:42 +01:00
Richard Davey
b9fef30d99 Update CHANGELOG.md 2019-04-08 11:01:25 +01:00
Richard Davey
09487bbfc6 Added new resetCollisionIDs method re: #4334 2019-04-08 10:34:52 +01:00
Richard Davey
77fa68721e Update CHANGELOG.md 2019-04-08 10:18:47 +01:00
Richard Davey
382fed3de7 Added TextureManager.removeKey method and invoke it from Texture.destroy. Fix #4461 2019-04-06 11:35:58 +01:00
Richard Davey
199f5989e6 Update CHANGELOG.md 2019-04-05 18:35:34 +01:00
Richard Davey
2ecaad5f03 Fixes use of static keyword. Fix #4458 2019-04-05 18:04:34 +01:00
Richard Davey
f4f33ed53c Update CHANGELOG.md 2019-04-05 17:41:31 +01:00
Richard Davey
3b3e426752 Update CHANGELOG.md 2019-04-05 17:12:31 +01:00
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