Skip to content

Instantly share code, notes, and snippets.

@julianfrank
Created August 20, 2019 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julianfrank/9bddab3fac491e676a33dff70c5eb8de to your computer and use it in GitHub Desktop.
Save julianfrank/9bddab3fac491e676a33dff70c5eb8de to your computer and use it in GitHub Desktop.
For working with pixijs spritesheet animations
/*sheet._frameKeys.map(t=>txs.push( PIXI.utils.TextureCache[t]))
console.log(txs)
let bird1 = new PIXI.AnimatedSprite(txs);
console.log(bird1)*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment