Hi all, I'm trying to get a fade-in working immediately after entering a room. Basically our game starts with someone waking up, and we wanted to have the room fade in really slowly to give the effect of waking up.
However the only place I can seem to get the FadeOut/FadeIn working is in the "After Fade In" interaction, which means the screen fades in itself before I get chance.
Any suggestions?
Cheers,
lemmy
EDIT: Thanks guys!
Is the room animated? If not, make the first frame black. Make the fade-in technique instant for that first room, then after fade-in, do the fading effect. If you do it right, the cursor should blink a bit and that's all.
You would also have to set the background frame to frame 1 (vs frame 0) immidiately after setting the screen black for fade-in.
Also, I don't know if that would work in this instance, but you should also be able to set up the events before you load the room, such as in the previous room, but I don't really know how, off the top of my head. That's because I'm ignorant though, not because it's particularly tricky.
I had trouble with this myself recently, and I think I suggested that it just be made possible to fade in and out slowly between room transitions, to avoid all these messy workarounds.
If I didn't make that suggestion, I make it now.
Quote from: bspeers on Wed 22/02/2006 16:05:18
Is the room animated? If not, make the first frame black. Make the fade-in technique instant for that first room, then after fade-in, do the fading effect. If you do it right, the cursor should blink a bit and that's all.
You would also have to set the background frame to frame 1 (vs frame 0) immidiately after setting the screen black for fade-in.
Also, I don't know if that would work in this instance, but you should also be able to set up the events before you load the room, such as in the previous room, but I don't really know how, off the top of my head. That's because I'm ignorant though, not because it's particularly tricky.
Yeah, that's a logical, clever workaround.
Can't have functions for everything, Kinoko. ;)
Yes you can!
Seriously though, I honestly think this would be a popular feature.
You can also create an object that has a full-screen black image, and then gradually reduce its transparency to fake a fade-in, though this method could be slow.