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.

2D All the way! / Transparency problem

Author
Message
Guhill The friendly one
21
Years of Service
User Offline
Joined: 12th Jun 2004
Location: The fourth demension
Posted: 14th Jul 2004 04:25
I got this image off the internet, and loaded it in MS Paint so I could make all the surrounding pixels black, loaded into darkbasic with load image "paint.bmp",2,1 then I did make object plain 9,50,50 and texture object 9,2 so I could make it look like a paintball just splattered on a target, but why aren't the black pixels transparent?

Without hating, this world would be perfect.
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 14th Jul 2004 05:48
You need to turn transparancy for the object on with SET OBJECT TRANSPARENCY. Transparancy is off by default.



can i scream
Guhill The friendly one
21
Years of Service
User Offline
Joined: 12th Jun 2004
Location: The fourth demension
Posted: 14th Jul 2004 07:20
Thank you SO MUCH! You don't know how much that helped, now I can finally mix 2d and 3d without having that annoying black box all the time. Now, I can have 2d smoke effects, fire, etc... YES

Without hating, this world would be perfect.

Login to post a reply

Server time is: 2026-06-09 19:41:17
Your offset time is: 2026-06-09 19:41:17