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.
Any help would be great, thanks!
The text was updated successfully, but these errors were encountered:
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.
Any help would be great, thanks!
The text was updated successfully, but these errors were encountered: