Commit graph

15416 commits

Author SHA1 Message Date
Richard Davey
b63cc75154 Remove Camera.resolution use 2020-09-12 11:55:38 +01:00
Richard Davey
f2fca49b3f Remove Camera resolution use 2020-09-12 11:55:26 +01:00
Richard Davey
d6f5aabb7e The TextStyle.resolution property is no longer read from the Game Config. You can still set it via the Text Style config to a value other than 1, but it will default to this now. 2020-09-12 11:55:06 +01:00
Richard Davey
0acdf4373f Formatting update 2020-09-12 11:53:36 +01:00
Richard Davey
c46c3e4c82 The Core.Config.resolution property has been removed. 2020-09-12 11:53:23 +01:00
Richard Davey
f0f93cde7d The CameraManager.onResize method no longer receives or uses the resolution parameter. 2020-09-12 11:52:40 +01:00
Richard Davey
3579d39fa2 The Camera.preRender method no longer receives or uses the resolution parameter. 2020-09-12 11:51:59 +01:00
Richard Davey
d1f2c9239c Resolution removal
* The `BaseCamera.resolution` property has been removed.
* The internal private `BaseCamera._cx`, `_cy`, `_cw` and `_ch` properties has been removed.
* The `BaseCamera.preRender` method no longer receives or uses the `resolution` parameter.
2020-09-12 11:51:37 +01:00
Richard Davey
3eece86179 Split v3.50 Change Log into its own file 2020-09-12 11:41:22 +01:00
Richard Davey
3e2aa36631 Update CHANGELOG.md 2020-09-12 10:37:33 +01:00
Richard Davey
5d4fe0a466 Fixed a few linting errors 2020-09-12 10:34:57 +01:00
Richard Davey
36cf9c456a
Merge pull request #5270 from rexrainbow/text-measureText
Get ascent and descent from context.measureText method
2020-09-12 10:30:19 +01:00
Richard Davey
74cd3c5d93 Merge branch 'master' of https://github.com/photonstorm/phaser 2020-09-12 10:28:20 +01:00
Richard Davey
b90ecf8f6d Update CHANGELOG.md 2020-09-12 10:28:18 +01:00
Richard Davey
887e0d8a15
Merge pull request #5302 from samme/feature/copyPosition
Add Phaser.GameObjects.Components.Transform#copyPosition
2020-09-12 10:26:51 +01:00
Richard Davey
34e1d6b345
Merge pull request #5300 from EmilSV/fix_name
Says webglRender but it is in PipelineManager
2020-09-11 18:12:40 +01:00
samme
ad0c5ad5db Docs: since 2020-09-11 10:01:43 -07:00
samme
f05129f30c Add Transform#copyPosition
Needs JSDoc types for Vector3Like, Vector4Like
2020-09-11 09:44:31 -07:00
Emil Schnedler Vad
e1106a0112 Says webglRender but it is in PipelineManager 2020-09-11 18:44:11 +02:00
Richard Davey
18d0d58cb5 Spine Plugin updated for Beta 6 2020-09-11 16:53:50 +01:00
Richard Davey
e7245d11cc Update CHANGELOG.md 2020-09-11 16:27:22 +01:00
Richard Davey
9cd4c1bb0a Refactored to use local vars 2020-09-11 16:27:21 +01:00
Richard Davey
d844402d4d
Merge pull request #5298 from samme/feature/audio-config-default
Add default value for Phaser.Core.Config#audio
2020-09-11 16:25:50 +01:00
Richard Davey
168fb9d2b7 Update CHANGELOG.md 2020-09-11 15:58:25 +01:00
Richard Davey
7475b15976 Preparing for Beta 6 2020-09-11 15:56:53 +01:00
Richard Davey
9746b473f8
Merge pull request #5297 from samme/fix/phaser-time-is-undefined
Fix Phaser.Time is undefined in Phaser.Time.Clock#addEvent
2020-09-11 15:56:26 +01:00
samme
93b5aebdbe Fix undefined TimerEvent
Fixes #5294
2020-09-11 07:45:22 -07:00
Richard Davey
dff71b6ae2 Update CHANGELOG.md 2020-09-11 15:29:04 +01:00
Richard Davey
6c8191f7c5 Fixed Audio and Video type defs. Fix #5295 2020-09-11 15:29:01 +01:00
Richard Davey
9f328700cb Update CHANGELOG.md 2020-09-11 15:22:56 +01:00
Richard Davey
1c2a79ac51 The Scale Managers GetScreenOrientation function will now check for window.orientation first, because iOS mobile browsers have an incomplete implementation of the Screen API, forcing us to use the window value as a priority. This means the Scale Manager will now emit orientationchange events correctly on iOS. Fix #4361 #4914 2020-09-11 15:22:53 +01:00
Richard Davey
60e311afe5 Updated JSDocs 2020-09-11 15:16:37 +01:00
Richard Davey
111702b820 Update CHANGELOG.md 2020-09-11 14:01:58 +01:00
Richard Davey
2acfbfbe71 Gamepad._created is a new private internal property that keeps track of when the instance was created. This is compared to the navigator timestamp in the update loop to avoid event spamming. Fix #4890. 2020-09-11 14:01:55 +01:00
Richard Davey
5ecdc3b4a2 The GamepadPlugin will now call refreshPads as part of its start process. This allows you to use Gamepads across multiple Scenes, without having to wait for a connected event from each one of them. If you've already had a connected event in a previous Scene, you can now just read the pads directly via this.input.gamepad.pad1 and similar. Fix #4890 2020-09-11 14:00:14 +01:00
Richard Davey
a54a3a3e96 Update CHANGELOG.md 2020-09-11 12:23:36 +01:00
Richard Davey
00b799db23 Use Event const, not string. 2020-09-11 12:23:33 +01:00
Richard Davey
c90a3847e4 DataManager.Events.DESTROY is a new event that the Data Manager will _listen_ for from its parent and then call its own destroy method when received. 2020-09-11 12:21:39 +01:00
Richard Davey
fc6240cca8 Update CHANGELOG.md 2020-09-11 12:10:14 +01:00
Richard Davey
ce236f0d69 ScaleManager.refresh is now called when the Game.READY event fires. This fixes a bug where the Scale Manager would have the incorrect canvas bounds, because they were calculated before a previous canvas was removed from the DOM. Fix #4905 2020-09-11 12:10:10 +01:00
Richard Davey
e8a8dd53e7 Update CHANGELOG.md 2020-09-11 11:08:45 +01:00
Richard Davey
57657ce76c Updated JSDocs. Fix #5268 2020-09-11 11:08:43 +01:00
Richard Davey
0d57de02ee Update CHANGELOG.md 2020-09-11 10:59:51 +01:00
Richard Davey
56bbfbcb62 Removed capture and added preventDefaultDown, Up and Move instead. Also better passive handling and smaller listeners. 2020-09-11 10:59:47 +01:00
Richard Davey
0aea690497 Removed inputMouseCapture and added configs for inputMousePrventDefaultDown, Up and Move instead. 2020-09-11 10:59:20 +01:00
Richard Davey
77ac89e59b Update CHANGELOG.md 2020-09-11 10:16:31 +01:00
Richard Davey
b3ee59b0bb Remove eol setting, let git handle it 2020-09-11 10:16:25 +01:00
Richard Davey
3969d6e45a Updated JSDocs to cover situation in #3858 2020-09-11 10:08:22 +01:00
Richard Davey
0a20245a77 Update LICENSE.md 2020-09-11 09:59:10 +01:00
Richard Davey
e0fe293f98 Create .gitattributes 2020-09-11 09:58:28 +01:00