Best way to fade

Talk about making games.

Best way to fade

Postby ericdg » Sat Dec 17, 2005 2:14 am

What is the best way to fade into and out of a scene.

I used the transp in a script, but it is very processor intensive on a pocket pc.

Would it be better to go with an animation? How does everyone else fade?
ericdg
 
Posts: 53
Joined: Tue Nov 29, 2005 1:18 pm
Score: 1 Give a positive score

Postby Joshua Worth » Sat Dec 17, 2005 2:52 am

I did a fade with an animation once. All I did was open the Gimp (http://www.gimp.org) for transparency, and Did a gradiant to black. That worked! :wink:
Stay sweet
User avatar
Joshua Worth
 
Posts: 515
Joined: Tue Jul 19, 2005 12:00 am
Location: Stralia
Score: 5 Give a positive score

Postby BeyondtheTech » Sat Dec 17, 2005 6:17 pm

Create a a full-screen image or canvas actor full of black, then change the transparency of the actor to 1 in the Create Actor Event. Subtract a small value in the Draw Actor Event. When the transparency hits 0, then you can Change the View position and continue.
User avatar
BeyondtheTech
 
Posts: 270
Joined: Wed Mar 30, 2005 6:34 am
Location: Edison, NJ
Score: 4 Give a positive score

Postby marathon332 » Sun Dec 18, 2005 1:50 pm

I wonder which fade method is less processor intensive? Code or an animation?

Does anyone know? Makslane?
User avatar
marathon332
 
Posts: 57
Joined: Tue Sep 06, 2005 4:00 am
Score: 2 Give a positive score

Postby makslane » Sun Dec 18, 2005 2:20 pm

I don't think has any performance differences between two methods.
(Please, tell me if I'm wrong)
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Game A Gogo » Sun Dec 18, 2005 2:20 pm

i would say the "beyondTheTech" method, cause the other method, it needs to load up the image of fading, so i sugest the " beyondTheTech" cause it will reduce the game size after exportation
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby ericdg » Sun Dec 18, 2005 10:22 pm

beyondthetech, what do you mean by change the view position.

I put a full screen black actor over my current view, and used transp in a draw actor script to increase the transparency. Once the black actor is transparent you can click on the other actors as normal.

Anything else I should do after this. It just really seems to slow down the scene until the black image is transparent.

I also tried to fade out the scene by doing the same but by starting transparent and ending up black. This really puts a strain on even a 400mhz ppc processor.

Is this normal or am I doing something wrong.
ericdg
 
Posts: 53
Joined: Tue Nov 29, 2005 1:18 pm
Score: 1 Give a positive score

Postby Game A Gogo » Sun Dec 18, 2005 10:43 pm

yes, this is normal, even on my 450mhz, i cant do a something, maybe try the other thechnic, if only makslane could add an action, screen fading then u could choose the color and everything, but unfortunetly...we cant.

ill try to figure another way.
if you want
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby ericdg » Mon Dec 19, 2005 1:19 pm

Thats ok. If I do a quick fade in, and no fade out, its not too bad.

Games just look so much better with a little fade, IMHO.
ericdg
 
Posts: 53
Joined: Tue Nov 29, 2005 1:18 pm
Score: 1 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest