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.

Newcomers DBPro Corner / Screen fade help

Author
Message
zao420
21
Years of Service
User Offline
Joined: 5th Aug 2003
Location: Canada
Posted: 29th Oct 2003 17:45
HI i am trying to fade the screen whenever entering and leaving a town. I am using the following code to do it.


but after it unfade's the screen shifts over to the right.
can anyone tell me why this is happening..

Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 31st Oct 2003 02:44
Why not try setting gamma level? Would be a lot easier.

Got a knack for finding secrets??? Jingot Racing---A new brand of Racing---Only from Nightwatch Studios
"hey, it's tomorrow" - Hamish
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 31st Oct 2003 02:49
Easier but not as controllable ... if you use a sprite then you can fade the area that you want to, and you don't need to be running in fullscreen-exclusive mode to use it either.

@zao420, I don't know what is causing that effect. I use this technique myself and have had no such problems.
zao420
21
Years of Service
User Offline
Joined: 5th Aug 2003
Location: Canada
Posted: 31st Oct 2003 21:00
i did some test and found out its not the fading thats doing it. the position of my guy wasn't updating untill after the fade was done. thats why it was shifting..

Mattman : i am not using fullscreen-exclusive mode. so that way is kinda not an option.

thanks for the replys.

Login to post a reply

Server time is: 2024-09-21 07:36:01
Your offset time is: 2024-09-21 07:36:01