Commit graph

17898 commits

Author SHA1 Message Date
Richard Davey
7fab94293f
Merge pull request #6181 from Ariorh1337/master
add "flac" sound type support
2022-07-27 16:17:42 +01:00
Dmitry Omelchenko
901dc31880 add second possible flac mime 2022-07-27 15:49:39 +03:00
Dmitry Omelchenko
ef5432df57 add "flac" sound type support 2022-07-27 15:45:33 +03:00
Richard Davey
51e60efa27 Update CHANGELOG-v3.60.md 2022-07-26 18:53:57 +01:00
Richard Davey
7bde7b27a8 Update CHANGELOG-v3.60.md 2022-07-26 18:42:23 +01:00
Richard Davey
7fb8fe2223 Calling Tween.setCallback() without specifying the params argument would cause an error invoking the callback params. This parameter is now fully optional. Fix #6047 2022-07-26 18:42:21 +01:00
Richard Davey
0210c4e584 Update CHANGELOG-v3.60.md 2022-07-26 18:36:11 +01:00
Richard Davey
ceaafe7d6e Update Timeline.js 2022-07-26 18:36:08 +01:00
Richard Davey
fb4f95adf0 Now supports deeply-nested arrays of targets. Fix #6016 2022-07-26 18:36:02 +01:00
Richard Davey
1f6554f98e Utils.Array.Flatten is a new function that will return a flattened version of an array, regardless of how deeply-nested it is. 2022-07-26 18:34:04 +01:00
Richard Davey
f1bb335d35 Added ability to destroy a tween and tided up lots more 2022-07-26 12:50:27 +01:00
Richard Davey
246f60ba87 Update Tween.js 2022-07-26 02:41:11 +01:00
Richard Davey
efd97acdb6 Merge reset - check more isn't needed 2022-07-26 02:40:52 +01:00
Richard Davey
ff4d2184a4 Update TweenManager.js 2022-07-26 02:40:41 +01:00
Richard Davey
98dafdc39a Refactoring tween system 2022-07-26 02:14:21 +01:00
Richard Davey
fb765a47c4 Update TweenBuilder.js 2022-07-26 02:14:06 +01:00
Richard Davey
bb22e539b7 Still refactoring tweens. Almost there. 2022-07-25 19:22:29 +01:00
Richard Davey
0d3ed3fe1f Updated jsdoc and webpack 2022-07-25 14:40:17 +01:00
Richard Davey
15d5874cde Carrying on refactoring the tween system to be immediate 2022-07-20 18:45:17 +01:00
Richard Davey
f617e73498 Testing refactoring the Tween system to use a single list 2022-07-18 18:49:58 +01:00
Richard Davey
dbae65db6f eslint upgrade 2022-07-18 14:46:57 +01:00
Richard Davey
aafe2b1dc8 Update CHANGELOG-v3.60.md 2022-07-12 16:28:15 +01:00
Richard Davey
15c58bc71c Added maxAliveParticles
`maxAliveParticles` is a new Particle Emitter config property that sets the maximum number of _alive_ particles the emitter is allowed to update. When this limit is reached a particle will have to die before another can be spawned.
2022-07-12 16:28:12 +01:00
Richard Davey
2142c428e1 Update CHANGELOG-v3.60.md 2022-07-12 13:39:55 +01:00
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