You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I "think" this might be a bug when using the LoadQueue to a manifest of files, one being a sprite sheet type.
In the SpirteSheetLoader the method "_handleManifestFileLoad", it checks and updates the json object with the image loaded with the images array at the appropriate index by the item's src value. However, when I use the LoadQueue I'm setting the second parameter for my base path, so when my image's load its src value is incorrect and the json's object images array is never set properly. Does this make sense? The item's src value contains the base path, but images values in my json object doesn't.
I'm able to get around this for now by having it check by the item id value instead of the src.
Activity
sergebat commentedon Feb 12, 2016
I second this issue!
Given that basePath is being deprecated, I worked it around by doing the following in _loadManifest:
And then looking up image
One way, or the other I hope this will get fixed. 👍
fabian commentedon May 3, 2016
See #169.