Simple Event Fade

kuoushi

Villager
Member
Joined
Oct 28, 2015
Messages
14
Reaction score
15
First Language
English
SimpleEventFade.js


Download


SimpleEventFade.js (v1.1)


Introduction


This plugin adds the ability to make events fade in or out over a set duration of frames much more easily than having to repeatedly set the opacity over and over again. It should also be much smoother than doing that manually.


How to Use


Go to the Event you want to make fade in or out and find the location where you want to make the event take this action. Create a move route, click script in the bottom right of that window and add one of the following lines depending on what you want to do:


this.fadeIn(x)


this.fadeOut(x)


this.fadeTo(newOpac,x)


x should be the duration in frames that you want the fade to last. There is also a default value in the plugin's parameters so you could even enter something like this.fadeOut() and that'd work just as well. In the case of using this.fadeTo, you MUST set an opacity to fade to. For instance, saying this.fadeTo(150,60) would fade the event or player to 150 opacity from their current opacity over 60 frames. You could also just call this.fadeTo(150) and it'd use your default duration set in the plugin parameters.


Screenshot


usage.png


Notes


This plugin should not require any other plugins, nor should it have any compatibility issues. It is free for use commercially and non-commercially so long as I am credited.


Also, I finished this plugin before I saw that Galv had already created a plugin with this functionality and more. If you need more functionality for your Move Routes I recommend checking it out: Galv's Move Route Extras


Known Issues


None at the moment.
 
Last edited by a moderator:

kennysaurs

Amazing Person
Veteran
Joined
Oct 21, 2015
Messages
54
Reaction score
13
First Language
English
Thank you so much for this! This works very well with my On Map Encounter respawn/death system!
 
Last edited by a moderator:

kuoushi

Villager
Member
Joined
Oct 28, 2015
Messages
14
Reaction score
15
First Language
English
@kennysaurs


Yes actually. This plugin respects the checkboxes in the bottom left of the move route window. Simply uncheck the "Wait for Completion" box there and you can have something fade out/in for however long you want and the player will be allowed to move while it's happening.


Edit: Good to hear it. I made it so I could do something similar as well!


Edit #2: Just updated this plugin to version 1.1 since I added in an extra fade call that'll let you fade to a specific opacity. Want to fade from whatever your current opacity is to specifically 64 opacity? Can do now, just use this.fadeTo(64)
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

buinguyenhoangtho wrote on fizzly's profile.
Hello @fizzly, i would like to use your asset/ resource for my project ( is maybe commercial ). May i have your permission? Thanks you !
Working on breaking the limits of RPGMaker! :cool:
I have 470+ hours on RMMV but have only made a demo game, is this normal? :kaoswt: (I lose motivation a lot plus I use a 32gb laptop, so..)
I like Iron Maiden.
Benku wrote on Magnus0808's profile.
Hey man you helped me out a long time ago with a plugin i was wondering if you can help me out one more time since its literally the last thing i need help with if not is cool but id figured id ask you one more soild.

Forum statistics

Threads
95,427
Messages
929,082
Members
125,659
Latest member
AphoticAmaranth
Top