Howdy all - for RPG Maker MV v1.5
Why
I picked up MV months ago, but decided to play with it today. I love it, but I didn't like the default square blinking effect on press. So, I thought I'd do the responsible thing and create a plugin to grant more options.
What
This lets you completely disable, and/or customize the blink effect when clicking or pressing.
Options
While messing around I chucked a bunch of options in there.
Color
Any CSS color including RGB and RGBA
Types
none, circle, square, box, url, text, circleoutline
Scale
0 to 1
Data
(optional) String or image URL to use
Animate
on or off, for the blink effect
BounceSpeed
Works inversely, I like 40, 60 or 90.
Script:
License is do whatever you want (tm). Yes, you can use it commercially.
filename: SetFlashAnimation.js, save in your projects
js\plugins folder.
Code:
Images:
Upcoming features:
None planned - but it is a pretty basic script. It isn't tested with other scripts, so could break stuff. In which case, just use it to learn if you like.
本贴来自国际rpgmaker官方论坛作者:Lloyd@RedIronLabs处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/set-flashing-animation-mouse-press-plugin.85334/