Commit graph

14021 commits

Author SHA1 Message Date
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
Richard Davey
fe2b1e4489 Merge branch 'master' of https://github.com/photonstorm/phaser 2020-01-11 15:25:17 +00:00
Richard Davey
708b16d570 Update CHANGELOG.md 2020-01-11 15:25:03 +00:00
Richard Davey
0e391f8dd0
Merge pull request #4951 from bramp/vec2
Update documentation and one import, to use the consistent name of `Vector2`
2020-01-11 15:24:18 +00:00
Andrew Brampton
e42f227ec2
Update documentation and one import, to use the consistent name of Vector2.
There were examples that used Vec2, which wouldn't work. For example `An array of Point or Vector2 objects: [new Phaser.Math.Vec2(x1, y1), ...]` was not copy and pastable.
2020-01-11 06:46:25 -08:00
Richard Davey
cf1e4645f3 Ignore if CoM is 0.5 2020-01-10 18:05:20 +00:00
Richard Davey
7ceda58213 Update CHANGELOG.md 2020-01-10 17:39:43 +00:00
Richard Davey
f90d679d22 Added setToSleep and setAwake methods 2020-01-10 17:39:40 +00:00
Richard Davey
d884fd0468 Handle scaled bodies properly 2020-01-10 17:03:50 +00:00
Richard Davey
c9a98088b6 Update CHANGELOG.md 2020-01-10 16:24:44 +00:00
Richard Davey
8b1cc40a23 SetBody can now use JSON data natively 2020-01-10 16:24:40 +00:00
Richard Davey
8e7c3103d8 Moved the fromJSON code to its own external parser 2020-01-10 16:24:30 +00:00
Richard Davey
f3bbf4f88d Update CHANGELOG.md 2020-01-10 15:34:44 +00:00