Commit graph

14185 commits

Author SHA1 Message Date
Richard Davey
e1a6214c9b A DOMElement will now set the display mode to 'none' during its render if the Scene in which it belongs is no longer visible. 2020-01-15 11:15:23 +00:00
Richard Davey
867a11b30b DOMElement has a new private method handleSceneEvent which will handle toggling the display setting of the element when a Scene sleeps and wakes. A DOM Element will now listen for the Scene sleep and wake events. These event listeners are removed in the preDestroy method. 2020-01-15 11:15:09 +00:00
Richard Davey
f3a91c1f54 Update CHANGELOG.md 2020-01-15 10:42:59 +00:00
Richard Davey
90c8825ddb A PathFollower with a very short duration would often not end in the correct place, which is the very end of the Path, due to the tween handling the movement not running one final update when the tween was complete. It will now always end at the final point of the path, no matter how short the duration. Fix #4950 2020-01-15 10:42:56 +00:00
Richard Davey
d419428604 Update CHANGELOG.md 2020-01-15 10:29:12 +00:00
Richard Davey
3d144bd99e JSDoc update. Fix #4955 2020-01-15 10:29:09 +00:00
Richard Davey
aed51569a4 Update CHANGELOG.md 2020-01-15 00:32:00 +00:00
Richard Davey
1ccfd8d68b In Actions.GridAlign if you set width to -1 it would align the items vertically, instead of horizontally. It now aligns them horizontally if width is set, or vertically if height is set. Fix #4899 2020-01-15 00:31:57 +00:00
Richard Davey
ec2f103c09 Update CHANGELOG.md 2020-01-14 23:57:51 +00:00
Richard Davey
c3940e15c6 PhysicsGroup now uses the new internalCreateCallback and internalRemoveCallback to handle its body creation and destruction, allowing you to use your own createCallback and removeCallback as defined in the Group config. Fix #4420 #4657 #4822 2020-01-14 23:57:48 +00:00
Richard Davey
08c4ab0e4c Added internalCreateCallback and internalRemoveCallback to a Group 2020-01-14 23:55:21 +00:00
Richard Davey
847abb0ef2 Scene.Systems.getData is a new method that will return any data that was sent to the Scene by another Scene, i.e. during a run or launch command. You can access it via this.sys.getData() from within your Scene. 2020-01-14 23:29:14 +00:00
Richard Davey
fb7f66838a Marked width/height as readonly and added docs. Fix #4806 2020-01-14 22:45:55 +00:00
Richard Davey
178a4929ab Update CHANGELOG.md 2020-01-14 22:42:16 +00:00
Richard Davey
a81c2ea132 When playing an Animation, if you were to play another, then pause it, then play another the internal _paused wouldn't get reset, preventing you from them pausing the animations from that point on. You can now play and pause animations at will. Fix #4835 2020-01-14 22:42:14 +00:00
Richard Davey
a068af2845 Update CHANGELOG.md 2020-01-14 22:16:44 +00:00
Richard Davey
32c01038e0 FacebookInstantGamesPlugin.showAd and showVideo will now break out of the ad iteration search once a valid ad has been found and called. Previously, it would carry on interating if the async didn't complete quickly. Fix #4888 2020-01-14 22:16:41 +00:00
Richard Davey
6a35f2c52e Update CHANGELOG.md 2020-01-14 17:42:55 +00:00
Richard Davey
a72668b419 Regenerated with new Matter types 2020-01-14 17:15:11 +00:00
Richard Davey
f15ef8648e Lots of type fixes 2020-01-14 17:11:07 +00:00
Richard Davey
91e59ab39a Update MatterPhysics.js 2020-01-14 14:59:35 +00:00
Richard Davey
40e798ab3c Improving Matter defs 2020-01-14 14:59:32 +00:00
Richard Davey
47ae9eaadc Exposed StaggerBuilder and added missing param to JSDocs 2020-01-13 22:35:40 +00:00
Richard Davey
66b6624a44 Tidying up 2020-01-13 17:10:33 +00:00
Richard Davey
1c6e8df436 Update MatterPhysics.js 2020-01-13 17:10:19 +00:00
Richard Davey
cc5c5bb1e3 3.22 defs 2020-01-13 13:29:40 +00:00
Richard Davey
0ced4e3669 Update CHANGELOG.md 2020-01-13 13:29:30 +00:00
Richard Davey
c56d91281c Lots of fixes to the Matter defs 2020-01-13 13:29:25 +00:00
Richard Davey
9ad53daf72 Parser now includes Matter defs and AlphaSingle component 2020-01-13 13:29:15 +00:00
Richard Davey
51aa5d019d Removed namespace as it conflicts with TypeScript defs 2020-01-13 13:28:50 +00:00
Richard Davey
9c0b77db92 Fixed JSDocs 2020-01-13 13:28:24 +00:00
Richard Davey
1928480913 Fixed JSDocs 2020-01-13 12:35:33 +00:00
Richard Davey
f36a4eef3e Update CHANGELOG.md 2020-01-13 12:30:00 +00:00
Richard Davey
fce658aea2 Fix #4825 2020-01-13 12:29:57 +00:00
Richard Davey
b63dd557e1 Update Parser.ts 2020-01-13 12:20:24 +00:00
Richard Davey
c8d5e19a13 Update package-lock.json 2020-01-13 12:20:24 +00:00
Richard Davey
4090c3e723 Update CHANGELOG.md 2020-01-13 12:20:24 +00:00
Richard Davey
fdbd5a4f6d The ScaleManager.destroy method wasn't being called when the Game DESTROY event was dispatched, causing minor gc to build up. The destroy method will now be called properly on game destruction. Fix #4944 2020-01-13 12:20:24 +00:00
Richard Davey
22b5f95254 Update CHANGELOG.md 2020-01-13 12:20:23 +00:00
Richard Davey
706cef7912
Merge pull request #4935 from Aedalus/master
Changed tile getTint function to use getTintAppendFloatAlphaAndSwap
2020-01-13 12:13:42 +00:00
Richard Davey
86e5f8e4bd
Merge pull request #4952 from zaniar/align-in-quickset-alias
Make Phaser.Display.Align.In.QuickSet accepts LEFT_BOTTOM, LEFT_TOP, RIGHT_BOTTOM, and RIGHT_TOP.
2020-01-13 12:04:15 +00:00
Richard Davey
8c39dea143
Merge pull request #4925 from samme/feature/actions-alignto
Add Phaser.Actions.AlignTo() and Phaser.Display.Align.To.QuickSet()
2020-01-13 12:00:33 +00:00
Richard Davey
fd904477b2
Merge pull request #4948 from ourcade/add-spineplugin-definitions
add SpinePlugin, SpineGameObject, SpineFile d.ts
2020-01-13 11:57:40 +00:00
Richard Davey
ff2484a3fb
Merge pull request #4936 from AdamXA/fix-external-fullscreen-api-calls
Fixes external Fullscreen API calls being blocked by fullscreenchange listener
2020-01-13 11:53:46 +00:00
Richard Davey
2bb1f0867b
Merge pull request #4939 from Chnapy/master
Improve JSDoc typings & improve tsgen with default generic types
2020-01-13 11:41:59 +00:00
Richard Davey
8b9819b8f7
Merge pull request #4949 from samme/fix/collideSpriteVsSprite
Check for disabled body in collideSpriteVsGroup()
2020-01-13 11:34:36 +00:00
Richard Davey
5da15fc189 Update CHANGELOG.md 2020-01-13 11:33:25 +00:00
Richard Davey
271e4e3943 Use FuzzyEquals for safety 2020-01-13 11:33:21 +00:00
Edwin Zaniar Putra
3714b490b1 Make Phaser.Display.Align.In.QuickSet accepts LEFT_BOTTOM, LEFT_TOP, RIGHT_BOTTOM, and RIGHT_TOP. 2020-01-12 22:06:41 +07:00
Richard Davey
439d50ee9f Update Polygon.js 2020-01-11 16:18:56 +00:00