Skip to content

v5.0.0

Compare
Choose a tag to compare
@bigtimebuddy bigtimebuddy released this 21 Sep 19:58
· 39 commits to main since this release

🔥 Breaking Changes

  • Support for PixiJS v7.0.0 (dropped support for Loader in PixiJS v5-6)
  • Output format is ES2017, dropped support for IE and some earlier browsers, consistent with PixiJS v7
  • sound.add no longer support multiple extensions syntax, but the new Assets package support for this syntax
// v4.x - add() supported format detection
import { sound } from '@pixi/sound';
sound.add('mySound', 'mySound.{ogg,mp3}');

// v5.x - Assets now supports format detection
import { Assets } from '@pixi/assets';
Assets.add('mySound', 'mySound.{ogg,mp3}');
await Assets.load('mySound');