Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Need to reduce space between sprites

Community Beginner ,
Nov 19, 2021 Nov 19, 2021

So when I tried to generate sprites that I had made, all of them did not fit on it. I used images that I drew on my iPad as I did not have a drawing tablet. There are alot of empty spaces on the sprite, and there are only 10 sprites when there are supposed to be 16. Is there a way to fix this? My workspace is sparrowV2, max width and heigth, basic algorithm trim and stack frames enabled.
image_2021-11-19_192103.pngexpand imageimage_2021-11-19_192119.pngexpand image

Is there a way to reduce space between sprites?

TOPICS
Other
1.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 20, 2021 Nov 20, 2021

The big margins are coming from your bitmaps, even the transparent part of the PNGs will add up in the spritesheet, in which case you have to manually adjust the canvas size of each drawing in your art program of choice to have the least amount of empty space possible before importing them as frames into Animate. For example:

 

This is a bad PNG for a spritesheet (too much space)

Mario_CR_2-1637472836656.pngexpand image

 

Good PNG (optimal space)

Mario_CR_3-1637472913089.pngexpand image

 

Translate
Community Expert ,
Nov 19, 2021 Nov 19, 2021

try negative shape and border padding.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 20, 2021 Nov 20, 2021

negative for shape and positive for border?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 20, 2021 Nov 20, 2021

did not work, it would not let me make it negative

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 20, 2021 Nov 20, 2021

The big margins are coming from your bitmaps, even the transparent part of the PNGs will add up in the spritesheet, in which case you have to manually adjust the canvas size of each drawing in your art program of choice to have the least amount of empty space possible before importing them as frames into Animate. For example:

 

This is a bad PNG for a spritesheet (too much space)

Mario_CR_2-1637472836656.pngexpand image

 

Good PNG (optimal space)

Mario_CR_3-1637472913089.pngexpand image

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 21, 2021 Nov 21, 2021

I will try this when I get home and see if it works

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 21, 2021 Nov 21, 2021

What app did you use to reduce the space

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 21, 2021 Nov 21, 2021

thank you so much

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 22, 2021 Nov 22, 2021

joe.pngexpand image

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 22, 2021 Nov 22, 2021
LATEST

Lookin' good.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines