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.

Dark GDK / Alpha on Bitmaps being lost...

Author
Message
Chicknstu
18
Years of Service
User Offline
Joined: 10th Oct 2006
Location:
Posted: 24th May 2007 19:14
using the function dbLoadBitmap()... which I use so I can grab a load of images from a sheet of sprites, I seem to lose the alpha channel..

in Dark Basic, I believe you could type

SET BITMAP FORMAT 21

or something along those lines... What's the equivalent in DarkSDK?

www.Retrodev.co.uk
Grunge Game Developers
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 26th May 2007 11:10
Set Bitmap Format? I don't know that one (neither in DBPro).

I can say that alpha channel is retained for .png images.
Remember you must use .tga, .dds or .png file formats to have alpha channel.

Login to post a reply

Server time is: 2024-11-19 13:34:40
Your offset time is: 2024-11-19 13:34:40