TDDP_AnimationCurves 1.0.3
Galenmereth
Introduction
This plugin allows you to set animation curves (so-called easing functions) to be used with Move Picture and Tint Picture events.
Features
- Easy Plugin Commands that only need to be placed before a Move Picture or Tint Picture event to affect them. Multiple can be chained. See "How to use"
- 30 easing curve functions, including Elastic, Bounce, Quad and Exponential
- Animated in-game (in test mode) preview of all easing functions. Just press F11, or configure a different hotkey in the plugin's settings.
- Configurable Plugin Command key; if you'd rather type "SmoothCriminal" than "AnimationCurve" in your Plugin Commands, you can configure that in the plugin's settings.
Screenshots
More and better visual examples of how this can be used coming soon, as I'm using this actively in my own game.
Spoiler
How to use
Add one or more Plugin Commands before a Move Picture or Tint Picture event, in the following format:
Spoiler
"QuadOut" is one of the 30 available animation curves, and the x (optional) is the property in the Move Picture call to affect with this curve. If no property is specified, it defaults to using the curve on all properties (x, y, scale width, scale height, and opacity)
The Plugin Commands must be placed
before the Move Picture or Tint Picture events that they are to affect. They do not have to be placed within the same event window, however, so you can put them in Common Events if you wish.
There is also a useful in-game preview of how all the different animation curves work. By default, pressing F11 will open this view, which looks like this: Spoiler
Just hit F11 again to close it. You can configure the hotkey in the plugin's settings. It will only work in test mode, so no need to worry about it affecting your published game.
See the Help section of the plugin for more information.
Download
Grab the latest release here:
TDDP_AnimationCurves.js (
compressed version)
The compressed version removes all unnecessary comments and shaves off 15KB of the file-size, down from 28KB.
Credit and Thanks
-
Tor Damian Design / Galenmereth
- hiddenone for testing
-
McGinley Smith for the original easing functions
Author's Notes
Released under an MIT License (free for commercial use)
本贴来自国际rpgmaker官方论坛作者:Galenmereth处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/animation-curves.108388/