
Description
pixijs-scene-gif is an agent skill that shows an agent how to display animated GIFs in PixiJS v8. It covers the required side-effect import of pixi.js/gif, which registers the GIF loader, and the fact that Assets.load on a GIF returns a GifSource rather than a Texture. That source is wrapped in a GifSprite, which handles playback options such as autoPlay, loop and animationSpeed. Because GifSprite extends Sprite, it is a leaf node and should not have children; multiple GIFs are grouped in a Container. The skill includes a short quick-start and assumes familiarity with pixijs-scene-core-concepts. It is part of the pixijs/pixijs-skills repository.…
Highlights
- Registers the GIF loader via pixi.js/gif
- Loads GIFs as GifSource with Assets.load
- GifSprite playback: autoPlay, loop, speed
- Grouping GIFs with Container
Ratings & Reviews
No ratings yet
Be the first to rate pixijs-scene-gif.
People also visit
pixijs-scene-gif FAQ
Why doesn't my GIF load as a texture?
In PixiJS v8, Assets.load on a GIF returns a GifSource, not a Texture. You wrap it in a GifSprite, after importing pixi.js/gif to register the loader.
What is the install command?
Run `npx skills add https://github.com/pixijs/pixijs-skills --skill pixijs-scene-gif` to add it to a supported coding agent through the skills CLI.
Which playback options are covered?
Options such as autoPlay, loop and animationSpeed on GifSprite.
Can a GifSprite have children?
No. It extends Sprite and is a leaf. Use a Container to group several.
What are the security audit results?
The skills.sh page lists these results: Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best pixijs-scene-gif alternatives?
Popular alternatives to pixijs-scene-gif include pixijs-scene-sprite, pixijs and pixijs-rendering. See all pixijs-scene-gif alternatives


