Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> MSX_Scene_Title_Plus
Melosx
post Jan 1 2012, 07:05 AM
Post #1


Level 1
Group Icon

Group: Member
Posts: 9
Type: Scripter
RM Skill: Intermediate




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 sad.gif

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


Screenshot
Screenshot


Terms and Conditions
Go to the top of the page
 
+Quote Post
   

Posts in this topic
- Melosx   MSX_Scene_Title_Plus   Jan 1 2012, 07:05 AM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 25th May 2013 - 09:47 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker