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\$ Commented May 6, 2021 at 14:00

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.