Richard Davey
f09ec762ee
Removed Graphics Pipeline
...
The WebGL Graphics Pipeline has been removed. This pipeline wasn't used in v3.55, as all Graphics rendering is handled by the MultiTint pipeline, for better batching support. No Phaser Game Objects use the Graphics pipeline any longer, so to save space it has been removed and is no longer installed by the Pipeline Manager.
2022-07-12 13:39:51 +01:00
Richard Davey
f19801f68a
Deps update
2022-07-06 16:18:57 +01:00
Richard Davey
c47a40ba97
Working through making Body a passable type
2022-07-04 18:44:10 +01:00
Richard Davey
ec8f20b692
Swap the handler type and fixed staticBody
2022-07-04 16:40:13 +01:00
Richard Davey
132ab9cdbd
Added isBody
property
2022-07-04 16:39:53 +01:00
Richard Davey
6b55ac6b06
Made gameObject optional
2022-07-04 15:55:14 +01:00
Richard Davey
284277887f
Added body and staticBody methods
2022-07-04 15:55:07 +01:00
Richard Davey
20c597738f
Made gameObject optional and added setGameObject method
2022-07-04 15:54:53 +01:00
Richard Davey
1591ebdb77
Merge pull request #6158 from samme/docs/audio-video-url-config
...
Add AudioFileURLConfig and VideoFileURLConfig types
2022-06-29 16:42:56 +01:00
Richard Davey
3175f1e4fa
Merge pull request #6157 from samme/patch-16
...
Fix JSDoc syntax in GameObjectFactory#group()
2022-06-29 16:42:28 +01:00
samme
1a9fe0ccb6
Add AudioFileURLConfig and VideoFileURLConfig types
2022-06-28 11:12:30 -07:00
samme
e2aebec933
Fix JSDoc syntax
2022-06-28 10:50:19 -07:00
Richard Davey
0500cc5953
Update CHANGELOG-v3.60.md
2022-06-28 16:53:09 +01:00
Richard Davey
e0f2a6585a
The Device.Audio
module has been rewritten to use a new internal CanPlay
function that cuts down on the amount of code required greatly.
2022-06-28 16:53:07 +01:00
Richard Davey
9f78ccf2f5
Error if using compressed texture for TileSprite
...
fix #6156
2022-06-27 18:11:00 +01:00
Richard Davey
b6fd9bec14
Update CHANGELOG-v3.60.md
2022-06-27 18:00:40 +01:00
Richard Davey
d2f7f220ae
Merge pull request #6141 from Cirras/canvas_antialias_scalemode
...
Let texture `scaleMode` override the `antialias` setting under `CANVAS`
2022-06-27 17:58:51 +01:00
Richard Davey
1ca0da3221
Merge pull request #6142 from lolimay/patch-1
...
Fixes GameObjectFactory#group method's signature
2022-06-27 17:56:52 +01:00
Richard Davey
03ed645939
Update CHANGELOG-v3.60.md
2022-06-27 17:53:04 +01:00
Richard Davey
c754bb9133
Removed un-needed characters
2022-06-27 17:53:04 +01:00
Richard Davey
26cca86eff
Merge pull request #6153 from samme/patch-15
...
Fix Phaser.Display.RGB#equals()
2022-06-27 17:33:38 +01:00
Edward Faulkner
0791302699
Improve types for ArcdePhysics.closest
...
This uses generics so that the return type from closest() is narrowed to match whatever type you passed in for the eligible targets.
Resulting typescript diff:
```diff
--- a/types/phaser.d.ts
+++ b/types/phaser.d.ts
@@ -70565,7 +70565,7 @@ declare namespace Phaser {
* @param source Any object with public `x` and `y` properties, such as a Game Object or Geometry object.
* @param targets The targets.
*/
- closest(source: any, targets?: Phaser.Physics.Arcade.Body[] | Phaser.Physics.Arcade.StaticBody[] | Phaser.GameObjects.GameObject[]): Phaser.Physics.Arcade.Body | Phaser.Physics.Arcade.StaticBody | Phaser.GameObjects.GameObject;
+ closest<Target extends Phaser.Physics.Arcade.Body|Phaser.Physics.Arcade.StaticBody|Phaser.GameObjects.GameObject>(source: Phaser.Types.Math.Vector2Like, targets?: Target[]): Target | null;
/**
* Finds the Body or Game Object farthest from a source point or object.
(END)
```
2022-06-25 17:00:02 -04:00
Richard Davey
54370a0d6c
Update README.md
2022-06-23 18:29:37 +01:00
samme
ad32842fa4
Fix Phaser.Display.RGB#equals()
2022-06-22 17:49:40 -07:00
Richard Davey
cf94e2cc8e
Update Container.js
2022-06-22 17:17:52 +01:00
Richard Davey
e032d573b1
Update Container.js
2022-06-22 16:13:41 +01:00
Richard Davey
e4c520aa9e
Update TextStyle.js
2022-06-22 14:22:52 +01:00
Richard Davey
6768653a85
Update CHANGELOG-v3.60.md
2022-06-21 17:04:42 +01:00
Richard Davey
8ad90cc949
When passing a TextStyle
configuration object to the Text Game Objects setStyle
method, it would ignore any metrics
data it may contain and reset it back to the defaults. It will now respect the metrics
config and use it, if present. Fix #6149
2022-06-21 17:04:38 +01:00
Richard Davey
caf6eb06dc
Deps udpate
2022-06-21 16:30:05 +01:00
Richard Davey
7dc9af3053
Update CHANGELOG-v3.60.md
2022-06-21 16:27:45 +01:00
Richard Davey
b82c01d336
GameObjects.Polygon.setTo
is a new method that allows you to change the points being used to render a Polygon Shape Game Object. Fix #6151
2022-06-21 16:27:43 +01:00
Richard Davey
fed73569b0
Update CHANGELOG-v3.60.md
2022-06-17 15:14:54 +01:00
Richard Davey
4f652e4c7c
Only flip if being used as a sprite textured
2022-06-17 15:14:54 +01:00
Richard Davey
37b4892c51
Update CHANGELOG-v3.60.md
2022-06-17 15:14:54 +01:00
Richard Davey
3974f97994
Merge pull request #6145 from rexrainbow/update-hitarea-when-settexture
...
Update hitarea when changing frame
2022-06-17 12:22:39 +01:00
Rex
59bf0365c8
Update hitarea when changing frame
2022-06-17 14:46:03 +08:00
Shiqi Mei
a60d0bc4e6
Fixes GameObjectFactory#group method's signature
2022-06-15 15:25:26 +08:00
Jonah Jeleniewski
e8c8be0385
Let texture scaleMode
override the antialias
setting under CANVAS
2022-06-11 18:07:29 +10:00
Richard Davey
01c7aab8c0
Fixed version number
2022-06-09 12:11:24 +01:00
Richard Davey
6b0962cff8
Preparing for 3.60 Beta 10
2022-06-07 17:54:19 +01:00
Richard Davey
491a58e55a
3.60 Beta 9 Release
2022-06-07 17:43:11 +01:00
Richard Davey
d4088ab36e
Deps udpate
2022-06-07 17:36:20 +01:00
Richard Davey
1c1f69bf90
Update CHANGELOG-v3.60.md
2022-06-07 17:17:22 +01:00
Richard Davey
5763f9e76b
The DisplayList.addChildCallback
method will now check to see if the child has a parent container, and if it does, remove it from there before adding it to the Scene Display List. Fix #6091
2022-06-07 17:17:18 +01:00
Richard Davey
539d73583a
Update CHANGELOG-v3.60.md
2022-06-07 17:07:49 +01:00
Richard Davey
9fb446c7e2
Container.removeAll
(which is also called when a Container is destroyed) will now directly destroy the children, if the given parameter is set, rather than doing it after removing them via the event handler. This fixes an issue where nested Containers would add destroyed children back to the Scene as part of their shutdown process. Fix #6078
2022-06-07 17:07:46 +01:00
Richard Davey
285e4f06df
Update CHANGELOG-v3.60.md
2022-06-07 16:54:51 +01:00
Richard Davey
bdc3c05a1a
Container.removeHandler
now specifies the context for Events.DESTROY
, fixing an issue where objects moved from one container, to another, then destroyed, would cause sys
reference errors. Fix 5846
2022-06-07 16:54:48 +01:00
Richard Davey
93165f1427
Update CHANGELOG-v3.60.md
2022-06-07 16:44:31 +01:00