in reply to Re: New Module - Image::Tileset
in thread New Module - Image::Tileset

Aha, thanks for pointing that out.

Earlier in the coding, the animations() function would accept the ID of a specific animation and only return the info for that animation. I'd changed the function though to be "animation()" (singular), to keep the naming consistent with the tiles/tile methods. But then I didn't update the script.

I've fixed it and repackaged it at the same URL. To fix it manually, just edit line 40 of

- $pngs->{$id} = $ts->animations($id); + $pngs->{$id} = $ts->animation($id);