Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (NnamueN, 1 invisible), 1,489 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Changing the Transparency color? #60414
12/11/05 18:54
12/11/05 18:54
Joined: Sep 2005
Posts: 514
USA
Gho5tFac3K1llah Offline OP
Developer
Gho5tFac3K1llah  Offline OP
Developer

Joined: Sep 2005
Posts: 514
USA
Is it possible to change the transparency color black to, let's say, green? Or is it just revolved around 'black'? Thank you for your time.

Domingo

Re: Changing the Transparency color? [Re: Gho5tFac3K1llah] #60415
12/11/05 18:57
12/11/05 18:57
Joined: Jan 2004
Posts: 2,013
The Netherlands
E
Excessus Offline
Expert
Excessus  Offline
Expert
E

Joined: Jan 2004
Posts: 2,013
The Netherlands
d3d_autotransparency = on;

If this flag is set, the color of the upper left pixel of true color textures is taken as transparency color, instead of black. This way the background of sprites or skins can be set to any color, thus avoiding the black seams visible by antialiasing to a black background.

Re: Changing the Transparency color? [Re: Excessus] #60416
12/11/05 19:07
12/11/05 19:07
Joined: Sep 2005
Posts: 514
USA
Gho5tFac3K1llah Offline OP
Developer
Gho5tFac3K1llah  Offline OP
Developer

Joined: Sep 2005
Posts: 514
USA
but how do you set it to the color you want it? this is helpful though. Thanks excessus.

Re: Changing the Transparency color? [Re: Gho5tFac3K1llah] #60417
12/12/05 20:18
12/12/05 20:18
Joined: Mar 2002
Posts: 7,726
old_bill Offline
Senior Expert
old_bill  Offline
Senior Expert

Joined: Mar 2002
Posts: 7,726
Just repaint the alpha channel with the color you want to use!

old_bill


Success is walking from failure to failure with no loss of enthusiasm.
Re: Changing the Transparency color? [Re: old_bill] #60418
12/30/05 19:27
12/30/05 19:27
Joined: Oct 2003
Posts: 1,550
United Kingdom
indiGLOW Offline
Serious User
indiGLOW  Offline
Serious User

Joined: Oct 2003
Posts: 1,550
United Kingdom
Or use TGA's with Alpha channel


The Art of Conversation is dead : Discuss
Re: Changing the Transparency color? [Re: indiGLOW] #60419
01/13/06 14:59
01/13/06 14:59
Joined: Dec 2005
Posts: 40
M
mbmSOG Offline
Newbie
mbmSOG  Offline
Newbie
M

Joined: Dec 2005
Posts: 40
Do you have to have pro to use the alpha channels of TGA files? I thought I saw that somewhere. Also if the script only comes standard on pro, is there a tutorial or an example script that would teach me how to write my own script to handle alpha channel transparency.

Thanks,
Mike

Re: Changing the Transparency color? [Re: mbmSOG] #60420
01/13/06 21:38
01/13/06 21:38
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
I have commercial and I can use alpha channel in TGA files for transparency. Just save the file as a TGA and go from there. Saving it as BMP won't work because BMP doesn't support the alpha channel. I'm completely unfamiliar with PCX so I don't know it's specs and limitations. DDS seems to support alpha channel as well, but I'm not familiar with the format - GIMP doesn't recognize DDS files.

As far as using the alpha channel for other things, that I don't know much about.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1