Stop animation from having transparency

Non-platform specific questions.

Stop animation from having transparency

Postby motorollin » Thu Aug 16, 2007 3:20 pm

I've added an actor with a single frame animation for my title screen. The image is a JPG. GE has automatically has chosen the top left pixel as the transparent one which screws up the image. How can I stop it from doing this so the image is totally solid?
motorollin
 
Posts: 54
Joined: Sun Aug 12, 2007 8:05 am
Score: 1 Give a positive score

Postby makslane » Thu Aug 16, 2007 6:25 pm

Convert the image to a PNG 32 format or change the color of the first pixel.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby motorollin » Thu Aug 16, 2007 8:20 pm

Thanks makslane. I don't want to change the top left pixel, so do you have any suggestions which can convert to PNG32? Photoshop doesn't seem to export to that format.
motorollin
 
Posts: 54
Joined: Sun Aug 12, 2007 8:05 am
Score: 1 Give a positive score

Postby makslane » Thu Aug 16, 2007 8:41 pm

In the Photoshop, copy the image to a new image, or copy to a new layer, and save as png.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby berighteous » Thu Aug 16, 2007 9:07 pm

All PNG files are 32 bit. Just do a save as PNG format. Tga 32 bit works too.
berighteous
 
Posts: 52
Joined: Mon Apr 16, 2007 11:12 pm
Score: 1 Give a positive score

Postby pixelpoop » Thu Aug 16, 2007 10:11 pm

I don't think you can have 32bit and transparency in photoshop.
Just make sure that it is at 24bit, then take the eraser, set it to 2% and 1 pixel wide, and click on 1 pixel. That pixel will now be very slightly transparent and GE won't turn the 1st pixel color transparent anymore.
User avatar
pixelpoop
 
Posts: 276
Joined: Tue Aug 29, 2006 9:32 pm
Score: 28 Give a positive score

Postby Game A Gogo » Fri Aug 17, 2007 2:45 am

pixelpoop wrote:I don't think you can have 32bit and transparency in photoshop.
Just make sure that it is at 24bit, then take the eraser, set it to 2% and 1 pixel wide, and click on 1 pixel. That pixel will now be very slightly transparent and GE won't turn the 1st pixel color transparent anymore.

Yes, it does support 32-Bits
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby pixelpoop » Fri Aug 17, 2007 4:15 am

I know it supports 32 bit images. But I every time I switch from 16 to 32 bit it flattens the image making a 32bit image with transparency impossible.
User avatar
pixelpoop
 
Posts: 276
Joined: Tue Aug 29, 2006 9:32 pm
Score: 28 Give a positive score

Postby motorollin » Fri Aug 17, 2007 8:11 am

For some reason I don't have the option to save as 32 bit PNG in Photoshop CS3 (Mac version). Good idea pixelpoop about making one pixel slightly transparent. However I took berigheous's advice and saved as a 32 bit TGA and it worked - the image was no longer transparent.

Thanks guys :D
motorollin
 
Posts: 54
Joined: Sun Aug 12, 2007 8:05 am
Score: 1 Give a positive score

Postby d-soldier » Fri Aug 17, 2007 2:05 pm

One thing to consider is that targa files (tga) are known for being huge in file sizes...
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron