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 / Transparency in DarkGDK?

Author
Message
James McGlocken
16
Years of Service
User Offline
Joined: 29th Jan 2008
Location: In The Beautiful Mountains of Vermont
Posted: 10th Apr 2008 04:36
I thought I had just posted this a little while ago, but I can't find it anywhere anymore.

I really honestly can't solve this really easy problem in DarkGDK. I thought that Black 0,0,0 should have been Transparency in DarkGDK (as it was in Dark Basic Pro), however it's just not working. When I add a .3ds model to the scene it has black there as clear as day. Please help.

Thank You.



PHP Programming, Music Composition
Nathan89
16
Years of Service
User Offline
Joined: 9th Apr 2008
Location:
Posted: 10th Apr 2008 13:40
I dont know if this is the right answer , but i was having trouble with setting a transparency colour for my sprites and this code is the one that worked

dbSetImageColorKey ( int iRed, int iGreen, int iBlue )
James McGlocken
16
Years of Service
User Offline
Joined: 29th Jan 2008
Location: In The Beautiful Mountains of Vermont
Posted: 10th Apr 2008 20:30
It works for sprites, but it's not working for my 3d model. ;/

Transparency is seriously needed for creating Trees, grass, etc... I just can't seem to find the color that is invisible in DarkGDK. In Dark Basic Pro I know it was 0,0,0 and it worked just fine.

PHP Programming, Music Composition
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 10th Apr 2008 20:47 Edited at: 10th Apr 2008 20:48
James McGlocken
16
Years of Service
User Offline
Joined: 29th Jan 2008
Location: In The Beautiful Mountains of Vermont
Posted: 12th Apr 2008 02:41
Yep that worked x_x These tiny differences than Dark Basic Pro are really getting to me.

Thanks Diggsey

PHP Programming, Music Composition
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 12th Apr 2008 20:30

Login to post a reply

Server time is: 2024-11-20 07:20:17
Your offset time is: 2024-11-20 07:20:17