pixijs-migration-v8

Identify and resolve PixiJS v7 to v8 migration issues with a structured checklist.

302|15|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/pixijs/pixijs-skills --skill pixijs-migration-v8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pixijs-migration-v8
Source: https://github.com/pixijs/pixijs-skills/tree/main/skills/pixijs-migration-v8
Command: npx skills add https://github.com/pixijs/pixijs-skills --skill pixijs-migration-v8

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Upgrading PixiJS from v7 to v8 can be error-prone due to breaking changes, deprecated sub-packages, and API reworks. This skill provides a structured migration guide to help teams diagnose and resolve issues efficiently, reducing manual debugging time.

Core Features & Use Cases

  • Async initialization guidance for Application and the new v8 lifecycle.
  • Migration of imports to use the single pixi.js package, avoiding deprecated v7 core packages.
  • Key API migrations: Graphics shape-then-fill, BaseTexture/TextureSource changes, shader/uniform updates, ParticleContainer changes, constructor option objects, DisplayObject removal, Ticker signature, and events rewrite.
  • Use Case: port a small scene from v7 to v8 to verify rendering behavior and interactions.

Quick Start

Install and follow the migration checklist in the prescribed order to bring a v7 codebase up to v8.

Frequently Asked Questions about pixijs-migration-v8

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate my PixiJS v7 codebase to v8?

To migrate PixiJS v7 to v8, follow a structured checklist covering async initialization, single package imports, Graphics shape-then-fill patterns, Text, events, shaders, and assets to resolve breaking changes efficiently.

What are the breaking changes when upgrading PixiJS from v7 to v8?

Upgrading PixiJS from v7 to v8 introduces breaking changes including deprecated sub-packages, async Application initialization, BaseTexture to TextureSource API reworks, DisplayObject removal, and updated Ticker signatures and event rewrites.

Do I need to change my import structure for PixiJS v8?

Yes, PixiJS v8 migration requires updating imports to use the single pixi.js package, avoiding deprecated v7 core packages to ensure compatibility and streamline the dependency structure.

How does the Graphics API change in PixiJS v8?

The Graphics API in PixiJS v8 migrates to a shape-then-fill pattern. The v7 to v8 migration maps deprecated drawing patterns to new v8 equivalents, alongside updates to constructor option objects and shader uniforms.

Can I use a checklist to resolve PixiJS v7 to v8 migration issues?

Yes, you can use a checklist-based approach to resolve PixiJS v7 to v8 migration issues. It enforces an end-to-end migration workflow for initialization, imports, Graphics, Text, events, shaders, and assets.

Why does my PixiJS v8 application initialization fail after upgrading from v7?

PixiJS v8 application initialization fails after upgrading from v7 due to the new async initialization lifecycle. The v8 migration requires updating the Application setup to handle asynchronous initialization properly.