ID:271678
Sep 3 2007, 12:19 pm
|
|
Well, I converted all the bmps in my game to PNGs, and they work, and take up a LOT less space, but theres one problem: The parts that are supposed to be transparent aren't coming up transparent. Only when I put them in as bmps do parts of them become transparent. Anything I can do to get the PNGs in, working the same as bmps do?
|
Sep 3 2007, 12:53 pm
|
|
You're going to have to use an image editor that can edit alpha layers in order to make the background transparent. Programs like Photoshop and GIMP can do this. It was working with BMPs because the reserved gray colour (192,192,192) is considered transparent in DM.
|
In response to Unknown Person
|
|
Yeah, I knew about the color and all, but it confused me since I was editing bmps and PNGs in Paint, and the bmps worked but the PNGs didn't, it ticked me off a bit. For some reason, I could edit the bmps and PNGs both with paint, but only the bmps came out with that color transparent, even though I used the same color in both pictures. What specifically do I have to do in photoshop?
|
In response to The Reaper's Knight
|
|
Paint doesn't support any transparency, so it won't work there.
In Photoshop, you can make your background transparent in a PNG by using the magic wand tool to select your gray background, and hit delete. Make sure the "Contiguous" box is unchecked. The checkerboard background will tells you the background is transparent. |
In response to Unknown Person
|
|
Thank you very much. I'm trying to save as much space as possible in my game because the rsc is already 15 mb. Also, what file can I change my wavs into to make them take less space?
|
In response to The Reaper's Knight
|
|
The Reaper's Knight wrote:
Also, what file can I change my wavs into to make them take less space? You can convert them to .ogg files. The file size is comparable to an mp3, and you'll still maintain good quality sound. A free program you can use is Audacity. It can convert wav files to ogg files for you. |
In response to Unknown Person
|
|
Thank you very much, you've been a tremendous help to me, and hopefully I can downsize that 15 mb rsc...
|
In response to The Reaper's Knight
|
|
Don't forget to Clean Compile!
|
In response to CaptFalcon33035
|
|
Gotcha
|
In response to Unknown Person
|
|
Irfran View makes the world an easier place for converting.~
|