Questions about fade out/transparency

Hi,

I want to make a opening cut scene with everything fade out, but no matter what I did, the map will still be shown for a split second before it is faded out.

Can anybody help me with this, I don't want the map to be shown before the screen turns black.

I have tried to turn transparency on at the database>system.

I first tried using @>Fadeout Screen, with autorun trigger,

Then I tried changing the trigger to parallel process, but the map will still be shown before the screen faded out.

I also tried using tint(-255 all) instead of fadeout, but it's still the same.

I only managed to got the character not be shown before fading out.

I hope you understand what I'm trying to say here.  🙁
Autorun events start AFTER the map loads.


Put the fadeout into a Parallel Process event, followed by an Erase Event command (or turn on a self switch and add a second page conditioned by the self switch if you'll be coming back to this map at any point).


Not sure what you did with your parallel process, but if you did it right, the map would not be shown before the fadeout. Show us a screenshot of the event (the whole event window, not just the commands) so we can see what you've got.


How to take a Screenshot:


You've heard people say to take a screenshot, but how does one take a screenshot of their game? Simple, while the game is running, hit the Prt Scr button on your keyboard, which is located right next to your F12 key. If you're using a laptop, you might have to use the Fn key in combination with the Prt Scr key to get it to work.

Now that you've pressed the button, it's time to paste this screenshot into an image editing software. If you don't have anything fancy such as Adobe Photoshop, GIMP or Paint.NET, no worries; you can use MS Paint instead. Open up your image editing software, create a new file, and then hit ctrl+v on your keyboard, or simply right click on the screen and select paste. This should instantly paste the screenshot into your image editing software. You can go ahead and crop the image to suit your needs, or if you don't even know what that means, you can just upload it as it is.

Save the image as a PNG, or if you really need to, as a high quality JPG.


How to upload the image to the forums


Now that you have you have an image on your computer you'd like to show us, how can you get it to show up on the forums? Firstly, you need to find an image hosting site, photobucket.com or imageshack.us are popular ones. If you have another image uploading website, great - use that one! Either way, upload it to the site, and then get the direct link. Don't get the resized link, or the thumbnail link, but the direct URL. You'll know you have the direct URL if the URL ends with the file extension you saved your image in (which will hopefully be .png).



Once you have this direct URL to your image, simply use the IMG tags in your forum post and paste the URL in between them. If this image is big, please leave the image in spoiler tags.

IMG tags:
image.png
Hi,

This is the screenshot for the script I used.

[IMG]http://i611.photobucket.com/albums/tt193/Delbin_Teo/Untitled_zpsfzbtf9nu.png[/IMG]
Because you've got the fadeout AND the fadein in the parallel process.


Create ONE event that has the fadeout followed by Erase Event (or turn on a self switch and add a second page conditioned by the self switch if you'll be coming back to this map).


Put the REST of the commands into an autorun event.
Hi Shaz,

Sorry I'm kind of lost about the 'Erase' event. Can you tell me what does it do? I google'd what is erase event but all I find is 'self switch' tutorial or something along the line.

Yeah I'll be going back to the map.

From what I understand, is it like this?

Spoiler
Event 1[IMG]http://i611.photobucket.com/albums/tt193/Delbin_Teo/Untitled2_zpsx25mzsbj.png[/IMG]

Event2

[IMG]http://i611.photobucket.com/albums/tt193/Delbin_Teo/Untitled3_zpspoqdlfuw.png[/IMG]
Parallel process events continue to run unless you stop them somehow.

Sometimes you want something to be set up every time you enter a map but once it's set up you don't need it to be continually applied.

Erase event removes an event until the next time you load the map.

Therefore if you have something set up with a parallel event e.g. fadein, show picture, screen tint, play BGM, whatever, that only needs to be activated once, you remove the event with erase event.  It is still there so that next time you get your music etc. etc., but the parallel process is not operating and so does not e.g. cause lag.
Erm, actually, I still have the same problem with the fadeout.

I wonder what did I do wrong. 🤔

Spoiler
Event 1[IMG]http://i611.photobucket.com/albums/tt193/Delbin_Teo/Untitled2_zpsx25mzsbj.png[/IMG]

Event2

[IMG]http://i611.photobucket.com/albums/tt193/Delbin_Teo/Untitled3_zpspoqdlfuw.png[/IMG][
First thing is that you have EITHER erase event OR a self switch.  You use erase event if you are coming back to that map and you want the same thing to happen each time you load the map.  That is why it is used for e.g. screen tints, or changing BGM.  You use a self switch if you only want something to run once and then never again.

I personally would do this differently.

Start the player on a new, totally blank map with transparency set to ON.

This has 2 advantages.  First you start off with the equivalent of a fadeout, as there is nothing to see.

Second, as you go through the development of your game you might well find that you want to do things where you have to set up a switch at the beginning of the game.  You do everything like that on this map.  This second reason need not concern you just at the moment.  But by starting on this blank map, you have made it easier for yourself later on.

While you are on that map, run your bit of text.

Transfer your player to the 'proper' opening map. Remember that this is a transfer that the player doesn't know about, so do not use the 'Move' SE. You want to keep it a hidden action.

Take transparency OFF and run your set move route in your autorun event.

EDIT

If you find that there is a moment right at the beginning where the character is not visible and then she suddenly appears, you will have to do a fadeout on the blank map, and begin this autorun with a fadein after you have taken transparency OFF.
I use ksjp17's approach myself. Start the player with transparency on, and transfer them to a blank map with nothing on it. That will look effectively like a fade out to the player, and you do everything you need to do before the fade in here. Once you need to fade in, transfer the player to the new map, and start a new event there.
If none of the above work, show us new screenshots of your events.


Also check that there aren't OTHER events that you've set up in order to try and test, and have forgotten about, that could be causing this. That includes common events.
Hi,

Ok so, I've created a blank map, and it works. But then there is another question,

I want it to be, when it got transfer to the other map, it is 'night time', or dark.

But when I transfer it to the other map, the map will appear normal first, then become dark, same problem with the fade out thingy.

The tint effect only loads after the map load.

I'm sure there's no other 'testing event' or so, I redo the event in a new blank project, and the problem is still there. :c

This is the only 2 event I have. Did I miss out anything?

Spoiler
Event1

[IMG]http://i611.photobucket.com/albums/tt193/Delbin_Teo/blank1_zps0etv78kq.png[/IMG]

Event2

[IMG]http://i611.photobucket.com/albums/tt193/Delbin_Teo/blank2_zpsjtw0chap.png[/IMG]
You can do a fadeout prior to the transfer, and a fadein after the transfer.
Hi Shaz

I did what you said and it works.

Thanks for the help everyone. 😀

Original thread: https://forums.rpgmakerweb.com/threads/questions-about-fade-out-transparency.44847/