Closed evanhosni closed 2 years ago
Nope, neither Phaser or Pixi support animated gifs as they're not supported by canvas (or webgl). Convert them to spritesheets.
If you run Matter.js headlessly, you can use a normal DOM image. See this Stack Overflow answer for an example.
I created a body and linked a gif as its sprite:
it is linked correctly, but displays as an image, not an animated gif. Is there a way to get gifs working as sprites?
Thanks!!