github pixijs/sound v3.0.0

latest releases: v6.0.1, v6.0.0, v6.0.0-rc...
5 years ago

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 this PIXI.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

Don't miss a new sound release

NewReleases is sending notifications on new releases.