Slo-mo Script V1.0
Created by Neon Black
What is it?
This script will allow you modify the frame rate of the game simply by changing the value of a variable. The frame rate can be increased or decreased depending on your need at the present moment. This script also has a simple graphical change that can be turned on or off.
How can I use it?
Place this script anywhere in the materials section above main. If you notice incompatibility with another script, place this script above that script. If you still experience incompatibility issues, please post what scripts you are using as well as what kind of error you are getting. To change the game's frame rate just change the variable you define in the config section of the script to the desired value. To change the frame rate back, just change the variable back to 60. Be aware that changing the frame rate affects other on-screen functions such as message boxes and animations. I have modified the script so that it does not slow down during the menu scene or battle scene.
Configuration:
Spoiler
- FPS Variable - The default variable used to modify the frame rate.
- Slo-mo Blend Effect - The maximum frame rate that will display the modified blending effect. Set to 9 or lower to disable.
- Limit FPS Max - The maximum frame rate allowed. Even if this is above 120, the maximum allowed is 120.
- Limit FPS Min - The minimum frame rate allowed. Even if this is below 10, the minimum allowed is 10.
What does it look like?
I can't really show you a speed change in a single picture, and a single function doesn't really merit a demo. Just imagine lag. That's pretty much it.... The picture shows what the main character looks like with the added blending effect. To turn this off, change the blending mode option to 9 or below.
Spoiler
What does it work with?
Considering this script does not overwrite any objects, it should work with pretty much everything. Below are the changes this script makes.
Alias
SpoilerGame_System:
Sprite_Character:
Scene_Map:
- perform_battle_transition
Scene_Menu:
New Classes/Objects
SpoilerGame_FrameRate:
- initialize
- update
- glitch_test
How can I get the code?
Version 1.0 (first build) is available as a text file from my
pastebin account here.
I would like to use this code.
This work is licensed under a
Creative Commons Attribution-NonCommercial 3.0 Unported License.
Permissions beyond the scope of this license may be available at
http://cphouseset.wo...d-terms-of-use/.
Author's Disclaimer:
It seems there were people who actually used this script when I posted it, as well as people who found it useful or helpful, so though I was torn not to repost this script, I decided to do so. I still personally think it is better to just event slo-mo event sequences than to use this script for them. If you find any actual need to use this script, feel free to do so. Any changes you would like me to add to this script, please ask and I will see if I can accommodate. Any problems you may encounter please post here or PM me and I will certainly help resolve them.
本贴来自国际rpgmaker官方论坛作者:Neon Black处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/slo-mo-script.714/