Commit graph

14097 commits

Author SHA1 Message Date
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
Richard Davey
88cd83a508 Fixed bug in PhysicsEditorParser where it would allow non-clockwise vertices through 2020-01-10 15:32:03 +00:00
Richard Davey
1d827c911f 0.2 is just too dim 2020-01-10 14:53:39 +00:00
Richard Davey
ea2337c091 Only if parts = 1 2020-01-10 14:53:27 +00:00
Richard Davey
282a4df811 Update Factory.js 2020-01-10 14:53:17 +00:00
Richard Davey
415de5b7b8 Update CHANGELOG.md 2020-01-10 11:20:57 +00:00
Richard Davey
e07513b707 Small restructure 2020-01-10 11:20:53 +00:00
Richard Davey
4e53d74581 Removed un-used properties 2020-01-10 11:20:41 +00:00
Richard Davey
2a5ee807ac New name 2020-01-10 11:20:30 +00:00
Richard Davey
e27914792e More robust checks 2020-01-10 10:52:54 +00:00
Richard Davey
0d66c98ff0 Added JSDocs for fromPhysicsEditor method and tidied things up a bit. 2020-01-10 08:56:49 +00:00
Richard Davey
ea338cadaa Fixed JSDocs and origin assignment. 2020-01-10 08:56:31 +00:00
Richard Davey
5c9c00bfdb Removed un-used code. 2020-01-10 08:56:17 +00:00
Richard Davey
887227a313 Added centerOffset back and fixed calculations 2020-01-10 08:55:56 +00:00
Richard Davey
6c947c9677 Updated PhysicsEditor Parser
Now allows you to specify options object to override the loaded config. Also removed un-used parameters and fixed JSDocs. Finally, using Common.clone to avoid mutating the loaded JSON.
2020-01-10 08:55:31 +00:00
samme
eacb61e109 Check for disabled body in collideSpriteVsGroup() 2020-01-09 19:45:11 -08:00
Tommy Leung
45abd5447e add SpinePlugin, SpineGameObject, SpineFile d.ts 2020-01-09 11:16:11 -07:00
Richard Davey
d63001d719 Testing offsets 2020-01-09 17:55:03 +00:00
Richard Davey
590256fe92 Added fromPhysicsEditor method 2020-01-09 17:54:38 +00:00
Richard Davey
d3aaff82e1 Finished JSDocs 2020-01-09 16:38:33 +00:00
Richard Davey
acb1ecce6c Update CHANGELOG.md 2020-01-09 13:20:32 +00:00
Richard Davey
a8f3c3b9c0 New BodyBounds class for getting body bounds based coordinates 2020-01-09 13:18:44 +00:00
Richard Davey
fceef3ddf0 Added BodyBounds class 2020-01-09 13:18:24 +00:00
Richard Davey
d031d91f1e Added bodyBounds class, finished alignBody and fixed typedefs 2020-01-09 13:18:13 +00:00
Richard Davey
9aeead5cc2 New Body typedef 2020-01-09 13:17:56 +00:00