Cursor Blink Remover V2.0
Typhon01
For versions prior to 2.0, please refer to this thread:
http://forums.rpgmakerweb.com/index.php?/topic/28835-stop-cursor-from-blinking/
Introduction
This script prevents the "cursor" on selector windows (such as the Title Scene window, the main menu windows, battle scene windows, etc) from "blinking". If you start playtesting a new game, as soon as the title scene starts, on that window there, you will see the cursor I'm talking about, and how it rapidly fades in and out. This script can control that fading effect. Although I myself don't intend on using this script, it's here for anyone who does want it.
Features
This script has three customization features to give you control over the windows that have the blinking cursor.
- You can disable blinking by turning on a game switch. The default switch is 15, but that is customizable in the script.
- You can disable blinking at the Title Scene with a control in the script (something that option #1 couldn't do), this is set to false by default.
- You can disable blinking entirely, which renders the first two controls powerless regardless of their setting. No windows will have the blinking cursor, period. This is set to false by default.
Due to the effect of this script, screenshots cannot show you what I'm talking about. Try out the demo instead.
How to Use
Full instructions are given in the script, but this script installs under the materials section, and above main. This script is usable with zero configuration, just launch the game, and should you want the cursor to not blink for whatever reason, flip the magic switch (15 by default) to ON. If you want to reverse that effect, simply flip it OFF again. More customization options are available, within the "Editable Region" inside the script.
Demo
The demo for this script can be downloaded
here.
There are three NPCs that will show you exactly what the script does, and their dialog changes if you use the activate the third
setting within the script.
Script
At long last, here is the script itself. You can plug-and-play with zero customization if that's your thing, but at the very least, I recommend changing the default switch to something that works better for you.
Spoiler Code:
Credit and Terms of Use
This script is free to use for all projects, commercial or otherwise, so long as proper credit is given to me, Typhon01.
You are permitted to re-post and redistribute this script however you please, so long as anyone who ends up with it also provides proper credit to the original author of this script, Typhon01.
You may alter and edit this script how you see fit, however, you do so at your own risk. It is not my responsibility to fix any issues caused as a direct result of the tampering of this script.
If you do alter the script, and you decide to redistribute your alterations, it is your responsibility to inform everyone that your script is not the original, and you must inform them of any changes you have made to the script.
Author's Notes
I have personally tested this script with multiple windows in-game, including name-processing windows, the title scene, battle scene, choice dialogs, my own custom scene, and even the play-testing switch and variable control window that appears when you press F9. I have not stumbled upon any issues while testing
THIS version of the script V2.0, but that doesn't mean they don't exist. After all, this script modifies the update method of a hidden class, which means I made this script without having any source code to work with. There's no way to know for certain what could be affected by my script, but if you do stumble upon any bugs/issues, I will certainly do my best to correct them.
Special Thanks
I'd like to give a special thanks to
theadellie, for posting the original request for this script. The making of this script served as a learning experience for me, and helped me to understand the inner workings of the engine better.
本贴来自国际rpgmaker官方论坛作者:typhon01处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/cursor-blink-remover.29108/