RPGVX.net

  RPG-Maker VX => VX Skripte [Fertiger Code] => Thema gestartet von: Rafidelis am Januar 08, 2009, 18:51:50

Titel: ~* Rafidelis Title X *~
Beitrag von: Rafidelis am Januar 08, 2009, 18:51:50
Rafidelis Title X
By: Rafidelis

(http://img246.imageshack.us/img246/6123/marker4ca1.png) About the script:

(http://img246.imageshack.us/img246/6123/marker4ca1.png) Pictures Title with effects of movements and fade in/fadeout.

(http://img246.imageshack.us/img246/6123/marker4ca1.png) ScreenShots:

(http://i328.photobucket.com/albums/l332/Rafis_Maker/Rafidelis_Title_X_04.png)


(http://i328.photobucket.com/albums/l332/Rafis_Maker/Rafidelis_Title_X_01.png)

(http://i328.photobucket.com/albums/l332/Rafis_Maker/Rafidelis_Title_X_02.png)

(http://i328.photobucket.com/albums/l332/Rafis_Maker/Rafidelis_Title_X_03.png)

(http://i328.photobucket.com/albums/l332/Rafis_Maker/Rafidelis_Title_X_04.png)

Example using Other Pictures:

(http://i328.photobucket.com/albums/l332/Rafis_Maker/Rafidelis_Title_X_05.png)

(http://img246.imageshack.us/img246/6123/marker4ca1.png) Instructions:

Paste the script above the Main, then configure the module Rafidelis the name of the images that will be used, the opacity
of lights, speed of movement of the fog lights and so on.


(http://img246.imageshack.us/img246/6123/marker4ca1.png)Demo Download: (http://img178.imageshack.us/img178/8214/marker3la7.png)

Download Demo (Click Here) (http://www.4shared.com/file/78661109/f16b6640/Rafidelis_Title_X.html?dirPwdVerified=184905c)


(http://i.creativecommons.org/l/by-nc-sa/2.5/br/88x31.png) (http://"http://creativecommons.org/licenses/by-nc-sa/2.5/br/")

RGSS and RGSS2 Scripts and RGSS1/2 Tutorials by Rafidelis (http://"http://www.reinorpg.com") is licensed under a
Creative Commons Atribuição-Uso Não-Comercial-Compartilhamento pela mesma Licença 2.5 Brasil License. (http://"http://creativecommons.org/licenses/by-nc-sa/2.5/br/")
Permissions beyond the scope of this license may be available at ReinoRPG.com (http://"http://reinorpg.com/portal/index.php?option=com_content&task=view&id=68&Itemid=1")
[/font]
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Snake am Januar 08, 2009, 18:55:38
Hey, very nice Script!
Good work^^
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Rafidelis am Januar 08, 2009, 19:04:55
Thankz^^
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Kyoshiro am Januar 08, 2009, 19:39:30
It looks very nice but i can't open any of those links, neither the download nor the other to the sites.
It would be nice if you coult fix that.

Kyoshiro

EDIT: Ah, i got it. The Links don't work when you try to open them in a new tab.
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Rafidelis am Januar 08, 2009, 22:17:59
   
I fixed the link to download, thanks for the warning ^ ^

EDIT:

I made double post below, but unintentionally, if some der moderator delete the messages below.
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Stef-san am Januar 11, 2009, 10:56:55
yeeah. thx a lot :D I can use this script then in my game.
Looks rly  nice. I will dl the demo and see how it works.

thx for this script :D
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Sk!p am Januar 11, 2009, 11:18:05
Yep, i think This Script would be very nice to make
title Screens More interesting^^

Looks Very good, I think i'll load the Demo too and take
a Look ;)

Thx For Sharing.

Sk!p
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Dainreth am Januar 11, 2009, 11:24:09
Nicely done! This script is much interesting than some others of these sort because there are great options.
Good work, thanks for the wonderful script :)
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Rafidelis am Januar 11, 2009, 15:46:39
Thankz foer comments gyus =D
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Kyoshiro am Januar 11, 2009, 16:04:45
I have tested the demo and i love it. It's very easy to use but it has a very great result.
I think i'll use it for my next project to make it look more personaly.

Kyoshiro
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: shichi_aoi am Januar 11, 2009, 23:02:16
Great Script =)
I have one question - how can I change the duration time of the title fading in? I know you can change "time duration" of the logo, but whats with the title?

thanks!
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Rafidelis am Januar 12, 2009, 03:58:13
   
Um, yes I decreases the time of appearance of the options the title, try this script in the demo that you downloaded (which already contains the images)

#=====================================================
#~Rafidelis Title X
# By Rafidelis ( xD )
# Rafa_fidelis@hotmail.com
# www.ReinoRpg.com
# Data: 30/11/08 ( Falta pouco para 2009)
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class Scene_Title < Scene_Base
  include Rafidelis
  def start
    super
    load_database
    create_game_objects
    check_continue
    create_title_graphic
    play_title_music
    create_pic_commands
  end
  def post_start
   end 
  def pre_terminate
   end
 
  def create_pic_commands
#------------------------------------------
# ::.. Criando a Imagem de NewGame ..::
#------------------------------------------
    @newgame = Sprite.new
    @newgame.bitmap = Cache.picture(COMMAND_PIC_NAMES[0])
    @newgame.x = (Graphics.width - @newgame.width)/2
    @newgame.y = (Graphics.height - @newgame.height)/2
    @newgame.opacity = 0
#-------------------------------------------------
# ::.. Criando a Imagem de Continue (Load) ..::
#-------------------------------------------------
    @continue = Sprite.new
    @continue.bitmap = Cache.picture(COMMAND_PIC_NAMES[1])
    @continue.x = (Graphics.width - @continue.width)/2
    @continue.y = @newgame.y + @continue.height
    @continue.opacity = 0   
#-------------------------------------
# Criando a Imagem de Exit Game
#-------------------------------------
    @exit = Sprite.new
    @exit.bitmap = Cache.picture(COMMAND_PIC_NAMES[2])
    @exit.x = (Graphics.width - @exit.width)/2
    @exit.y = @continue.y + @exit.height
    @exit.opacity = 0
#-------------------------------------------------
# ::.. Criando a Imagem com o Nome do Jogo: ..::
#-------------------------------------------------
    @name_game = Sprite.new
    @name_game.bitmap = Cache.picture(NAME_GAME_PIC)
    @name_game.y = NAME_GAME_PIC_POSY
    @name_game.opacity = 0
#--------------------------------------------
# ::.. Criando as Imagens de Fog (Nevoa) ..::
#--------------------------------------------
    @fog = Plane.new
    @fog.bitmap = Cache.picture(TITLE_FOG_NAME)
    @fog.opacity = 10
    @fog.blend_type = TITLE_FOG_BLEND_TYPE
#-----------------------------
# ::.. Tom das Imagens ..::
#-----------------------------
    @continue.tone = Tone.new(0,0,0,255)
    @exit.tone = Tone.new(0,0,0,255)
#----------------------------------------------------
# ::.. Prioridade das Imagens e outras coisas ..::
#---------------------------------------------------       
    @newgame.z = @sprite.z + 2
    @continue.z = @newgame.z
    @exit.z = @newgame.z
    @name_game.z = @fog.z + 10
#----------------------------------------------------
# ::.. Criando o "Cursor" ..::
#====================================================
    @cursor = Sprite.new
    @cursor.bitmap = Cache.picture(CURSOR_PIC_NAME)
    @cursor.x = (Graphics.width - @cursor.width)/2 - 3
    @cursor.y = @newgame.y
    @cursor.opacity = 0
#===================================================
#---------------------------------------------------
    @lights = Plane.new
    @lights.bitmap = Cache.picture(LIGHT_PIC_NAME)
    @lights.blend_type = LOGO_LIGHT_PIC_BLEND_TYPE
    @lights.z = @name_game.z - 0.1
    @newgame.z = @lights.z + 0.1
    @continue.z = @newgame.z
    @exit.z = @newgame.z
    @lights.opacity = 0
    @lights.zoom_y = LIGHT_PIC_TITLE_ZOOM_Y
    @lights.zoom_x = LIGHT_PIC_TITLE_ZOOM_X
    @sprite.opacity = 0
    @index = 0
  end 
def update
  Graphics.update
  @sprite.opacity += 2 if @sprite.opacity < 255
 
  @lights.ox += LIGHT_PIC_HORIZONTAL_MOVIMENT_VELOCITY
  @lights.oy += LIGHT_PIC_VERTICAL_MOVIMENT_VELOCITY
 
  @fog.opacity += 1 if @fog.opacity < TITLE_FOG_OPACITY and @sprite.opacity >= 255
  @fog.ox += FOG_HORIZONTAL_MOVIMENT_SPEED
  @fog.oy += FOG_VERTICAL_MOVIMENT_SPEED
 
  @lights.opacity += 1 if @lights.opacity < LIGHT_PIC_OPACITY and @fog.opacity >= TITLE_FOG_OPACITY
 
  @name_game.opacity += 1 if  @name_game.opacity < 255 and @lights.opacity >= LIGHT_PIC_OPACITY/2
  @newgame.opacity += 1 if @newgame.opacity < 255 and @name_game.opacity >= 05
  @continue.opacity += 1 if @continue.opacity < 255 and @name_game.opacity >= 05
  @exit.opacity += 1 if @exit.opacity < 255 and @name_game.opacity >= 05
  @cursor.opacity += 1 if @cursor.opacity < 255 and @name_game.opacity >= 05 
 
  if MOVE_TITLE_PIC
    @sprite.ox += TITLE_PIC_HORIZONTAL_MOVIMENT_SPEED
    @sprite.oy += TITLE_PIC_VERTICAL_MOVIMENT_SPEED
  end
 
  if Input.trigger?(Input::DOWN) and @exit.opacity >= 20 and @index == 0
    Sound.play_cursor
    @index = 1
    @newgame.tone = Tone.new(0,0,0,255)
    @continue.tone = Tone.new(0,0,0)
    @exit.tone = Tone.new(0,0,0,255)
    @cursor.y = @continue.y
  elsif Input.trigger?(Input::DOWN) and @index == 1
    Sound.play_cursor
    @index = 2
    @newgame.tone = Tone.new(0,0,0,255)
    @continue.tone = Tone.new(0,0,0,255)
    @exit.tone = Tone.new(0,0,0)
    @cursor.y = @exit.y
  elsif Input.trigger?(Input::DOWN) and @index == 2
    Sound.play_cursor
    @index = 0
    @newgame.tone = Tone.new(0,0,0)
    @continue.tone = Tone.new(0,0,0,255)
    @exit.tone = Tone.new(0,0,0,255)
    @cursor.y = @newgame.y
  elsif Input.trigger?(Input::UP) and @index == 0
    Sound.play_cursor
    @index = 2
    @newgame.tone = Tone.new(0,0,0,255)
    @continue.tone = Tone.new(0,0,0,255)
    @exit.tone = Tone.new(0,0,0)
    @cursor.y = @exit.y
  elsif Input.trigger?(Input::UP) and @index == 2
    Sound.play_cursor
    @index = 1
    @newgame.tone = Tone.new(0,0,0,255)
    @continue.tone = Tone.new(0,0,0)
    @exit.tone = Tone.new(0,0,0,255)
    @cursor.y = @continue.y
  elsif Input.trigger?(Input::UP) and @index == 1
    Sound.play_cursor
    @index = 0
    @newgame.tone = Tone.new(0,0,0)
    @continue.tone = Tone.new(0,0,0,255)
    @exit.tone = Tone.new(0,0,0,255)
    @cursor.y = @newgame.y
  end
  if Input.trigger?(Input::C) and @exit.opacity >= 150
    case @index
    when 0    # Novo Jogo
      command_new_game
    when 1    # Continuar
      command_continue
    when 2    # Sair
      command_shutdown
    end
  end
end
def terminate
  super
  snapshot_for_background
  dispose_title_graphic
  dispose_command_pictures
end

def dispose_command_pictures
  @newgame.dispose
  @continue.dispose
  @exit.dispose
  @name_game.dispose
  @cursor.dispose
  @lights.dispose
end
def dispose_command_window
  @command_window.dispose
end
def open_command_window
end
def close_command_window
end

def create_title_graphic
  if MOVE_TITLE_PIC
    @sprite = Plane.new
    @sprite.bitmap = Cache.system("Title")
  else
    @sprite = Sprite.new
    @sprite.bitmap = Cache.system("Title")
    end
  end
end
#================================================================================
# FIM DO SCRIPT - Encontre mais Scripts de Rafidelis em www.ReinoRpg.com/forum
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Dustinthewind91 am Juni 10, 2009, 14:54:18
Nice Script, it looks good, thx ^^
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Roxasgirl16 am Oktober 05, 2009, 22:21:40
boah...O.O hamma geiles ding *sprachlos ist*
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Agito Ace am November 08, 2009, 11:19:14
yea thats cool, thx^^
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Franky am November 08, 2009, 11:31:20
Also bei mir gibt es da Probleme mit dem Start vom Spiel. Da passiert nämlich gar nichts.
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Valentine am Februar 25, 2012, 23:23:06
Weiß jemand wo man die 3 (Continue, ExitGame, NewGame) oder eher gesagt 4 (op_selected) Bilder weiter runter verschieben kann?

Hab das Script hier gefunden, weil ich einen anderen Startbildschirm wollte, aber die genannten Sachen sind zu hoch für meinen Title Screen.

Script:
#==============================================================================#
#              [RGSS2] Rafidelis Title X - 2009 New Version                    #
#------------------------------------------------------------------------------#
# $RafiScripts.by = Rafidelis(Rafis)                                           #
# $RafiScripts.version = 2.0                                                   #
# $RafiScripts.release_date = 30/11/08  (d/m/y)                                #
# $RafiScripts.update_date = 13/08/09  (d/m/y)                                 #
# $RafiScripts.email = Rafa_Fidelis@hotmail.com or Rafa_Fidelis@yahoo.com.br   #
# $RafiScripts.website = www.ReinoRPG.com (http://www.ReinoRPG.com)  or www.ReinoRPG.com/forum (http://www.ReinoRPG.com/forum)           #
#==============================================================================#
# [** $RafiScripts.versions **]  // Versões do Script/Script Versions          #
#------------------------------------------------------------------------------#
# 30/11/09 - Lançada Versão 1.0  - Mais de 1600 Downloads                      #
# 13/07/09 - Lançada Versão 2.0  - Reescrito para ser mai
#==============================================================================#
# [** $RafiScripts.desc **]  // Sobre o Script / About Script                  #
#------------------------------------------------------------------------------#
# Este script personaliza o Titulo,com varios efeitos.                         #
#==============================================================================#
# [** $RafiScripts.instr ] // Instruções / Instructions:                       #
#------------------------------------------------------------------------------#
# 1° Colar este script acima do Main,logo em seguida editar as Constantes no   #
# modulo Rafidelis::Title_X.                                                   #
# 2° Criar a Pasta 'Title' dentro da Pasta 'Graphics' onde deverão ser         #
# inseridos os Graficos do Titulo.                                             #
#==============================================================================#
# [** $RafiScripts.conf_start ] \\ Inicio das Configurações                    #
#------------------------------------------------------------------------------#

#==============================================================================#
#                         [** Module Rafidelis ]                               #
#[**Modulo necessario para rodar os Scripts criados por Rafidelis(RafiScripts)]#
#==============================================================================#
module Rafidelis
#==============================================================================#
# Rafidelis.add_script - Name : Name of Script - Version : Version of Script   #
#------------------------------------------------------------------------------#
  def self.add_script(name,version)
    $RafiScripts = [] if $RafiScripts.nil?
    $RafiScripts.push("Name : #{name} - Version: #{version}")
  end
#==============================================================================#
# Rafidelis.script_exist? - Name : Name of Script - Version : Version of Script#
#------------------------------------------------------------------------------#
  def self.script_exist?(name,version)
    $RafiScripts = [] if $RafiScripts.nil?
    return $RafiScripts.include?("Name : #{name} - Version: #{version}")
  end
#==============================================================================#
# Rafidelis.scripts - Return all script create by Rafidelis(RafiScripts)       #
#------------------------------------------------------------------------------#
  def self.scripts
    print $RafiScripts
  end
#==============================================================================#
# Rafidelis.create_txt - Create a .txt with all Rafidelis(RafiScripts) scripts #
#------------------------------------------------------------------------------#
  def self.create_txt(folder="")
    file = File.open("RafideliScripts.txt","wb")
    for i in 0...$RafiScripts.size
      file.write("#{$RafiScripts}\r\n")
    end
  end
#==============================================================================#
# Rafidelis::Title_X - Modulo de Opções do Titulo                              #
#------------------------------------------------------------------------------#
  module Title_X
    # Adicionando o Script ao Sistema.Não Modifique.
    Rafidelis.add_script("Rafidelis Title X","2.0")
    # Script Adicionado
  #==============================================================================|
  # Abaixo o nome das Imagens que irão servir como "New Game" "Continue" e "Exit"|
  #=-----------------------------------------------------------------------------|
    COMMAND_PIC_NAMES =
    ["NewGame",                      # Nome da Imagem usada como a opção novojogo
    "Continue",                      # Nome da Imagem usada como a opção continuar
    "ExitGame"]                      # Nome da Imagem usada como a opção Sair
    CURSOR_PIC_NAME = "op_selected"  # Nome da imagem usada como Cursor
    MOVE_TITLE_PIC = false           # true = mover false = não mover
    TITLE_PIC_HORIZONTAL_MOVIMENT_SPEED = 2   # Velocidade do movimento horizontal da img do titulo
    TITLE_PIC_VERTICAL_MOVIMENT_SPEED = 0     #  Velocidade do movimento vertical da img do titulo
  #==============================================================================|
  # Nome da Imagem com o nome do jogo,caso não queira usar deixe o nome em ""    |
  #------------------------------------------------------------------------------|
    NAME_GAME_PIC = "game_name"
    NAME_GAME_PIC_POSY = 20      # Pos Y da imagem
  #=====================================|
  # Configurações :: Fog                |
  #-------------------------------------|
    TITLE_FOG_NAME = "fog"   # Nome da Fog usada no Title [ Deve estar na Pasta Picture]
    TITLE_FOG_BLEND_TYPE = 2 # Tipo do Blend da Fog do Title (0: normal, 1: adição, 2: subtração).
    TITLE_FOG_OPACITY = 25   # Opacidade Final da Fog ( 0 ~~ 255)
    FOG_HORIZONTAL_MOVIMENT_SPEED = 2     # velocidade do Movimento Horizontal da fog
    FOG_VERTICAL_MOVIMENT_SPEED = 0       # Velocidade do Movimento Vertical da Fog
  #=================================================|
  # Configurações :: Imagem de Luz :: Lights        |
  #-------------------------------------------------|
    LIGHT_PIC_NAME = "lights"                  #Nome da imagem de luz
    TITLE_LIGHT_PIC_BLEND_TYPE = 1             # """"""""""""""""""""""""""" no title
    LIGHT_PIC_OPACITY = 235                    # Opacidade final da imagem de luz
    LIGHT_PIC_HORIZONTAL_MOVIMENT_VELOCITY = 1 # Velocidade do Movimento Horizontal da Luz
    LIGHT_PIC_VERTICAL_MOVIMENT_VELOCITY = 1   # Velocidade do Movimento vertical da Luz
    LIGHT_PIC_TITLE_ZOOM_X = 1.5               # Zoom x da img de luz no Title
    LIGHT_PIC_TITLE_ZOOM_Y = 1.5               # Zoom y da img de luz no Title
  end
end
#==============================================================================#
# [** $RafiScripts.conf_end ] \\ Fim das Configurações                         #
#------------------------------------------------------------------------------#
# Verificando se o Script esta incluso no Sistema
if Rafidelis.script_exist?("Rafidelis Title X","2.0")
#==============================================================================
# Cache
#------------------------------------------------------------------------------
# Nesta classe vários gráficos são carregados e guardados como Bitmaps. Para
# acelerar o processo e preservar a memória, os Bitmaps são guardados em cache
# para uso futuro.
#==============================================================================
module Cache
  def self.title(filename)
    load_bitmap("Graphics/Title/", filename)
  end
end
#==============================================================================
# Scene_Title
#------------------------------------------------------------------------------
# Classe das operações na tela de título.
#==============================================================================
class Scene_Title < Scene_Base
  include Rafidelis::Title_X
  alias rafidelis_title_x_start start
  alias rafidelis_title_x_terminate terminate
  #--------------------------------------------------------------------------
  # Inicialização do processo
  #--------------------------------------------------------------------------
  def start
    rafidelis_title_x_start
    @command_window.opacity = @command_window.contents_opacity = 0
    @sprite.opacity = 0
    create_images
  end
  #--------------------------------------------------------------------------
  # Criação das Imagens do Titulo
  #--------------------------------------------------------------------------
  def create_images
    @sprites = []  # Imagens do Titulo
    images_name =  # Nome das Imagens
    [COMMAND_PIC_NAMES[0],COMMAND_PIC_NAMES[1],COMMAND_PIC_NAMES[2],
    CURSOR_PIC_NAME,NAME_GAME_PIC,TITLE_FOG_NAME,LIGHT_PIC_NAME]
    for i in 0...images_name.size
      if i <= 2  # Novo Jogo/Continuar/Sair
        @sprites = Sprite.new
        @sprites.bitmap = Cache.title(images_name)
        @sprites.x = (Graphics.width - @sprites.width)/2
        @sprites.y = i * @sprites.height + (Graphics.height - @sprites.height)/2
        @sprites.opacity = 0
        @sprites.z = @sprite.z + 10 * i
        @sprites.tone = Tone.new(0,0,0,255)
      elsif i == 3 # Cursor
        @sprites = Sprite.new
        @sprites.bitmap = Cache.title(images_name)
        @sprites.opacity = 0
        @sprites.x = (Graphics.width - @sprites.width)/2
        @sprites.y = @sprites[0].y
        @sprites.z = 20
      elsif i == 4 # Nome do Jogo
        @sprites = Sprite.new
        @sprites.bitmap = Cache.title(images_name)
        @sprites.y = NAME_GAME_PIC_POSY
        @sprites.opacity = 0
        @sprites.z = @sprite.z + 10 * i
      elsif i == 5 # Fog
        @sprites = Plane.new
        @sprites.bitmap = Cache.title(images_name)
        @sprites.opacity = 5
        @sprites.blend_type = TITLE_FOG_BLEND_TYPE
        @sprites.z = @sprite.z + 10 * i
      elsif i == 6 # Luz
        @sprites = Plane.new
        @sprites.bitmap = Cache.title(images_name)
        @sprites.blend_type = TITLE_LIGHT_PIC_BLEND_TYPE
        @sprites.opacity = 0
        @sprites.zoom_y = LIGHT_PIC_TITLE_ZOOM_Y
        @sprites.zoom_x = LIGHT_PIC_TITLE_ZOOM_X
        @sprites.blend_type = TITLE_LIGHT_PIC_BLEND_TYPE
        @sprites.z = @sprites[4].z - 10
      end
    end
  end
  #--------------------------------------------------------------------------
  # Atualização Do Processo
  #--------------------------------------------------------------------------
  def update
    update_images_effects
    if @sprites[2].opacity >= 150
      @command_window.update
      if Input.trigger?(Input::C)
        case @command_window.index
        when 0    # Novo Jogo
          command_new_game
        when 1    # Continuar
          command_continue
        when 2    # Sair
          command_shutdown
        end
      end
    end
  end
  #--------------------------------------------------------------------------
  # Atualização dos efeitos da imagem de Luz
  #--------------------------------------------------------------------------
  def update_light
    @sprites[6].ox += LIGHT_PIC_HORIZONTAL_MOVIMENT_VELOCITY
    @sprites[6].oy += LIGHT_PIC_VERTICAL_MOVIMENT_VELOCITY
    @sprites[6].opacity += 2 if @sprites[6].opacity < LIGHT_PIC_OPACITY and @sprites[5].opacity >= TITLE_FOG_OPACITY
  end
  #--------------------------------------------------------------------------
  # Atualização dos efeitos da imagem de Fog
  #--------------------------------------------------------------------------
  def update_fog
    @sprites[5].opacity += 1 if @sprites[5].opacity < TITLE_FOG_OPACITY and @sprite.opacity >= 200
    @sprites[5].ox += FOG_HORIZONTAL_MOVIMENT_SPEED
    @sprites[5].oy += FOG_VERTICAL_MOVIMENT_SPEED
  end
  #--------------------------------------------------------------------------
  # Atualização dos efeitos das imagens de comandos
  #--------------------------------------------------------------------------
  def update_commands
    for i in 0..3
      @sprites.opacity += 2 if @sprites.opacity < 255 and @sprites[4].opacity >= 105
    end
    set_tone(@command_window.index)
  end
  #--------------------------------------------------------------------------
  # Atualização dos efeitos da imagem de Titulo(Fundo)
  #--------------------------------------------------------------------------
  def update_title_sprite
    @sprite.opacity += 2 if @sprite.opacity < 255
    @sprites[4].opacity += 1 if @sprites[4].opacity < 255 and @sprites[6].opacity >= LIGHT_PIC_OPACITY
    if MOVE_TITLE_PIC
      @sprite.ox += TITLE_PIC_HORIZONTAL_MOVIMENT_SPEED
      @sprite.oy += TITLE_PIC_VERTICAL_MOVIMENT_SPEED
    end
  end
  #--------------------------------------------------------------------------
  # Atualização dos efeitos das imagens do Titulo
  #--------------------------------------------------------------------------
  def update_images_effects
    update_fog
    update_light
    update_commands
    update_title_sprite
  end
  #--------------------------------------------------------------------------
  # Atualizar tom das Imagens do Titulo
  #--------------------------------------------------------------------------
  def set_tone(index)
    for i in 0..2
      @sprites.tone = Tone.new(0,0,0,255)
    end
    @sprites[index].tone = Tone.new(0,0,0)
    @sprites[3].y = @sprites[index].y
  end
  #--------------------------------------------------------------------------
  # Finalização do Processo
  #--------------------------------------------------------------------------
  def terminate
    rafidelis_title_x_terminate
    dispose_command_pictures
  end
  #--------------------------------------------------------------------------
  # Finalização das Imagens do Titulo
  #--------------------------------------------------------------------------
  def dispose_command_pictures
    for i in 0...@sprites.size
      @sprites.bitmap.dispose
      @sprites.dispose
    end
  end
  #--------------------------------------------------------------------------
  # Criação do gráfico de título
  #--------------------------------------------------------------------------
  def create_title_graphic
    if MOVE_TITLE_PIC
        @sprite = Plane.new
        @sprite.bitmap = Cache.title("Title")
      else
        @sprite = Sprite.new
        @sprite.bitmap = Cache.title("Title")
      end
    end
  end
 # Finalização da Verificação do Script no sistema
end
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Domin0e am Februar 25, 2012, 23:52:07
Ich kenne mich zwar jetzt nicht so direkt mit RGSS aus, aber meine bescheidenen Programmierkenntnisse lassen erahnen, dass folgende Stelle dafür zuständig sein dürfte:

        @sprites = Sprite.new
        @sprites.bitmap = Cache.title(images_name)
        @sprites.x = (Graphics.width - @sprites.width)/2
        @sprites.y = i * @sprites.height + (Graphics.height - @sprites.height)/2
        @sprites.opacity = 0
        @sprites.z = @sprite.z + 10 * i
        @sprites.tone = Tone.new(0,0,0,255)

Joa.. Code-Tags sind bei Skripten übrigens sehr viel praktischer als Spoiler. ;)
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: FlipelyFlip am Februar 26, 2012, 11:04:15
als kleine hilfestellung für dich:
die zeilen die dir dominoe gepostet hat sind 152 bis 158 im scripteditor (:

lg flip
Titel: Re: ~* Rafidelis Title X *~
Beitrag von: Valentine am Februar 26, 2012, 11:53:36
Guten Morgen. Danke euch zwei =)
SimplePortal 2.3.3 © 2008-2010, SimplePortal