Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pixi/sprite-animated

Package Overview
Dependencies
Maintainers
3
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi/sprite-animated - npm Package Compare versions

Comparing version 7.0.0-beta.3 to 7.0.0-beta.4

4

dist/cjs/sprite-animated.js
/*!
* @pixi/sprite-animated - v7.0.0-beta.3
* Compiled Thu, 13 Oct 2022 15:35:43 UTC
* @pixi/sprite-animated - v7.0.0-beta.4
* Compiled Thu, 20 Oct 2022 19:45:44 UTC
*

@@ -5,0 +5,0 @@ * @pixi/sprite-animated is licensed under the MIT License.

"use strict";/*!
* @pixi/sprite-animated - v7.0.0-beta.3
* Compiled Thu, 13 Oct 2022 15:35:43 UTC
* @pixi/sprite-animated - v7.0.0-beta.4
* Compiled Thu, 20 Oct 2022 19:45:44 UTC
*

@@ -5,0 +5,0 @@ * @pixi/sprite-animated is licensed under the MIT License.

@@ -9,9 +9,9 @@ import type { IDestroyOptions } from '@pixi/display';

* ```js
* import { Texture, AnimatedSprite } from 'pixi.js';
* import { AnimatedSprite, Texture } from 'pixi.js';
*
* const alienImages = [
* "image_sequence_01.png",
* "image_sequence_02.png",
* "image_sequence_03.png",
* "image_sequence_04.png"
* 'image_sequence_01.png',
* 'image_sequence_02.png',
* 'image_sequence_03.png',
* 'image_sequence_04.png',
* ];

@@ -22,5 +22,5 @@ * const textureArray = [];

* {
* const texture = Texture.from(alienImages[i]);
* textureArray.push(texture);
* };
* const texture = Texture.from(alienImages[i]);
* textureArray.push(texture);
* }
*

@@ -33,6 +33,6 @@ * const animatedSprite = new AnimatedSprite(textureArray);

* @example
* import { Assets, AnimatedSprite } from 'pixi.js';
* import { AnimatedSprite, Assets } from 'pixi.js';
*
* const sheet = await Assets.load("assets/spritesheet.json");
* animatedSprite = new AnimatedSprite(sheet.animations["image_sequence"]);
* const sheet = await Assets.load('assets/spritesheet.json');
* animatedSprite = new AnimatedSprite(sheet.animations['image_sequence']);
* @memberof PIXI

@@ -66,3 +66,3 @@ */

* animation.onComplete = () => {
* // finished!
* // Finished!
* };

@@ -75,3 +75,3 @@ */

* animation.onFrameChange = () => {
* // updated!
* // Updated!
* };

@@ -85,3 +85,3 @@ */

* animation.onLoop = () => {
* // looped!
* // Looped!
* };

@@ -88,0 +88,0 @@ */

{
"name": "@pixi/sprite-animated",
"version": "7.0.0-beta.3",
"version": "7.0.0-beta.4",
"main": "dist/cjs/sprite-animated.js",

@@ -42,3 +42,3 @@ "module": "dist/esm/sprite-animated.mjs",

],
"gitHead": "8055ae1c16d4c0f8dabda86cafd8e68c356450e8"
"gitHead": "a4581e4a49d23afc98fcf726765c9d54e51c3c39"
}

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc