rossi46 Posted March 30, 2017 Share Posted March 30, 2017 how to use pixijs loader with holwer.js Quote Link to comment Share on other sites More sharing options...
dmko Posted March 30, 2017 Share Posted March 30, 2017 Very curious about this too... For my current project I attach listeners to the two loaders separately (i.e. follow the counter of each Howl object's onLoad and track when they're all complete) Would be really nice if I could just use the PIXI loader for everything. Note that for visual display purposes, I guess you could load it all with pixi loader, then destroy the load and then setup the Howl stuff which should get it from cache, though that's kindof lame... Quote Link to comment Share on other sites More sharing options...
PixelPicoSean Posted March 30, 2017 Share Posted March 30, 2017 Take a look at the audio module of LesserPanda framework, which still loads audio files using Howler but PIXI loader will know about the progress through a middleware. Be aware that the resource-loader in LesserPanda is actually v2, but the idea behind it is the same on both v1 and v2. Quote Link to comment Share on other sites More sharing options...
QuinTRON Posted March 31, 2017 Share Posted March 31, 2017 Hi guys, I ended up embedding my own logic. I personally don't like it, but it was enough for me to continue my other deliveries until I found a better way. function onAssetsLoaded(loader){ loaded = false; function checkSounds() { if (sounds.state() === "loaded"){ loaded = true; } if (loaded){ clearInterval(soundInt); } } soundInt = setInterval(checkSounds, 100); } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.