New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ts] Multi-file atlas loading trouble #786
Comments
These are the assets I was using incase they're relevant |
Widgets currently don't support multi-page atlases. I'm working on a fix. |
I've added a new
Since all assets are loaded asynchronously, we can not know how many images an atlas is composed of during load time. I'm afraid this is the only way to get multi-page atlases working. |
Sounds good. Right now the messages you get if you, say, don't leave a trailing slash on your imagesPath url are hard to debug. Please consider changing Widget.ts:132 from:
to
|
Things work fine for me when using an atlas/json that only point to one png, but when I try and run a project that has enough assets it breaks it up into multiple png sheets, I'm only able to load the first sheet but no subsequent ones (see screenshot -- Timey2.png and Timey3.png are in the same directory as Timey.png). Is there anything I need to do to add the additional files to the manager? AssetManager retrieves Timey.png in the network log, but no attempt for Timey2.png appears. In general, any console logs for errors and exceptions on asset loading would be great
http://esotericsoftware.com/forum/Multi-file-atlas-loading-trouble-7477
The text was updated successfully, but these errors were encountered: