Jump to content
  • 0

Split Sprites


Capivarinha

Question

Hello, guys ! So, i've started a project with a friend, and we're stucked at this...

 

I have a .png file with 384x18240 (16 columns x760 rows). When i split that entire file into 24x24 .png files and import to our game, the itens are white backgrounded :\

Can anyone help me ? I can send the file so someone can cut for me ):

 

Thanks ! :)

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

 Download a free program like Gimp (or use Photoshop if you have it) and make the background transparent.

 

·         Download Gimp and open the PNG file(s).

·         Go to Layer – Transparency and Click Add Alpha Channel.

·         Go to Tools – Selection Tools- and Click By Color Select.

·         Click The Background Color – Hit Delete

·         The background now should be a checkered black and grey.

·         Check to Make Sure Sprite wasn’t damaged by deletion of same color.

·         File - Save. (Note This can be done for Icons, Tilesets, or any PNG file you are using)

 

Link to comment
Share on other sites

  • 0
55 minutes ago, Capivarinha said:

Hello, guys ! So, i've started a project with a friend, and we're stucked at this...

 

I have a .png file with 384x18240 (16 columns x760 rows). When i split that entire file into 24x24 .png files and import to our game, the itens are white backgrounded :\

Can anyone help me ? I can send the file so someone can cut for me ):

 

Thanks ! :)

 

Just make sure that you don't touch the alpha's when editing the file and should work

Link to comment
Share on other sites

×
×
  • Create New...