Show Picture event - flickering of screen

Hello!

So I have a small issue with the show picture event.

So after starting a new game I want a loading screen to be shown (with mission description). Then after you press the action button the screen goes to another loading screen with additional info.

I've recorded a quick video to show what I mean. I start the game -> it transfers to a picture called Test Screen #1 and then it transfers to a picutre called Test Screen #2.

The issue is that the transition is not very smooth. For a split second it shows the map and player before showing the picture.

Anyone knows how to fix it? Please see the video below. In it you can see what I mean - before picture is shown, my character and the map appears for a split second.

Below the video I have posted screens of my events. How can I fix this?

Video:



Here is a snip of event Test Screen #1:

Issue1.png


Here is a snip of event Test Screen #2:
Issue2.png


How can I make the transition smooth, without the flickering?
You should always "Erase Event" or set the event's self switch so it changes it's page when using Autorun events. A good guess is that the autorun event is running again after pressing the button before the player is transfered resulting in the picture to be shown again right away.

So a possible solution is to add an "Erase Event" command right after your "Erase Picture" command.
That's because the game has to load the image first. If you repeat the process again right after, the flicker should disappear. You can prevent that by using a preloader plugin.

Alternatively you can "sort of preload it" by just using the show picture command but giving the image 0 opacity. Use show picture "test, opacity 0" as id 1 and use "test2, opacity 0" as id 2 and then just use the move picture command to change their opacity accordingly. That make sense?
Also, don't deal with an autorun loop that is checking many times per frame for an 'ok' key input when showing a picture (you are using more resources than needed to wait for player input and it is running it way more than needed every frame)

Use the autorun to run the command list once - show the picture and use an empty text (Show Text event command) that is transparent and it will utilize the 'message' wait mode. This will wait for the same key input before proceeding to the next lines of code.

Once the transparent textbox clears, run the rest of your commands and use a selfswitch or do whatever you need to do to prevent the autorun from continuing to re-run the code.

Original thread: https://forums.rpgmakerweb.com/threads/show-picture-event-flickering-of-screen.166131/