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,676
Reaction score
1,089
First Language
Portuguese - Br
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
 

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,676
Reaction score
1,089
First Language
Portuguese - Br
Primarily Uses
RMMV
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,043
Reaction score
1,472
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,676
Reaction score
1,089
First Language
Portuguese - Br
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. :)
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

rux
The most words I have ever written in an entire document is in my game's script, jeez i have a lot of characters that ramble on
Yes! I finally did something! This is a picture I drew of what I wish I looked like; I hope that you guys like it!
Finished that egg-sitting mini-game I mentioned here a couple weeks back. Now to fix the weather system so it doesn't rain indoors while you're playing it. >.> A simple fix in itself; leave it to me to take it as an excuse to completely revamp the time/weather/lighting system from scratch.
I'm really tempting to pre order cyberpunk 2077... should I do it or not :/ I really want to play the game but don't want to take a big hit to my saving because of it

Forum statistics

Threads
105,485
Messages
1,014,094
Members
137,138
Latest member
DawnStar
Top