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 / Got a little "FADING" problem

Author
Message
DLS
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Wet And Windy Britain
Posted: 23rd Jul 2004 07:30
hello again.

i got a naggin problem here. i got an basic intro sequence running in my game but i want it to fade off change bitmap image and then fade on to show the new background.

i know theres a fade command in DBpro but for heaven nor hell can i seem to sus it out.

any1 got any ideas on it??

oh and while i'm thinking about it. does any1 know of any good tutorials on 3D games and/or makeing a matrix.

i just can't seem to even make a simple matrix with a lump in the middle. i just get a flat pannel and nothing else.
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 23rd Jul 2004 08:43
If your game runs in full screen mode you can use set gamma in a loop:
Example fade to black:


Play Nice! Play Basic! Check it out. Now.
DLS
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Wet And Windy Britain
Posted: 23rd Jul 2004 19:54
Thanx empty.

now all i need to know is how to do matrixes and i'll be sorted.
DLS
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Wet And Windy Britain
Posted: 23rd Jul 2004 20:08
Right well i just tried the code and it don't seem to work.

i think i'm must be doing something wrong but i'm not that sure.

since i'm wating it to fade between screens i supose i must put it after the screens been shown to fade it off, then change it and fade it on by reversing the fade off code.

could be my graphics but i got an FX5600 so i can't se that being the problem
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 24th Jul 2004 02:39
As I stated above, the game must run in Fullscreen mode or to be more precise Fullscreen Exlusive mode. If it's a windowed app "set gamma" won't work.

Play Nice! Play Basic! Check it out. Now.
Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 24th Jul 2004 03:20 Edited at: 24th Jul 2004 03:20
And I Don't Think It Will Fade If The Screen Is All Black.

-Ilya
DLS
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Wet And Windy Britain
Posted: 24th Jul 2004 05:55
ok. it is in full screen mode as i got no idea how to do it windowed.

the images do have black in them but they aren't completely black. i'll try it again and see if what could be up.
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 24th Jul 2004 06:55 Edited at: 24th Jul 2004 07:37
In case you use the standard IDE:
Press the button "Settings" in the right panel. Below "Display Settings" click on "Fullscreen Exclusive Mode" (and after that choose a screen resolution / depth).

Play Nice! Play Basic! Check it out. Now!

nFinity Emulator. Coming soon...
DLS
20
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Wet And Windy Britain
Posted: 25th Jul 2004 05:25
right i get what ya ment now by exclusive. i'll give it a wizz and hopw for the best

chears

Login to post a reply

Server time is: 2024-11-27 02:29:52
Your offset time is: 2024-11-27 02:29:52