Skip to content

SpriteSheetLoader bug? #179

Description

@gregmax17

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions