MSX_Scene_Title_Plus
Version: 1.0
Author: Melosx
Release Date; 23/12/11
Features
You can add a subtitle on title screen... You can edit title and sub title position, color, font, font color, shadow ecc.ecc.ecc.ecc. in the configuration section of the script(lines 21-42).
p.s.: sorry for my bad english
Script
Script
CODE
#==========================================================================
====
# ** MSX_Scene_Title_Plus
#==========================================================================
====
# Autore: Melosx
# Versione: 1.0 => 23/12/2011
# Data rilascio: 23/12/2011
#
#------------------------------------------------------------------------------
# Istruzioni:
# Copiare lo script sotto Materials e sopra Main.
# Cambiate i parametri chiesti nella sezione CONFIGURAZIONE.
#
#==========================================================================
====
class Scene_Title < Scene_Base
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=CONFIGURAZIONE=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-#
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=TITOLO=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-#
T_POS = 1 # Posizione: 0 => Sinistra; 1 => Centrato; 2 => Destra
T_FONT = "Comic Sans MS" # Nome del Font
T_FONT_SIZE = 48 # Grandezza del Font
T_FONT_COLOR = Color.new(255, 255, 255, 255) # Colore del Font (R, G, B, A)
T_FONT_GR = false # Grassetto: true/false => si/no
T_FONT_COR = false # Corsivo: true/false => si/no
T_FONT_OMBRA = false # Ombra: true/false => si/no
T_FONT_BORDO = true # Bordo: true/false => si/no
T_FONT_BORDO_COLOR = Color.new(0, 0, 0, 128) # Colore Bordo (R, G, B, A)
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=SOTTOTITOLO-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-#
SOTTOTITOLO = "MSX_SceneTitle_Plus" # Sottotitolo
ST_POS = 1 # Posizione: 0 => Sinistra; 1 => Centrato; 2 => Destra
ST_FONT = "Arial" # Nome del Font
ST_FONT_SIZE = 24 # Grandezza del Font
ST_FONT_COLOR = Color.new(0, 0, 0, 255) # Colore del Font (R, G, B, A)
ST_FONT_GR = false # Grassetto: true/false => si/no
ST_FONT_COR = false # Corsivo: true/false => si/no
ST_FONT_OMBRA = false # Ombra: true/false => si/no
ST_FONT_BORDO = true # Bordo: true/false => si/no
ST_FONT_BORDO_COLOR = Color.new(255, 255, 255, 128) # Colore Bordo (R, G, B, A)
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=CONFIGURAZIONE=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-#
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=FINE=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-#
def draw_game_title
@foreground_sprite.bitmap.font.size = T_FONT_SIZE
@foreground_sprite.bitmap.font.name = T_FONT
@foreground_sprite.bitmap.font.color = T_FONT_COLOR
@foreground_sprite.bitmap.font.bold = T_FONT_GR
@foreground_sprite.bitmap.font.italic = T_FONT_COR
@foreground_sprite.bitmap.font.outline = T_FONT_BORDO
@foreground_sprite.bitmap.font.out_color = T_FONT_BORDO_COLOR
@foreground_sprite.bitmap.font.shadow = T_FONT_OMBRA
rect = Rect.new(0, 0, Graphics.width, Graphics.height / 2)
@foreground_sprite.bitmap.draw_text(rect, $data_system.game_title, T_POS)
# Sottotitolo #
@foreground_sprite.bitmap.font.size = ST_FONT_SIZE
@foreground_sprite.bitmap.font.name = ST_FONT
@foreground_sprite.bitmap.font.color = ST_FONT_COLOR
@foreground_sprite.bitmap.font.bold = ST_FONT_GR
@foreground_sprite.bitmap.font.italic = ST_FONT_COR
@foreground_sprite.bitmap.font.outline = ST_FONT_BORDO
@foreground_sprite.bitmap.font.out_color = ST_FONT_BORDO_COLOR
@foreground_sprite.bitmap.font.shadow = ST_FONT_OMBRA
rect = Rect.new(0, 40, Graphics.width, Graphics.height / 2)
@foreground_sprite.bitmap.draw_text(rect, SOTTOTITOLO, ST_POS)
end
end
====
# ** MSX_Scene_Title_Plus
#==========================================================================
====
# Autore: Melosx
# Versione: 1.0 => 23/12/2011
# Data rilascio: 23/12/2011
#
#------------------------------------------------------------------------------
# Istruzioni:
# Copiare lo script sotto Materials e sopra Main.
# Cambiate i parametri chiesti nella sezione CONFIGURAZIONE.
#
#==========================================================================
====
class Scene_Title < Scene_Base
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=CONFIGURAZIONE=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-#
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=TITOLO=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-#
T_POS = 1 # Posizione: 0 => Sinistra; 1 => Centrato; 2 => Destra
T_FONT = "Comic Sans MS" # Nome del Font
T_FONT_SIZE = 48 # Grandezza del Font
T_FONT_COLOR = Color.new(255, 255, 255, 255) # Colore del Font (R, G, B, A)
T_FONT_GR = false # Grassetto: true/false => si/no
T_FONT_COR = false # Corsivo: true/false => si/no
T_FONT_OMBRA = false # Ombra: true/false => si/no
T_FONT_BORDO = true # Bordo: true/false => si/no
T_FONT_BORDO_COLOR = Color.new(0, 0, 0, 128) # Colore Bordo (R, G, B, A)
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=SOTTOTITOLO-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-#
SOTTOTITOLO = "MSX_SceneTitle_Plus" # Sottotitolo
ST_POS = 1 # Posizione: 0 => Sinistra; 1 => Centrato; 2 => Destra
ST_FONT = "Arial" # Nome del Font
ST_FONT_SIZE = 24 # Grandezza del Font
ST_FONT_COLOR = Color.new(0, 0, 0, 255) # Colore del Font (R, G, B, A)
ST_FONT_GR = false # Grassetto: true/false => si/no
ST_FONT_COR = false # Corsivo: true/false => si/no
ST_FONT_OMBRA = false # Ombra: true/false => si/no
ST_FONT_BORDO = true # Bordo: true/false => si/no
ST_FONT_BORDO_COLOR = Color.new(255, 255, 255, 128) # Colore Bordo (R, G, B, A)
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=CONFIGURAZIONE=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-#
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=FINE=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-#
def draw_game_title
@foreground_sprite.bitmap.font.size = T_FONT_SIZE
@foreground_sprite.bitmap.font.name = T_FONT
@foreground_sprite.bitmap.font.color = T_FONT_COLOR
@foreground_sprite.bitmap.font.bold = T_FONT_GR
@foreground_sprite.bitmap.font.italic = T_FONT_COR
@foreground_sprite.bitmap.font.outline = T_FONT_BORDO
@foreground_sprite.bitmap.font.out_color = T_FONT_BORDO_COLOR
@foreground_sprite.bitmap.font.shadow = T_FONT_OMBRA
rect = Rect.new(0, 0, Graphics.width, Graphics.height / 2)
@foreground_sprite.bitmap.draw_text(rect, $data_system.game_title, T_POS)
# Sottotitolo #
@foreground_sprite.bitmap.font.size = ST_FONT_SIZE
@foreground_sprite.bitmap.font.name = ST_FONT
@foreground_sprite.bitmap.font.color = ST_FONT_COLOR
@foreground_sprite.bitmap.font.bold = ST_FONT_GR
@foreground_sprite.bitmap.font.italic = ST_FONT_COR
@foreground_sprite.bitmap.font.outline = ST_FONT_BORDO
@foreground_sprite.bitmap.font.out_color = ST_FONT_BORDO_COLOR
@foreground_sprite.bitmap.font.shadow = ST_FONT_OMBRA
rect = Rect.new(0, 40, Graphics.width, Graphics.height / 2)
@foreground_sprite.bitmap.draw_text(rect, SOTTOTITOLO, ST_POS)
end
end
Screenshot
Screenshot
Terms and Conditions