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.

3 Dimensional Chat / noobish question

Author
Message
Tiborko
16
Years of Service
User Offline
Joined: 25th Jul 2008
Location: In front of computer
Posted: 27th Oct 2008 22:07
Hello! I have one delicate obstacle in creating simple game... I have to put an image as some sort of skill bar... It is not rectangular, so there is some blank space... I edited this image in photoshop, and i deleted white background, so the background layer is transparent... But when I load that image to dark basic pro, there is white background... Here is the screenshot (I used Silkroad Online's skill bar for testing...)
What I want is invisible white background of skill bar image at the bottom...





Repetitio est mater studiorum!
Venge
18
Years of Service
User Offline
Joined: 13th Sep 2006
Location: Iowa
Posted: 27th Oct 2008 22:28
This should probably go in the DBPro board, seeing as it's a programming question. My guess is that you need to set the white color to transparent in DBP, and make sure the file type you used supports transparency.

I have CDO. It's like OCD, but the letters are in alphabetical order, like they should be.
Tiborko
16
Years of Service
User Offline
Joined: 25th Jul 2008
Location: In front of computer
Posted: 27th Oct 2008 23:03
Ok... Thanks... I'll try posting this there...

Repetitio est mater studiorum!
Omega gamer 89
17
Years of Service
User Offline
Joined: 10th Sep 2007
Location: Pittsburgh, PA
Posted: 28th Oct 2008 18:51
What format did you save the image as? Only TGA and PNG retai their alpha channels. If you saved it as a BMP or a JPG, it won't be transparent.

If the good lord had intended us to go outside or have a social life, he wouldn't have invented the internet.
www.threeswordsproductions.com
Tiborko
16
Years of Service
User Offline
Joined: 25th Jul 2008
Location: In front of computer
Posted: 31st Oct 2008 02:17
I saved it as png, but i wrote loading command incorrectly:

load image "isilsdf",1

instead of:

load image "diksldf",1,1

I found the answer at db newcomers board

Repetitio est mater studiorum!

Login to post a reply

Server time is: 2024-11-25 11:22:51
Your offset time is: 2024-11-25 11:22:51