RMMZ Picture Fade In Effect

DigitalWF

Veteran
Veteran
Joined
Apr 13, 2020
Messages
214
Reaction score
57
First Language
English
Primarily Uses
RMMV
Is there a fade in picture effect for RMMZ?
I know I can do this with eventing but it's a bit messy and impractical like the ss below
Fade in Picture.png
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,678
Reaction score
1,095
First Language
Portuguese - Br
Primarily Uses
RMMZ
Yeah, I don't think so.;
Maybe you can use script calls:
$gameScreen.picture(id)._opacity = 100
$gameScreen.picture(id)._opacity = 155
 

DigitalWF

Veteran
Veteran
Joined
Apr 13, 2020
Messages
214
Reaction score
57
First Language
English
Primarily Uses
RMMV
Yeah, I don't think so.;
Maybe you can use script calls:
$gameScreen.picture(id)._opacity = 100
$gameScreen.picture(id)._opacity = 155
I want the picture slowly fadein frame by frame, is it possible with that script call?
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,678
Reaction score
1,095
First Language
Portuguese - Br
Primarily Uses
RMMZ
Hi!
With that script call, you can change the opacity of the picture, without using the game show/move pictures.
But to do the slow fade in/out you have to do a bit more eventing. Maybe use a variable to keep track of the time you want to the fade happen.
Like variable duration = 60;
loop
$gameScreen.picture(id)._opacity -= (255/duration);
if(duration <=0) break loop

Something like that, I'm not entirely sure about the math here xD
But maybe you can find your way out :)
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
2,055
Reaction score
1,482
First Language
EN
Primarily Uses
RMMZ
Use one Show Picture command, then one Move Picture command. Move Picture will apply any difference in position, opacity, scale, etc over the given duration. :)
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,678
Reaction score
1,095
First Language
Portuguese - Br
Primarily Uses
RMMZ
Use one Show Picture command, then one Move Picture command. Move Picture will apply any difference in position, opacity, scale, etc over the given duration. :)
Oh God, don't believe that I missed it xD
Shame on me xDDDDDD
 

DigitalWF

Veteran
Veteran
Joined
Apr 13, 2020
Messages
214
Reaction score
57
First Language
English
Primarily Uses
RMMV
Use one Show Picture command, then one Move Picture command. Move Picture will apply any difference in position, opacity, scale, etc over the given duration. :)
Awesome, this method is very efficient,thanks.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Do you have an audio you want me to animate? If so send me the youtube link and I’ll animate it.
Okay, so I'm working on Draft 2 of my game's script.
Will try to keep you guys posted, if you're interested!

This is vid of my new game, Crystalgazers. A demo is available on my Gamejolt

I just thought of the best achievement for my game: "'I Didn't Know You Were a Developer!' Find and enter one or more dev room(s)."
I made this animation to apply to a job, what do you think?

Forum statistics

Threads
105,582
Messages
1,014,795
Members
137,250
Latest member
jjrocks2000
Top