assetpack-plugin-audiosprite – Pack hundreds of sounds into one compressed download #68
reececomo
started this conversation in
Show and tell
Replies: 2 comments 4 replies
-
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'); |
Beta Was this translation helpful? Give feedback.
0 replies
-
hey @reececomo this is a great plugin. We just released 1.0 of assetpack which pretty significantly changes the API for plugins. If you have any questions/issues with updating the plugin to work with the latest release let me know and i will try to help |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Have published a little wrapper plugin for
audiosprite
: assetpack-plugin-audiospriteBasic usage
Note
See README.md for plugin options here
Example usage
Input files
.assetpack.js config
Output:
Beta Was this translation helpful? Give feedback.
All reactions