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 / Fading a bitmap background

Author
Message
Ca11um
14
Years of Service
User Offline
Joined: 3rd Jul 2010
Location:
Posted: 5th Sep 2011 09:43
I am trying to fade my background onto the screen over a duration of 2 seconds. The code I'm using (below) just makes the bitmap instantly appear fully visible, but I fail to see why. Hopefully you guys will know what my problem is.

Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 7th Sep 2011 00:08
I think bitmap stuff is broken in DGDK....?...
I would use a black background with a plane (made to face the camera and exactly the size of the view). Use dbSetAlphaMappingOn(obj,%).

The fastest code is the code never written.

Login to post a reply

Server time is: 2024-10-02 19:21:29
Your offset time is: 2024-10-02 19:21:29