0
\$\begingroup\$

I understood what this method do (it cuts one spritesheet into a list of images), but I don't understood how it cuts. What height and weight for an image, it takes? I tried with few spritesheets png, and each time it cuts an image with part of the next image. Not correct.

\$\endgroup\$
1
\$\begingroup\$

Do you have spacing in between the sprites? You would need to use row_spacing and column_spacing for the ImageGrid in that case.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.