v3.85 Beta 2 Release

This commit is contained in:
Richard Davey 2024-07-23 17:01:47 +01:00
parent f519c582c7
commit 445d58faa9
10 changed files with 43032 additions and 41202 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

2433
dist/phaser-ie9.js vendored

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

2433
dist/phaser.esm.js vendored

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

2433
dist/phaser.js vendored

File diff suppressed because it is too large Load diff

2
dist/phaser.min.js vendored

File diff suppressed because one or more lines are too long

23
types/phaser.d.ts vendored
View file

@ -6386,6 +6386,11 @@ declare namespace Phaser {
*/
readonly inFocus: boolean;
/**
* The duration of the most recent game pause, if any, in ms.
*/
readonly pauseDuration: number;
/**
* The delta time, in ms, since the last game step. This is a clamped and smoothed average value.
*/
@ -105527,7 +105532,7 @@ declare namespace Phaser {
*
* You can scroll, zoom and rotate this Camera.
*/
camera: Phaser.Cameras.Scene2D.BaseCamera;
camera: Phaser.Cameras.Scene2D.Camera;
/**
* The Render Target that belongs to this Dynamic Texture.
@ -106622,9 +106627,9 @@ declare namespace Phaser {
*
* This is useful if this Texture is, for example, a sprite sheet within an Atlas, and you
* need to know the total bounds of the sprite sheet.
* @param sourceIndex The index of the TextureSource to get the Frame bounds from.
* @param sourceIndex The index of the TextureSource to get the Frame bounds from. Default 0.
*/
getFrameBounds(sourceIndex: number): Phaser.Types.Math.RectangleLike;
getFrameBounds(sourceIndex?: number): Phaser.Types.Math.RectangleLike;
/**
* Returns an array with all of the names of the Frames in this Texture.
@ -107484,20 +107489,20 @@ declare namespace Phaser {
* Gets a tile at the given tile coordinates from the given layer.
* @param tileX X position to get the tile from (given in tile units, not pixels).
* @param tileY Y position to get the tile from (given in tile units, not pixels).
* @param nonNull For empty tiles, return a Tile object with an index of -1 instead of null. Default false.
* @param nonNull For empty tiles, return a Tile object with an index of -1 instead of null.
* @param layer The Tilemap Layer to act upon.
*/
function GetTileAt(tileX: number, tileY: number, nonNull?: boolean, layer?: Phaser.Tilemaps.LayerData): Phaser.Tilemaps.Tile;
function GetTileAt(tileX: number, tileY: number, nonNull: boolean, layer: Phaser.Tilemaps.LayerData): Phaser.Tilemaps.Tile;
/**
* Gets a tile at the given world coordinates from the given layer.
* @param worldX X position to get the tile from (given in pixels)
* @param worldY Y position to get the tile from (given in pixels)
* @param nonNull For empty tiles, return a Tile object with an index of -1 instead of null. Default false.
* @param nonNull For empty tiles, return a Tile object with an index of -1 instead of null.
* @param camera The Camera to use when calculating the tile index from the world values.
* @param layer The Tilemap Layer to act upon.
*/
function GetTileAtWorldXY(worldX: number, worldY: number, nonNull?: boolean, camera?: Phaser.Cameras.Scene2D.Camera, layer?: Phaser.Tilemaps.LayerData): Phaser.Tilemaps.Tile;
function GetTileAtWorldXY(worldX: number, worldY: number, nonNull: boolean, camera: Phaser.Cameras.Scene2D.Camera, layer: Phaser.Tilemaps.LayerData): Phaser.Tilemaps.Tile;
/**
* Gets the corners of the Tile as an array of Vector2s.
@ -112230,7 +112235,7 @@ declare namespace Phaser {
constructor(name: string, firstgid: number, tileWidth?: number, tileHeight?: number, tileMargin?: number, tileSpacing?: number, tileProperties?: object, tileData?: object, tileOffset?: object);
/**
* The name of the Tileset.s
* The name of the Tileset.
*/
name: string;
@ -112357,7 +112362,7 @@ declare namespace Phaser {
setTileSize(tileWidth?: number, tileHeight?: number): Phaser.Tilemaps.Tileset;
/**
* Sets the tile margin & spacing and updates the tile data (rows, columns, etc.).
* Sets the tile margin and spacing and updates the tile data (rows, columns, etc.).
* @param margin The margin around the tiles in the sheet (in pixels).
* @param spacing The spacing between the tiles in the sheet (in pixels).
*/

File diff suppressed because one or more lines are too long