@pixi/sprite-animated
Advanced tools
Comparing version 6.3.2 to 6.4.0
/*! | ||
* @pixi/sprite-animated - v6.3.2 | ||
* Compiled Wed, 04 May 2022 17:49:13 UTC | ||
* @pixi/sprite-animated - v6.4.0 | ||
* Compiled Wed, 01 Jun 2022 21:14:23 UTC | ||
* | ||
@@ -231,3 +231,2 @@ * @pixi/sprite-animated is licensed under the MIT License. | ||
* ``` | ||
* | ||
* @memberof PIXI | ||
@@ -285,3 +284,2 @@ */ | ||
* Stops the AnimatedSprite and goes to a specific frame. | ||
* | ||
* @param frameNumber - Frame index to stop at. | ||
@@ -299,3 +297,2 @@ */ | ||
* Goes to a specific frame and begins playing the AnimatedSprite. | ||
* | ||
* @param frameNumber - Frame index to start at. | ||
@@ -313,3 +310,2 @@ */ | ||
* Updates the object transform for rendering. | ||
* | ||
* @param deltaTime - Time since last tick. | ||
@@ -386,3 +382,2 @@ */ | ||
* Stops the AnimatedSprite and destroys it. | ||
* | ||
* @param {object|boolean} [options] - Options parameter. A boolean will act as if all options | ||
@@ -404,5 +399,4 @@ * have been set to that value. | ||
* A short hand way of creating an AnimatedSprite from an array of frame ids. | ||
* | ||
* @param frames - The array of frames ids the AnimatedSprite will use as its texture frames. | ||
* @return - The new animated sprite with the specified frames. | ||
* @returns - The new animated sprite with the specified frames. | ||
*/ | ||
@@ -418,5 +412,4 @@ AnimatedSprite.fromFrames = function (frames) { | ||
* A short hand way of creating an AnimatedSprite from an array of image ids. | ||
* | ||
* @param images - The array of image urls the AnimatedSprite will use as its texture frames. | ||
* @return The new animate sprite with the specified images as frames. | ||
* @returns The new animate sprite with the specified images as frames. | ||
*/ | ||
@@ -434,3 +427,2 @@ AnimatedSprite.fromImages = function (images) { | ||
* assigned to the AnimatedSprite. | ||
* | ||
* @readonly | ||
@@ -473,3 +465,2 @@ * @default 0 | ||
* The AnimatedSprites current frame index. | ||
* | ||
* @readonly | ||
@@ -490,3 +481,2 @@ */ | ||
* Indicates if the AnimatedSprite is currently playing. | ||
* | ||
* @readonly | ||
@@ -493,0 +483,0 @@ */ |
/*! | ||
* @pixi/sprite-animated - v6.3.2 | ||
* Compiled Wed, 04 May 2022 17:49:13 UTC | ||
* @pixi/sprite-animated - v6.4.0 | ||
* Compiled Wed, 01 Jun 2022 21:14:23 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * @pixi/sprite-animated is licensed under the MIT License. |
/*! | ||
* @pixi/sprite-animated - v6.3.2 | ||
* Compiled Wed, 04 May 2022 17:49:13 UTC | ||
* @pixi/sprite-animated - v6.4.0 | ||
* Compiled Wed, 01 Jun 2022 21:14:23 UTC | ||
* | ||
@@ -73,3 +73,2 @@ * @pixi/sprite-animated is licensed under the MIT License. | ||
* ``` | ||
* | ||
* @memberof PIXI | ||
@@ -127,3 +126,2 @@ */ | ||
* Stops the AnimatedSprite and goes to a specific frame. | ||
* | ||
* @param frameNumber - Frame index to stop at. | ||
@@ -141,3 +139,2 @@ */ | ||
* Goes to a specific frame and begins playing the AnimatedSprite. | ||
* | ||
* @param frameNumber - Frame index to start at. | ||
@@ -155,3 +152,2 @@ */ | ||
* Updates the object transform for rendering. | ||
* | ||
* @param deltaTime - Time since last tick. | ||
@@ -228,3 +224,2 @@ */ | ||
* Stops the AnimatedSprite and destroys it. | ||
* | ||
* @param {object|boolean} [options] - Options parameter. A boolean will act as if all options | ||
@@ -246,5 +241,4 @@ * have been set to that value. | ||
* A short hand way of creating an AnimatedSprite from an array of frame ids. | ||
* | ||
* @param frames - The array of frames ids the AnimatedSprite will use as its texture frames. | ||
* @return - The new animated sprite with the specified frames. | ||
* @returns - The new animated sprite with the specified frames. | ||
*/ | ||
@@ -260,5 +254,4 @@ AnimatedSprite.fromFrames = function (frames) { | ||
* A short hand way of creating an AnimatedSprite from an array of image ids. | ||
* | ||
* @param images - The array of image urls the AnimatedSprite will use as its texture frames. | ||
* @return The new animate sprite with the specified images as frames. | ||
* @returns The new animate sprite with the specified images as frames. | ||
*/ | ||
@@ -276,3 +269,2 @@ AnimatedSprite.fromImages = function (images) { | ||
* assigned to the AnimatedSprite. | ||
* | ||
* @readonly | ||
@@ -315,3 +307,2 @@ * @default 0 | ||
* The AnimatedSprites current frame index. | ||
* | ||
* @readonly | ||
@@ -332,3 +323,2 @@ */ | ||
* Indicates if the AnimatedSprite is currently playing. | ||
* | ||
* @readonly | ||
@@ -335,0 +325,0 @@ */ |
/*! | ||
* @pixi/sprite-animated - v6.3.2 | ||
* Compiled Wed, 04 May 2022 17:49:13 UTC | ||
* @pixi/sprite-animated - v6.4.0 | ||
* Compiled Wed, 01 Jun 2022 21:14:23 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * @pixi/sprite-animated is licensed under the MIT License. |
/*! | ||
* @pixi/sprite-animated - v6.3.2 | ||
* Compiled Wed, 04 May 2022 17:49:13 UTC | ||
* @pixi/sprite-animated - v6.4.0 | ||
* Compiled Wed, 01 Jun 2022 21:14:23 UTC | ||
* | ||
@@ -69,3 +69,2 @@ * @pixi/sprite-animated is licensed under the MIT License. | ||
* ``` | ||
* | ||
* @memberof PIXI | ||
@@ -123,3 +122,2 @@ */ | ||
* Stops the AnimatedSprite and goes to a specific frame. | ||
* | ||
* @param frameNumber - Frame index to stop at. | ||
@@ -137,3 +135,2 @@ */ | ||
* Goes to a specific frame and begins playing the AnimatedSprite. | ||
* | ||
* @param frameNumber - Frame index to start at. | ||
@@ -151,3 +148,2 @@ */ | ||
* Updates the object transform for rendering. | ||
* | ||
* @param deltaTime - Time since last tick. | ||
@@ -224,3 +220,2 @@ */ | ||
* Stops the AnimatedSprite and destroys it. | ||
* | ||
* @param {object|boolean} [options] - Options parameter. A boolean will act as if all options | ||
@@ -242,5 +237,4 @@ * have been set to that value. | ||
* A short hand way of creating an AnimatedSprite from an array of frame ids. | ||
* | ||
* @param frames - The array of frames ids the AnimatedSprite will use as its texture frames. | ||
* @return - The new animated sprite with the specified frames. | ||
* @returns - The new animated sprite with the specified frames. | ||
*/ | ||
@@ -256,5 +250,4 @@ AnimatedSprite.fromFrames = function (frames) { | ||
* A short hand way of creating an AnimatedSprite from an array of image ids. | ||
* | ||
* @param images - The array of image urls the AnimatedSprite will use as its texture frames. | ||
* @return The new animate sprite with the specified images as frames. | ||
* @returns The new animate sprite with the specified images as frames. | ||
*/ | ||
@@ -272,3 +265,2 @@ AnimatedSprite.fromImages = function (images) { | ||
* assigned to the AnimatedSprite. | ||
* | ||
* @readonly | ||
@@ -311,3 +303,2 @@ * @default 0 | ||
* The AnimatedSprites current frame index. | ||
* | ||
* @readonly | ||
@@ -328,3 +319,2 @@ */ | ||
* Indicates if the AnimatedSprite is currently playing. | ||
* | ||
* @readonly | ||
@@ -331,0 +321,0 @@ */ |
/*! | ||
* @pixi/sprite-animated - v6.3.2 | ||
* Compiled Wed, 04 May 2022 17:49:13 UTC | ||
* @pixi/sprite-animated - v6.4.0 | ||
* Compiled Wed, 01 Jun 2022 21:14:23 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * @pixi/sprite-animated is licensed under the MIT License. |
@@ -33,3 +33,2 @@ import type { IDestroyOptions } from '@pixi/display'; | ||
* ``` | ||
* | ||
* @memberof PIXI | ||
@@ -40,3 +39,2 @@ */ | ||
* The speed that the AnimatedSprite will play at. Higher is faster, lower is slower. | ||
* | ||
* @default 1 | ||
@@ -47,3 +45,2 @@ */ | ||
* Whether or not the animate sprite repeats after playing. | ||
* | ||
* @default true | ||
@@ -60,3 +57,2 @@ */ | ||
* Note: Enabling this will override any previously set `anchor` on each frame change. | ||
* | ||
* @default false | ||
@@ -67,3 +63,2 @@ */ | ||
* User-assigned function to call when an AnimatedSprite finishes playing. | ||
* | ||
* @example | ||
@@ -77,3 +72,2 @@ * animation.onComplete = function () { | ||
* User-assigned function to call when an AnimatedSprite changes which texture is being rendered. | ||
* | ||
* @example | ||
@@ -88,3 +82,2 @@ * animation.onFrameChange = function () { | ||
* loops around to start again. | ||
* | ||
* @example | ||
@@ -101,3 +94,2 @@ * animation.onLoop = function () { | ||
* `true` uses PIXI.Ticker.shared to auto update animation time. | ||
* | ||
* @default true | ||
@@ -108,3 +100,2 @@ */ | ||
* `true` if the instance is currently connected to PIXI.Ticker.shared to auto update animation time. | ||
* | ||
* @default false | ||
@@ -129,3 +120,2 @@ */ | ||
* Stops the AnimatedSprite and goes to a specific frame. | ||
* | ||
* @param frameNumber - Frame index to stop at. | ||
@@ -136,3 +126,2 @@ */ | ||
* Goes to a specific frame and begins playing the AnimatedSprite. | ||
* | ||
* @param frameNumber - Frame index to start at. | ||
@@ -143,3 +132,2 @@ */ | ||
* Updates the object transform for rendering. | ||
* | ||
* @param deltaTime - Time since last tick. | ||
@@ -152,3 +140,2 @@ */ | ||
* Stops the AnimatedSprite and destroys it. | ||
* | ||
* @param {object|boolean} [options] - Options parameter. A boolean will act as if all options | ||
@@ -164,5 +151,4 @@ * have been set to that value. | ||
* A short hand way of creating an AnimatedSprite from an array of frame ids. | ||
* | ||
* @param frames - The array of frames ids the AnimatedSprite will use as its texture frames. | ||
* @return - The new animated sprite with the specified frames. | ||
* @returns - The new animated sprite with the specified frames. | ||
*/ | ||
@@ -172,5 +158,4 @@ static fromFrames(frames: string[]): AnimatedSprite; | ||
* A short hand way of creating an AnimatedSprite from an array of image ids. | ||
* | ||
* @param images - The array of image urls the AnimatedSprite will use as its texture frames. | ||
* @return The new animate sprite with the specified images as frames. | ||
* @returns The new animate sprite with the specified images as frames. | ||
*/ | ||
@@ -181,3 +166,2 @@ static fromImages(images: string[]): AnimatedSprite; | ||
* assigned to the AnimatedSprite. | ||
* | ||
* @readonly | ||
@@ -192,3 +176,2 @@ * @default 0 | ||
* The AnimatedSprites current frame index. | ||
* | ||
* @readonly | ||
@@ -199,3 +182,2 @@ */ | ||
* Indicates if the AnimatedSprite is currently playing. | ||
* | ||
* @readonly | ||
@@ -202,0 +184,0 @@ */ |
{ | ||
"name": "@pixi/sprite-animated", | ||
"version": "6.3.2", | ||
"version": "6.4.0", | ||
"main": "dist/cjs/sprite-animated.js", | ||
"module": "dist/esm/sprite-animated.js", | ||
"bundle": "dist/browser/sprite-animated.js", | ||
"types": "index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": { | ||
"default": "./dist/cjs/sprite-animated.js", | ||
"types": "./index.d.ts" | ||
}, | ||
"require": { | ||
"default": "./dist/esm/sprite-animated.js", | ||
"types": "./index.d.ts" | ||
} | ||
} | ||
}, | ||
"description": "Sprite Animations as depicted by playing a series of Textures", | ||
@@ -28,7 +41,7 @@ "author": "Mat Groves", | ||
"peerDependencies": { | ||
"@pixi/core": "6.3.2", | ||
"@pixi/sprite": "6.3.2", | ||
"@pixi/ticker": "6.3.2" | ||
"@pixi/core": "6.4.0", | ||
"@pixi/sprite": "6.4.0", | ||
"@pixi/ticker": "6.4.0" | ||
}, | ||
"gitHead": "87031295631dcd7db3e24b99ed7ceb2c4f963a40" | ||
"gitHead": "e7eaa713b6e0eeb335e90384aec778f5c99c60d5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
265397
1411