Upsinn Posted March 7, 2016 Share Posted March 7, 2016 Hi, Is there a way how I can preload sound files with pixi for howler? I use PIXI.loader as a global preload for my game and for rendering loading bar before starting the game, but Howler use his own loader for sound files. Is there a way how I can merge it? Thanks Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 7, 2016 Share Posted March 7, 2016 That's good question, it will be good to use Howler with pixi loader. look at how https://github.com/englercj/resource-loader works and make a PR for pixi Quote Link to comment Share on other sites More sharing options...
Upsinn Posted March 8, 2016 Author Share Posted March 8, 2016 Maybe cleaner solution will be create alternative constructor for Howler (Howl sound), which will enable use already preloaded data from PIXI. Wouldn't? Quote Link to comment Share on other sites More sharing options...
fire7side Posted March 8, 2016 Share Posted March 8, 2016 Post if you get something worked out because I am currently experimenting with Howler also. Quote Link to comment Share on other sites More sharing options...
PixelPicoSean Posted March 9, 2016 Share Posted March 9, 2016 Howler is used by LesserPanda, you can see how I made it work. It's a little tricky and I have some plan to refactor that part but have to focus on other features now. Quote Link to comment Share on other sites More sharing options...
Upsinn Posted March 11, 2016 Author Share Posted March 11, 2016 On 9. 3. 2016 at 1:18 AM, PixelPicoSean said: Howler is used by LesserPanda, you can see how I made it work. It's a little tricky and I have some plan to refactor that part but have to focus on other features now. Thx. Maybe for future will be fine implement native solution in Howler for working with preloaded data. Can someone post a link on this conversation to the git? https://github.com/goldfire/howler.js/issues ( I dont have acc) Quote Link to comment Share on other sites More sharing options...
d13 Posted March 12, 2016 Share Posted March 12, 2016 I'm using Sound.js and managed to get working with Pixi's preloader like this: https://github.com/kittykatattack/sound.js/issues/8 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.