Vizions Posted September 30, 2021 Share Posted September 30, 2021 Hello All, I am having an issue with loading spritesheets. I coded up an example that works great in code sandbox but it does not work in my development environment (code is identical). Both are using recent versions of Pixi but the repo version uses Parcel to host. The repo example has a promise error and cannot find the texture. Just not sure where to go from here. Thank you for your time. sandbox https://codesandbox.io/s/pedantic-surf-0kdci repo https://github.com/420visions/spritesheet_issue npm run dev to build example Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted September 30, 2021 Share Posted September 30, 2021 I remember that I used something like https://github.com/elwin013/parcel-plugin-static-files-copy , and moved assets to different folder Vizions 1 Quote Link to comment Share on other sites More sharing options...
Vizions Posted October 2, 2021 Author Share Posted October 2, 2021 That did it. Thanks. ivan.popelyshev 1 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.