Scrolling Text Speed Control 2014/10/09
Creator name: Nana
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
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
Last edited:

