-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Add audio packing #21
Labels
enhancement
New feature or request
Comments
Could we wrap tonistiigi/audiosprite? |
cc @Zyie Have published a little wrapper plugin for
Basic usage// .assetpack.js
const { audiosprite } = require('assetpack-plugin-audiosprite');
module.exports = {
audiosprite: audiosprite()
};
|
Here's a quick extension to load the files audiospriteAsset.ts (pixi v7, but should be same/pretty close to v8) Usage// register loader
extensions.add(audiospriteAsset); // load sprites
const mySounds = await Assets.load('assets/sfx.json');
mySounds.play('bark'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add support for converting audio into audio sprites
The text was updated successfully, but these errors were encountered: