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,047
Reaction score
1,477
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



Made another map, this one even has a cool moving waterfall. I'll have an animated GIF later whenever I'm done adding stuff. :LZSwink:
Back here again?! RPG MAKER, I can't quit you. :kaosigh:
um... why didn't anyone tell how easy it is to add motions to Sideview battlers? I literally copied the last one, changed the name and index, said where it should play, and boom... I've got intro motions.
Lately when I listen to 1970s songs, I always think that the "real world" is still at mid 70s. What we experience now is a futuristic dream. With this point of view, even 80s and 90s looks super futuristic. :D

Forum statistics

Threads
105,541
Messages
1,014,485
Members
137,220
Latest member
broiderers
Top