MZ Fade in, Fade out Picture

Hi, I have found some topics about a picture plugin, but I can't find any useful information on it. Are there any plugins, tips, or anything that can help me customize a picture, such as adding fade-in and fade-out effects like in this video?

I use MZ version.

Hi there!

You can achieve these effects with just the default MZ picture command.

Show the picture with opacity 0 at position X.
Then, Move the picture to another position X and set the opacity to 255.
  • Opacity 0 to 255
  • Opacity 255 to 0
These two above are the fade in/out commands.

This plugin of mine provides advanced stuff for pictures. But in your specific case, yo can do it with the default event command.

Need my Eli Book above it.
Show the picture with opacity 0 at position X.
Then, Move the picture to another position X and set the opacity to 255.
works perfectly since this is how I do it within my own game, though admittedly it is kind of a clunky method since you need to make sure all the values are the same as the "Show Picture" values except (in this case) the opacity value. If you don't set the X/Y to match the show picture X/Y, then of course, when you use the move picture command, you won't just have the picture fade out, but it will also drift off into space.

Despite this clunkiness, like I said, it is how I do it within my own game, but I could easily understand someone wanting a plugin that just simplifies it to a simple plugin command: "Fade picture 1 0" or "Fade picture 1 255".
(looks like your plugin does that, plus some other nice stuff, but it's too late for my project :LZSlol: hopefully it will help the OP)
I appreciate it, thank you

Hi there!

You can achieve these effects with just the default MZ picture command.

Show the picture with opacity 0 at position X.
Then, Move the picture to another position X and set the opacity to 255.
  • Opacity 0 to 255
  • Opacity 255 to 0
These two above are the fade in/out commands.

This plugin of mine provides advanced stuff for pictures. But in your specific case, yo can do it with the default event command.

Need my Eli Book above it.
I could easily understand someone wanting a plugin that just simplifies it to a simple plugin command: "Fade picture 1 0" or "Fade picture 1 255".
In case it helps: a Script command can be used to avoid changing other values, e.g.
JavaScript:
// Get picture 1...
const pic = $gameScreen.picture(1);
// ...change opacity to 255...
pic._targetOpacity = 255;
// ...over 60 frames.
pic._duration = pic._wholeDuration = 60;
But yea, the editor has many arbitrary limitations. 😴

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