GALENMERETH'S PROFILE

The Vendor
Turn a profit and indirectly save the world

Search

[VX Ace] Ease Script – Varied and smooth movement for Move / Tint Picture and Move Routes

Since I'm sure not everyone is familiar with the term "easing", I thought I'd "advertise" my script here and explain what it does through the use of youtube videos.

Easing is the use of mathematical formulas to change the movement curve of a property; you can make a bouncing ball animation, a fast-to-short speed slide, and many other variations simply by setting the start and end value of a parameter. This comes in especially handy for Move Picture, and for script calls in Move Routes. Take a look at the following videos:



The video above shows how a Move Picture event and a Tint Picture event are changed based on the selected easing method; the duration and settings in the events are the same, only the applied easing algorithm changes, to often drastic effect. Here's a screenshot of how easy it is to set an easing method:



By setting the Game_Picture.easing value to Easing::BOUNCE_OUT, all subsequent calls to Move Picture and Tint Picture are affected. You can set different easing methods for tint and move by adding another script call in between them, and there is no limit to how many pictures you can animate like this at any time. The script hooks into the update loop and replaces the default animation methods with the new easing one; as far as I can tell, there is no performance hit whatsoever.



This second video shows the use of three new Move Route script calls you can call to use easing for moving events and characters:

* ease_moveto(x, y, duration, easing_method)
* ease_moveto_char(char_id, duration, easing_method)
* ease_opacity(opacity, easing_method)

For more information, check out the script's page: http://rpgmaker.net/scripts/356/

If you have any questions or feedback, I'd love to hear from you!
Pages: 1