Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: x_traveler_x on Mon 27/12/2004 20:00:54

Title: Changing fade-effects, transitions between rooms [SOLVED]
Post by: x_traveler_x on Mon 27/12/2004 20:00:54
Hello, good people!

So far I've been able to find answers to my questions by using the FAQs, tutorials, and searching this forum.  But so far I haven't found anything that addresses what i'll describe below:

In the general settings tab, you have the option to select a room transition.  My question is this-- Can you use a different transition for a particular room?  The cross-fade effect looks great, but doesn't really work for every scene in my game (which i'll disclose once i have a worthy tech-demo!).

Thanks!  Love the site!
Title: Re: Changing fade-effects, transitions between rooms
Post by: HillBilly on Mon 27/12/2004 20:17:30
From the manual:

---------------------------------------
SetScreenTransition
SetScreenTransition (int trans_type)


Changes the default screen transition. trans_type can be one of the following:
TRANSITION_FADE
TRANSITION_INSTANT
TRANSITION_DISSOLVE
TRANSITION_BOXOUT
TRANSITION_CROSSFADE

All future transitions will be done as specified until you call this function again.
Example:

SetScreenTransition (TRANSITION_FADE);

will change the room transitions to Fade.
------------------------------------------------------------

Hope that helps!  :)
Title: Re: Changing fade-effects, transitions between rooms
Post by: x_traveler_x on Mon 27/12/2004 20:38:35
Much appreciated.  Thanks!