Fade in Fade out picture.

[NO need for plugin]
◆Move Picture:#1, Center (408,312), (100%,100%), 255, Normal, 30 frames (Wait)
Show picture with opacity 0
Move picture at the same spot and opacity to 255 and give it as many frames as you want the fadein to last.
Thanks @caethyril for the answer.

How about a plugin command that can show a picture (picture gets a number to collaborate with the rest of MV Event Commands to be able to move it around) at a specific origin, with a fade in effect, and another plugin command that can fade out and erase the picture? I can't believe we don't have such a basic thing. 😛
Hi!
You can use the PictureWipe.js to make that.
Its a plugin that came with the Rm Mv by default. But here(steam version) it is in Dlc/KadokawaPlugins folder.

But also, you can do this with the oppacity comand of the picture, but it requires to you hit the right time change the opacity amd right frames for it. ^^
Oh. Just found the folder, let me check this out and will edit this post.

Hmmm...
◆Plugin Command:PictureWipe 1 circle in 180

This should had made the picture fading in for 3 seconds. It shows up instantly though.

◆Text:None, Window, Bottom
:Text:Test.
◆Plugin Command:PictureWipe 1 circle in 180
◆Wait:60 frames
◆Show Picture:#1, CH_A_M_01_01, Upper Left (136,214), (100%,100%), 255, Normal
◆Text:None, Window, Bottom
:Text:Bleh


Am I doing this wrong?
Hmm, meanwhile while I will be waiting for the plugin solution insights, I think I found a workaround without a plugin. It is a LITTLE messy, but it does the trick.
Please people pardon my double post, because I provide a solution:

◆Show Picture:#1, CH_A_M_01_01, Upper Left (136,214), (100%,100%), 0, Normal
◆Control Variables:#0018 Opacity A = 0
◆Loop
◆Script:
:Script:$gameScreen._pictures[1]._opacity +=30
◆Control Variables:#0018 Opacity A += 30
◆Wait:10 frames
◆If:Opacity A ≥ 255
◆Control Variables:#0018 Opacity A = 255
◆Break Loop
◆
:End

◆
:Repeat Above


What I did.
I have set up three vaariables.
Opacity A, Opacity B, and Opacity C, So I can handle the opacity of three different pictures at the same time.
I have shown the picture with ID = 1 at the position I wanna show it, with Opacity = 0.
This will show nothing but the picture exists now.
Red line initializes the variable to 0.
I start a loop.
Orange part: A script command adds to the existing picture's opacity 30.
Variable follows this change.
Blue part: If the variable (thus also the opacity) gets more than 255, then we set it to 255 and we break the loop.
Otherwise it loops.

I leave the variable as it is, since the fade out will need this variable again.
As for the Opacity value, if it exeeds 255 the engine limits it to 255, so yeah, no problem there.
Surely I'm missing something here. Why not just use the event commands? Or are you just asking for a shortcut? 😅
Code:
◆Show Picture:#1, gauge, Upper Left (408,312), (100%,100%), 0, Normal
◆Move Picture:#1, Center (408,312), (100%,100%), 255, Normal, 30 frames (Wait)
◆Wait:180 frames
◆Move Picture:#1, Center (408,312), (100%,100%), 0, Normal, 30 frames (Wait)
◆Erase Picture:#1
I.e. show at opacity 0, move to same location at opacity 255 over 30 frames, wait 3 seconds, move to same location at opacity 0 over 30 frames, erase. If you need the wait time to be parallel, use a parallel event. If you need to wait for all pictures to fade away again, add up the wait times or use switches and a check loop:
Spoiler
Code:
◆Loop
  ◆If:Picture 1 Done is ON
    ◆If:Picture 2 Done is ON
      ◆Break Loop
      ◆
    :End
    ◆
  :End
  ◆Comment:Check 10 times per second.
  ◆Wait:6 frames
  ◆
:Repeat Above
◆Move Picture:#1, Center (408,312), (100%,100%), 255, Normal, 30 frames (Wait)

Really now? Wow. That is really brilliant!
So you can move the picture at the same spot, delay some fps and it will GRADUALLY change the opacity?
I wish I could thought of that. Wow!!!

Surprisingly simple!!!
Thank you!

Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/fade-in-fade-out-picture.110271/