1
\$\begingroup\$

How can I parse a spritesheet consisting of scattered sprites with different sizes, like this example and return the (x, y) and (width, height) values of each sprite?

It is trivial when the spritesheet is split on equal widths and heights, which for this thing I envy Unity for.

After spending some time researching, the best I could find is http://www.spritecow.com/, which is Javascript based and you have to manually click on your sprites to parse a single sprite, moreover it is really slow.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ The spritecow site includes a link to their github - did you look at how they implemented their solution? \$\endgroup\$
    – Pikalek
    May 6 '21 at 14:00

You must log in to answer this question.

Browse other questions tagged .