Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Transparent texture?

Author
Message
Zeus
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 30th Jul 2008 17:13
How do I make a transparent texture in DBC?


Thanks,
~Zeus~

When Chuck Norris goes to a gas station, he doesn't pay them $4.09 a gallon, they pay him $4.09 a gallon.
LBFN
18
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 30th Jul 2008 18:30
Are you trying to use the primative DBC commands to make a texture that has transparent capabilities? I think the 'save bitmap' and 'save image' commands save to .bmp format.

Why not just make a sprite or make a plain for texture transparency, (if this is what you're after)?

LB

Zeus
18
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 30th Jul 2008 18:46
Yes, I'm trying to make a plain texture transparent.

When Chuck Norris goes to a gas station, he doesn't pay them $4.09 a gallon, they pay him $4.09 a gallon.
LBFN
18
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 30th Jul 2008 19:06
Use the 'set object' command. Here is an example:



LB

Login to post a reply

Server time is: 2025-06-07 06:59:48
Your offset time is: 2025-06-07 06:59:48