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,094
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,094
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,050
Reaction score
1,479
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,094
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 Posts

Latest Profile Posts

GOBBLE GOBBLE! Happy thanksgiving.
Oh no. That moment when you try to fix something you modified in your game, like, a year ago but didn't want to fix then, and you now have no idea what you even did. Me right now, trying to figure out why my gold window is over stretched?
LittlePIGGY wrote on atreyoray's profile.
Where are you TT^TT
We need ARP_InGameManual for MZ
Oh my gosh. Thank you, Macy's! Thank you so much! You have made me very happy!

Forum statistics

Threads
105,550
Messages
1,014,568
Members
137,225
Latest member
Eryndor
Top