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,693
Reaction score
1,106
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,693
Reaction score
1,106
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,072
Reaction score
1,493
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,693
Reaction score
1,106
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

So which forum do I use if I want to showcase graphics? I've been using AML forum, but I'm not sure it's correct.
I am trying to get my game published with Aldorlea Games so that I make sales from their website and the game being on Steam. They have said that their published games rarely make less than a few hundred dollars.
DoubleXP wrote on Tonbi's profile.
Hello Wondering if you take commissions?
I should make an itch.io page one of these days...Maybe for my next large update.

Forum statistics

Threads
105,780
Messages
1,016,436
Members
137,480
Latest member
Emistro
Top