Status
Not open for further replies.

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,088
Reaction score
2,681
First Language
Greek
Primarily Uses
RMMZ
[NO need for plugin]
◆Move Picture:#1, Center (408,312), (100%,100%), 255, Normal, 30 frames (Wait)
Show picture with opacity 0
Move picture at the same spot and opacity to 255 and give it as many frames as you want the fadein to last.
Thanks @caethyril for the answer.

How about a plugin command that can show a picture (picture gets a number to collaborate with the rest of MV Event Commands to be able to move it around) at a specific origin, with a fade in effect, and another plugin command that can fade out and erase the picture? I can't believe we don't have such a basic thing. :p
 
Last edited:

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,043
Reaction score
1,519
First Language
Portuguese - Br
Primarily Uses
RMMZ
Hi!
You can use the PictureWipe.js to make that.
Its a plugin that came with the Rm Mv by default. But here(steam version) it is in Dlc/KadokawaPlugins folder.

But also, you can do this with the oppacity comand of the picture, but it requires to you hit the right time change the opacity amd right frames for it. ^^
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,088
Reaction score
2,681
First Language
Greek
Primarily Uses
RMMZ
Oh. Just found the folder, let me check this out and will edit this post.

Hmmm...
◆Plugin Command:PictureWipe 1 circle in 180

This should had made the picture fading in for 3 seconds. It shows up instantly though.

◆Text:None, Window, Bottom
:Text:Test.
◆Plugin Command:PictureWipe 1 circle in 180
◆Wait:60 frames
◆Show Picture:#1, CH_A_M_01_01, Upper Left (136,214), (100%,100%), 255, Normal
◆Text:None, Window, Bottom
:Text:Bleh


Am I doing this wrong?
 
Last edited:

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,088
Reaction score
2,681
First Language
Greek
Primarily Uses
RMMZ
Hmm, meanwhile while I will be waiting for the plugin solution insights, I think I found a workaround without a plugin. It is a LITTLE messy, but it does the trick.
Please people pardon my double post, because I provide a solution:

Show Picture:#1, CH_A_M_01_01, Upper Left (136,214), (100%,100%), 0, Normal
Control Variables:#0018 Opacity A = 0
Loop
Script:
Script:$gameScreen._pictures[1]._opacity +=30
Control Variables:#0018 Opacity A += 30
Wait:10 frames
If:Opacity A ≥ 255
◆Control Variables:#0018 Opacity A = 255
◆Break Loop

:End


:Repeat Above


What I did.
I have set up three vaariables.
Opacity A, Opacity B, and Opacity C, So I can handle the opacity of three different pictures at the same time.
I have shown the picture with ID = 1 at the position I wanna show it, with Opacity = 0.
This will show nothing but the picture exists now.
Red line initializes the variable to 0.
I start a loop.
Orange part: A script command adds to the existing picture's opacity 30.
Variable follows this change.
Blue part: If the variable (thus also the opacity) gets more than 255, then we set it to 255 and we break the loop.
Otherwise it loops.

I leave the variable as it is, since the fade out will need this variable again.
As for the Opacity value, if it exeeds 255 the engine limits it to 255, so yeah, no problem there.
 
Last edited:

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
2,633
Reaction score
2,007
First Language
EN
Primarily Uses
RMMZ
Surely I'm missing something here. Why not just use the event commands? Or are you just asking for a shortcut? :kaoswt2:
Code:
◆Show Picture:#1, gauge, Upper Left (408,312), (100%,100%), 0, Normal
◆Move Picture:#1, Center (408,312), (100%,100%), 255, Normal, 30 frames (Wait)
◆Wait:180 frames
◆Move Picture:#1, Center (408,312), (100%,100%), 0, Normal, 30 frames (Wait)
◆Erase Picture:#1
I.e. show at opacity 0, move to same location at opacity 255 over 30 frames, wait 3 seconds, move to same location at opacity 0 over 30 frames, erase. If you need the wait time to be parallel, use a parallel event. If you need to wait for all pictures to fade away again, add up the wait times or use switches and a check loop:
Code:
◆Loop
  ◆If:Picture 1 Done is ON
    ◆If:Picture 2 Done is ON
      ◆Break Loop
      ◆
    :End
    ◆
  :End
  ◆Comment:Check 10 times per second.
  ◆Wait:6 frames
  ◆
:Repeat Above
 

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,088
Reaction score
2,681
First Language
Greek
Primarily Uses
RMMZ
◆Move Picture:#1, Center (408,312), (100%,100%), 255, Normal, 30 frames (Wait)

Really now? Wow. That is really brilliant!
So you can move the picture at the same spot, delay some fps and it will GRADUALLY change the opacity?
I wish I could thought of that. Wow!!!

Surprisingly simple!!!
Thank you!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Posts

Latest Profile Posts

Artists out there, is there something RPG maker related you wish your graphics software had but doesn't? (Something like automatically transform a wall tile into a cylindrical tower). I want to give a boost to WecTools, but I'm dry of ideas right now...
having anxiety during all this virus stuff is the absolute worst. I'm the only one missing out on my friend's wedding in Sept. because I can't be in large groups of people anymore due to anxiety.
Well... I just spent most of the day making something I cant even use xD

Hero_1.png
The idea was to look at the original but at a medium distance.
In hindsight, I might as well have just edited the original lol... I didn't intend for it to end up so similar.
does anyone else feel tired after completing a sprite?

Forum statistics

Threads
113,906
Messages
1,078,338
Members
148,011
Latest member
minh0408
Top