The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: sherper1 on May 25, 2011, 01:22:50 PM

Title: How to slowly fade in and out? And Cut-Scene Help
Post by: sherper1 on May 25, 2011, 01:22:50 PM
Hey sorry if this is explained somewhere already if it has please just put a link to it, I've been searching a bit but I dont want to spend hours looking for how to do something so small..

And I'm also not sure where to put this so just move it to the proper spot if thats not to much trouble..

I'm using RMXP
Basically, I want to go from one map and after a character is saying something slowwllyyy, fade out (maybe like over a five second period) and then again slowly fade in to a new map.

The new map will be starting with a cut-scene , so is there a script or way to event a scene where a bit of the top is black and a bit of the bottom is black? So the only visible area is the middle in a rectangle?
And can you make it so when the scene starts, the two black areas at the top and bottom slowly come into there positions and leave the visible rectangle visible in the middle, and then when the scene ends they slowly make there way out of the screen?..

I used to use rmxp a longggg time ago and now even the simplest things seem like a lot of trouble to me ..
Thanks
Title: Re: How to slowly fade in and out? And Cut-Scene Help
Post by: modern algebra on May 25, 2011, 03:28:21 PM
Well, for the black bars, just use the Show Picture and Move Picture commands. Since you want them to move in, all you need to do is have one picture that is a black rectangle as wide as the screen and as tall as you want. Then you'd show two pictures - both with x = 0 and one with y = 480, the other with y = -1*(height of picture). Then you would just use the Move Picture commands - moving the bottom one up (to 480 - height of picture) and the top one down (to 0).

For the fade in, use the Change Screen Color Tone command. To fade it out, just set it to black (-255, -255, -255) and make it take 100 frames (there are 20 frames in a second). To fade it back in, just set it to regular (0, 0, 0) and make it take 100 frames
Title: Re: How to slowly fade in and out? And Cut-Scene Help
Post by: sherper1 on May 26, 2011, 04:05:28 AM
Cool all done thanks for the help  :)
Title: Re: How to slowly fade in and out? And Cut-Scene Help
Post by: ForeverZero on May 26, 2011, 04:53:20 AM
One minor correction: There are 40 frames per second. 200 frames is 5 seconds.
Title: Re: How to slowly fade in and out? And Cut-Scene Help
Post by: pacdiggity on May 26, 2011, 05:54:10 AM
I thought it was 60? 300 is 5 seconds. Positive.
Title: Re: How to slowly fade in and out? And Cut-Scene Help
Post by: sherper1 on May 26, 2011, 07:06:23 AM
haha either way i got it done . I just use trial and error to get it right for simple things like this
Title: Re: How to slowly fade in and out? And Cut-Scene Help
Post by: modern algebra on May 26, 2011, 08:33:44 AM
40 frames per second if the player uses smooth mode, but the default is 20 in RMXP. It's 60 in RMVX
Title: Re: How to slowly fade in and out? And Cut-Scene Help
Post by: pacdiggity on May 26, 2011, 08:37:32 AM
Ah.
That's how the confusion arose. I understand.