Overview
This PR officially drops support for PixiJS v4. If you are not ready to move forward, continue to use version ^2.0.0
.
This uses the low-level packages (i.e., @pixi/core
) for better tree-shaking support with bundlers like Webpack (working example). Internally this publishes three flavors of builds:
- CommonJS (bundlers without module support)
- ESM (bundlers like Webpack + Rollup + Parcel)
- IIFE (browser only)
Building in the UMD has been removed.
🎁 Added
- Adds support for
set(name, value)
method to the IMediaInstance. This will make it possible to do stuff like thisPIXI.sound.play('foo').set('volume', 0.5)
(Inspired by #98 & @djmisterjon) (#106)
✏️ Changed
- Updates the demos CSS to match the documentation and other PixiJS websites.
👏 Contributors
- Matt Karl (@bigtimebuddy)