soop Posted April 20, 2020 Share Posted April 20, 2020 Hello everyone, I'm new to Pixi.js!I faced a problem - need to get one html file at the output. I use webpack for assembly. I inline scripts, convert images to base64, but I don’t know what to do with atlas.json. Help me please Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 20, 2020 Share Posted April 20, 2020 Hello! That's not a easy task for newbie. Prepare for pain. We dont have tutorials about that, and its advanced feature. Here's a basic project: https://github.com/eXponenta/pixi5-playables-boilerplate Yes, it has several difficult things, like its own base83 encoding somewhere... Hope that code helps. Otherwise you'll have to ask creator of resource-loader how to inline json files. I think that was answered too many times in both pixijs repo and in resource-loader : You should use search on closed issues. https://github.com/pixijs/pixi.js/issues https://github.com/englercj/resource-loader/tree/release/3.x soop 1 Quote Link to comment Share on other sites More sharing options...
soop Posted April 20, 2020 Author Share Posted April 20, 2020 Thanks for the quick and detailed answer! Quote Link to comment Share on other sites More sharing options...
SenPie Posted July 30, 2021 Share Posted July 30, 2021 hey @soop I wonder if you have managed to make the bundler? Right now, I am also trying to make it with webpack. I managed to the base64 part, but I still don't get favorable result. Could you please share your work? Or if you are stuck maybe we can finish it together 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.