transparent tilesets

  • 7 Replies
  • 4400 Views
*

Offline Texasman

  • 14
  • 0
  • U people go NUTS
    • View Profile
transparent tilesets
« on: July 20, 2009, 13:50:51 »
I've been given a tileset with transparency to remix.

I've downloaded Paint.net to change it however whenever I do it and save the .png file the background becomes black on the Level Editor. :moody:

How can I keep the background transparent and still change the tileset?
<br />

*

Offline AA

  • 510
  • 23
  • Was ITA84
    • View Profile
    • Insight on Videogames
Re: transparent tilesets
« Reply #1 on: July 20, 2009, 19:15:55 »
When you're saving the new image, make sure the PNG format is set to 32 bit, as apparently Auto Detect might not work at all times. If this doesn't work, try using the GIMP.
Videogames are for everyone, by everyone

*

Offline Texasman

  • 14
  • 0
  • U people go NUTS
    • View Profile
Re: transparent tilesets
« Reply #2 on: July 20, 2009, 23:51:14 »
That worked nicely thanks. ;)

By the way, meanwhile I was trying other stuff and painting the background as that bright pink works as well.
<br />

*

Offline minmay

  • 654
  • 8
    • View Profile
    • Cow Muffins
Re: transparent tilesets
« Reply #3 on: July 27, 2009, 21:09:32 »
If the tileset is properly transparent in the first place, GIMP won't mess it up; the same cannot be said for Paint.NET.

The Color to Alpha option is not intended to be used in that way.

The simplest way to ensure an image is transparent in GIMP is to simply give all the layers a fill color of "transparency."

*

Offline AA

  • 510
  • 23
  • Was ITA84
    • View Profile
    • Insight on Videogames
Re: transparent tilesets
« Reply #4 on: July 27, 2009, 21:12:09 »
Dib, I've never used that, but I understand it applies to entire layers, so I guess it's normal that all objects are affected, unless you use a different layer.

There are many ways to work with transparency in GIMP; for instance, if you need to make some tiles transparent, you could cut and paste them as a new layer at the same spot, while changing the layer's opacity.
Videogames are for everyone, by everyone

*

Offline AhhCobras

  • 29
  • 0
  • We're all mad here. I'm mad. You're mad.
    • View Profile
Re: transparent tilesets
« Reply #5 on: July 27, 2009, 21:15:40 »
Easier to use eraser with partial opacity, or paintbrush/pencil tool to draw at partial opacity first.


Simply start at the beginning, go on till you reach the end.... then stop.

*

Offline TechnoGeek

  • 238
  • 0
  • My new project, Notroid
    • View Profile
Re: transparent tilesets
« Reply #6 on: July 27, 2009, 21:37:18 »
in GIMP, the best way (imo) to make transparency is to select what you want transparent on a layer, right-click on layer and click 'add layer mask'. then, pick 'black (full transparency)' and fill white into the selection. then, right-click layer and click 'apply layer mask' and voila!
Spoiler: Technogeek's Signature (click to show/hide)

*

Offline Pick Yer Poison

  • 782
  • 3
  • One cool cat.
    • View Profile
Re: transparent tilesets
« Reply #7 on: July 27, 2009, 22:16:48 »
In my opinion, the simplest way to do transparency in GIMP is to go to Layer>Transparency>Add Alpha Channel. This makes it so that erasing or deleting an area will make it transparent, instead of changing it to the background color.