Scrolling Text Speed Control 2014/10/09
Creator name: Nana
Overview
A script that controls the speed of a scrolling text by pressing a certain key.
Features
- Speed setting for 3 button controls (A, B, C) and default speed.
Preview
Installation
Paste this script above Main.
Script
Spoiler: Code Code: #============================================================================== # 「Scrolling Text Speed Control」(ACE) ver1.0 # Author: Nana # Homepage: http://heptanas.mamagoto.com/ # # ◇Terms of Use # Please credit "Nana" and link http://heptanas.mamagoto.com/ if possible. # Feel free to modify this script and/or distribute it. # Also please include the credit in the readme or somewhere it's accessible. (Not from credit roll) # # ◇Use for for-profit indie games or doujin games. # Use is limited to games created as hobbies by individuals or groups. # May be used for games sold as either hard or soft (DL) copies. # *Not for use by commercial businesses. # #------------------------------------------------------------------------------ # # It's possible to set the speed for scrolling text. # You can change the speed by pressing a certain key. # # Please include a numerical value by default. # #============================================================================== #◇Initial Setting module Nana_STC SPEED = 1 #Normal scroll speed, default = 1 A_SPEED = 2 #Scroll speed from A button (confirm key) when pressed. B_SPEED = 1000 #Scroll speed from B button (cancel key) when pressed. C_SPEED = 1 #Scroll speed when C button (subkey) is pressed. end #============================================================================== # ■ Window_ScrollText #------------------------------------------------------------------------------ # Window used for Scroll Text. Although frames are not displayed- # It's treated as a window for convenience. #============================================================================== class Window_ScrollText < Window_Base #-------------------------------------------------------------------------- # ● Acquired scroll speed #-------------------------------------------------------------------------- def scroll_speed $game_message.scroll_speed * show_fast? * 0.5 end #-------------------------------------------------------------------------- # ● Fast forward control #-------------------------------------------------------------------------- def show_fast? return Nana_STC::SPEED if $game_message.scroll_no_fast return Nana_STC::A_SPEED if Input.press?(:A) return Nana_STC::B_SPEED if Input.press?(:B) return Nana_STC::C_SPEED if Input.press?(:C) return Nana_STC::SPEED end end 复制代码
Credit and Thanks - Nana
Terms of Use-
- Please credit "Nana" and link
http://heptanas.mamagoto.com/ if possible.
- Feel free to modify this script and/or distribute it.
- Also please include the credit in the readme or somewhere it's accessible. (Not from credit roll)
- Non-commercial use
本贴来自国际rpgmaker官方论坛作者:ovate处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/scrolling-text-speed-control.91161/