Skip to content

Commit

Permalink
v3.85 Beta 2 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
photonstorm committed Jul 23, 2024
1 parent f519c58 commit 445d58f
Show file tree
Hide file tree
Showing 10 changed files with 43,014 additions and 41,184 deletions.
854 changes: 635 additions & 219 deletions dist/phaser-arcade-physics.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/phaser-arcade-physics.min.js

Large diffs are not rendered by default.

2,421 changes: 1,444 additions & 977 deletions dist/phaser-ie9.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/phaser-ie9.min.js

Large diffs are not rendered by default.

2,421 changes: 1,444 additions & 977 deletions dist/phaser.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/phaser.esm.min.js

Large diffs are not rendered by default.

2,421 changes: 1,444 additions & 977 deletions dist/phaser.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/phaser.min.js

Large diffs are not rendered by default.

23 changes: 14 additions & 9 deletions types/phaser.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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).
*/
Expand Down
Loading

0 comments on commit 445d58f

Please sign in to comment.