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.

DarkBASIC Professional Discussion / HELP! .. Fade effect problem !

Author
Message
maicl
19
Years of Service
User Offline
Joined: 19th Jun 2007
Location:
Posted: 29th Mar 2010 19:11
Hi guys ..

I'm trying to make a fade effect at the beginning of my game ..
I'm using 'fade bitmap' command with a parameter of 0 for bitmap number , i use something like this :




and when i use this code in my game , which contain some objects , the fade effect become too slow ..
so , is there another way to make that effect ?!
and thank you
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 29th Mar 2010 19:29
I do screen fades by making a big black sprite the size of the screen, and then control the fade by altering the alpha value before pasting the sprite.

Hope that helps

Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 29th Mar 2010 19:52
It certainly helps me. Thanks.
maicl
19
Years of Service
User Offline
Joined: 19th Jun 2007
Location:
Posted: 29th Mar 2010 20:59


thaaaanks so much for this idea ...
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 30th Mar 2010 23:14
Nice idea! I'll be using that... so simple!!

Login to post a reply

Server time is: 2026-07-26 21:12:18
Your offset time is: 2026-07-26 21:12:18