valadaptive
4640874643
Fix check for new text measurement results
...
actualBoundingBoxDescent is *not* defined on the TextMetrics object
returned from measureText--it's defined on its prototype. This oversight
was causing the slow path to be taken in all browsers.
2021-04-14 22:44:10 -04:00
valadaptive
4cd7706390
Only call getImageData once in MeasureText
2021-04-14 22:38:58 -04:00
Richard Davey
aaa66488dc
The Mesh
Game Object would incorrectly cull faces if the Camera scrolled. It now calculates the cull correctly, regardless of camera world position, zoom or rotation. Fix #5570
2021-04-13 14:44:46 +01:00
Richard Davey
4e2285fd05
Fixed docs
2021-04-13 14:44:38 +01:00
Richard Davey
bb1a078243
The GameObjectFactory.existing
method will now accept Layer
as a TypeScript type. Fix #5642
2021-04-13 13:42:33 +01:00
Richard Davey
c1f7753dd8
Typo. Fix #5649
2021-04-13 13:40:06 +01:00
Richard Davey
f425880db9
Merge pull request #5652 from vforsh/webgl-texture-compression
...
Improve types for WebGL texture compression support
2021-04-13 13:37:45 +01:00
Richard Davey
896befc722
Merge pull request #5639 from mattjennings/fix/load-video-by-config
...
Fix incorrect key when loading a Video with a config object
2021-04-13 13:36:34 +01:00
Richard Davey
3c3b32ec77
Merge pull request #5641 from samme/fix/UpdateList-shutdown
...
Fix scene PRE_UPDATE handlers removed at scene shutdown
2021-04-13 13:33:52 +01:00
Richard Davey
d86962e344
Merge pull request #5638 from samme/patch-9
...
Docs: fix type for KeyboardPlugin#manager
2021-04-13 13:31:42 +01:00
Vladislav Forsh
670a66c697
Improve types for WebGL texture compression support
...
(cherry picked from commit 5626acffec17c6b4d66c78b8e0aa52e5cfcd8478)
2021-04-13 13:19:24 +03:00
Trissolo
8ae19dee83
Fixed - Math#ToXY: now the existing vector passed as 'out' is setted even if 'index' is 0.
2021-04-05 10:31:21 +02:00
samme
2856b1ab3a
Fix clearing PRE_UPDATE by mistake
2021-04-02 19:02:14 -07:00
Matt Jennings
33014d8d6a
fix key not being correct when loading video via config object
2021-04-02 15:18:40 -05:00
samme
9e4d693481
Docs: fix type for KeyboardPlugin#manager
2021-04-02 10:31:49 -07:00
Richard Davey
5c8ecbcf99
Fixed jsdoc layout in #5631
2021-03-30 10:41:43 +01:00
Richard Davey
ad7f1d52e4
Merge pull request #5631 from samme/docs/scene-events
...
Docs: fix scene events example code
2021-03-30 10:34:11 +01:00
Richard Davey
8c47d54e4d
Added missing docs. Fix #5629
2021-03-30 10:30:02 +01:00
Richard Davey
72959cf953
Core.Config.domPointerEvents
is a new config property set via dom: { pointerEvents }
within the Game Config that allows you to set the pointerEvents
css attribute on the DOM Element container.
2021-03-30 10:23:45 +01:00
Richard Davey
b280f3f400
GameObjects.DOMElement.pointerEvents
is a new property that allows you to set the pointerEvents
attribute on the DOM Element CSS. This is auto
by default and should not be changed unless you know what you're doing.
2021-03-30 10:23:23 +01:00
Richard Davey
baa8003f7c
Preparing for 3.55 dev
2021-03-30 09:33:25 +01:00
samme
0482d4c563
Docs: fix scene events example code
2021-03-28 10:20:33 -07:00
Richard Davey
4fea76252b
3.54.0 Release
2021-03-26 15:31:33 +00:00
Richard Davey
040730defe
Update WebAudioSoundManager.js
2021-03-26 11:24:56 +00:00
Richard Davey
033efd8bb8
Use var and pass mapKey to constructor
2021-03-26 11:11:21 +00:00
Richard Davey
baa5fdfd8c
ScenePlugin.pluginKey
is a new string-based property, set by the PluginManager
that contains the key of the plugin with the Scene Systems.
2021-03-26 10:28:26 +00:00
Richard Davey
f060fec275
Merge branch 'master' of https://github.com/photonstorm/phaser
2021-03-26 10:05:54 +00:00
Richard Davey
d3d73d4c09
Update WebAudioSoundManager.js
2021-03-26 10:05:47 +00:00
Richard Davey
dc980a6a49
Merge pull request #5621 from vforsh/master
...
Add Phaser.Math.Median method
2021-03-26 09:46:17 +00:00
Richard Davey
2bc03795cb
Merge pull request #5622 from samme/docs/Vector2
...
Docs: Vector2Like args for Vector2 methods
2021-03-26 09:45:19 +00:00
Richard Davey
b4e3f25116
Merge pull request #5619 from samme/patch-8
...
Docs: fix generic type for GameObjectFactory#existing
2021-03-26 09:44:45 +00:00
Richard Davey
1861174c21
When an Animation has skipMissedFrames
set it will now bail out of the skip catch-up loop if any of the frames cause the animation to complete. Fix #5620
2021-03-26 09:43:36 +00:00
samme
77d14af82a
Docs: Vector2Like args for Vector2
2021-03-25 11:54:15 -07:00
Vladislav Forsh
953dd93e9a
Add Phaser.Math.Median method
2021-03-25 17:42:22 +03:00
samme
f35ab198f7
Docs: fix generic type for GameObjectFactory#existing
2021-03-24 18:00:44 -07:00
Richard Davey
e5f4548961
The WebAudioSoundManager.onFocus
method will now test to see if the state of the AudioContext
is interrupted
, as happens on iOS when leaving the page, and then resumes the context. Fix #5390 #5156 #4790
2021-03-24 17:37:40 +00:00
Richard Davey
d3b188d670
The Scenes.Systems.install
method has been removed. It's no longer required and would throw an error if called. Fix #5580
2021-03-24 16:43:40 +00:00
Richard Davey
29d38b3283
Updated docs
2021-03-24 16:36:22 +00:00
Richard Davey
e9da34e39f
Docs update. Fix #5604
2021-03-24 16:30:33 +00:00
Richard Davey
b7e678cf6c
Update GameConfig.js
2021-03-24 16:30:33 +00:00
Richard Davey
7411c805b8
Version fix
2021-03-24 16:30:33 +00:00
Richard Davey
c863a59223
Merge pull request #5569 from krotovic/feat/tsgen-this-function
...
Add support for `this` in function definitions
2021-03-24 16:06:25 +00:00
Richard Davey
2982b866da
Merge pull request #5612 from veleek/benran/keyboardshutdown
...
Remove and destry all Keys in Scene.Shutdown()
2021-03-24 16:01:08 +00:00
Richard Davey
0806f36685
Merge pull request #5589 from neil-h/master
...
Stop RGBToString from returning CSS strings with decimal places
2021-03-24 15:56:27 +00:00
Richard Davey
ddb62c7aa8
Merge pull request #5614 from workadventure-xce/fix/dom_elements_container_style
...
Do not set pointer-events property on DOM elements container
2021-03-24 15:51:26 +00:00
Richard Davey
9aa08a4a4f
Merge pull request #5606 from vforsh/master
...
Fix #5545
2021-03-24 15:46:41 +00:00
Richard Davey
3da806cdb3
Merge pull request #5601 from masterT/master
...
Documentation Group#getMatching example fix
2021-03-24 15:44:35 +00:00
Richard Davey
89c9a4caaa
Merge pull request #5598 from samme/patch-7
...
Docs: fix RenderTexture params
2021-03-24 15:43:57 +00:00
Richard Davey
20831604c7
Fixed missing backgroundColor
property in GameConfig.
2021-03-24 15:42:55 +00:00
Richard Davey
bd9fbfe077
Adding a Game Object to a Container that already existed in another Container would leave a copy of it on the Display List
2021-03-24 15:39:30 +00:00