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 / Image Transparency is Dark GDK

Author
Message
shenmue7722
14
Years of Service
User Offline
Joined: 20th Dec 2009
Location:
Posted: 20th Dec 2009 11:44
I've read through all the forums in Dark GDK about image transparency, but nothing works for me. I do the setimagecolorkey(255,0,255) for images that I'm using on XNA with the hot pink background, but the background still shows up on Dark GDK. Any idea? Anybody have a mini sample program that shows how they did it? It is a really frustrating point to get past.

It will one day be finished!
Cuddle Bunniezzz 12
15
Years of Service
User Offline
Joined: 14th Jan 2009
Location: Buffalo, NY
Posted: 20th Dec 2009 17:07
Could you show us one of the images your using?

You know, you can also use .png images w/ transparency and not have to worry about the color key.

http://www.darkgdk.us/ <- You can now submit pages, upload images, yet were lacking content. We need your help!
_Pauli_
AGK Developer
15
Years of Service
User Offline
Joined: 13th Aug 2009
Location: Germany
Posted: 20th Dec 2009 20:09
Maybe dbSetObjectTransparency to 1 does the job...

Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.
shenmue7722
14
Years of Service
User Offline
Joined: 20th Dec 2009
Location:
Posted: 21st Dec 2009 00:56
CuddleBunniez,

What software would you suggest for creating png's with transparency?

It will one day be finished!
Isocadia
15
Years of Service
User Offline
Joined: 24th Jul 2009
Location:
Posted: 21st Dec 2009 09:32
well, gimp, photoshop, they are the best out there ( gimp is free PS not ).

Isocadia
Mireben
16
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 22nd Dec 2009 11:50 Edited at: 22nd Dec 2009 12:36
dbSetImageColorkey should work... Post a simple code and an image, maybe we can find where the problem is.

Login to post a reply

Server time is: 2024-10-05 21:07:31
Your offset time is: 2024-10-05 21:07:31