Rooms transitions-Fade In-Out effects

Started by Gabarts, Thu 16/01/2014 13:23:09

Previous topic - Next topic

Gabarts

I was wondering if is possible to modify the black transitions between rooms, both in terms of effect and waiting time.

I've seen it's kinda instantly fade in-out. Maybe with 2 seconds all black and then back to the new room would be better, is possible to tell AGS this?
Thanks

AprilSkies

I don't know if there's a way to change built-in fade-in fuction properties.

I'm working on a project and I did this way:

I created a black object with the same dimension of the sceen and made it not visible.
On room transition, entering the room (on room-load) I make it visible, then (on room entering after fade-in) I set its transparency to 0; after that I change transparency to 100 (with the speed I want for the fade-in transition) and finally make it not visible again. When the player leave the room I set transparency to 100, make it visible, change transparency to 0 (with a certain speed) and ... change the room.

Maybe it's not a proper way, but for me it works well.

www.apemarina.altervista.org

Snarky

Yep, that's the way to do it (you can use the Tween module to simplify the scripting if you want). As a plus, this way the game doesn't need to block during the fading, so if the screen is animated, it doesn't freeze immediately upon fade.

Gabarts

Ok, have to check some classic, like FoA or Monkey Island and see if I can obtain something similar with your suggestion. Thanks

Khris

You'd actually use a GUI, not an object, since a) the GUI will cover everything (except the mouse cursor) and b) you'd have to create the object in every room, while you'll only need one GUI.

AprilSkies

Yep! Actually I'm using an all-black GUI! Sorry! I told you object but of course a GUI should be used!

www.apemarina.altervista.org

Dualnames

Instances of how good the tween module and the black gui can be, can be appreciated in both Primordia and Dakota.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SMF spam blocked by CleanTalk