New account registrations are disabed. This website is now an archive. Read more here.

RPG Maker VX Ace    Posted April 23, 2012 by Heretic86

Fade Events

Introduction

This script will allow you to Fade Events in and out gradually. The Default Options allow you to change an events opacity, but does not allow you to make a gradual transition. Thus, if you wanted to have an Event that "dissolved", "teleported" or "flickered", you would have to use quite a few Change Opacity commands, then use Wait after each and every Change Opacity command. Sorry to say, but I think that is a pain in the behind. This script offers an easier way to accomplish that same effect by using one line of script: fade_event(new_opacity, duration). Short Fades can be accomplished without this script by adjusting the opacity every frame for a few frames, but if you need rather long Fades that take a lot of frames, then this is the script for you!

Features

  • Saves Time by changing Opacity for you Automagically
  • Super Duper easy to use
  • Only ONE Command to Remember
  • No Configuration Necessary
  • High Degree of Compatability
  • Reported to me to be compatible with VX and VXA as well

The Code

License Terms

Attribution 3.0 Unported - You must attribute the work in the manner specified by the author or licensor. Commerical use allowed.

Instructions

Just put the code above main somewhere…

Credits & Thanks

Thanks to everyone who has been helping me improve my scripting skills!

Comments (4)

  • Idk why, but somehow it doesnt do anything in my case (vx ace). im probs just doing sth wrong, because its my first time using a script. can someone help?
    here what I did: i copied the script into a "materials" slot in my script manager and named it "fade_event". Then I proceeded to use it as in the description as movement command on the event (set to 255, 100) the event i used it on was on player level and triggered by character touch (no spawn conditions set).
    was there anything wrong so far?

  • Try (0,100).

    (255,100) are meant to make the event fade from its initial state into point 255 of transparency after 100 frames. However, since the initial state for the most event is already 255, no changes will happen at all.

Leave a Reply

Heretic86

  • Posted about 13 years ago

  • Engine
    RPG Maker VX Ace
  • Category
    Gameplay Scripts
  • License
    Attribution 3.0 Unported
  • Version
    1.0

Stats

4,049 views

4 comments

Tags

fade