Make Private Servers
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Make Private Servers

Suporte para criação e administração de servidores criados apartir do RPG maker VX/XP ou outras engines.Divulgação de seu servidor ou jogo offline.
 
PortalInícioProcurarÚltimas imagensRegistarEntrar

 

 Créditos Finais

Ir para baixo 
AutorMensagem
Moura
Admin
Admin
Moura


Mensagens : 26
Reputação : 1
Data de inscrição : 23/07/2011
Idade : 27
Localização : Amapá

Créditos Finais Empty
MensagemAssunto: Créditos Finais   Créditos Finais Icon_minitimeQua Jul 27, 2011 2:53 am

Descrição:

Adiciona créditos ao projeto


Funções:

Com esse script é possível chamar créditos a qualquer momento do game sem problemas

Instruções:

Cole o script acima do main. Será necessário ter na pasta Graphics\Pictures do projeto as seguintes imagens: blackfundo, fim e greenfundo que serão responsáveis pelos efeitos da tela após os créditos. Para usar o script crie um evento e na opção chamar script digite o
seguinte: $scene = Scene_Creditos.new

Screens:

Créditos Finais Mid_424d286a7a85c05778881df882876da2_demo1

Créditos Finais Mid_95f0c358d46af429db3d7ddb6c4768cd_demo

Script:
Código:
#-----------------------------------------------------------
 #Script de créditos animado Versão 2.0
 #Criado por Doug
 #Editado por Ewertonsjn - JogosRPG
 #-----------------------------------------------------------
 class Scene_Creditos
 
 def main
 Audio.bgm_stop
 Audio.me_stop
 Audio.bgs_stop
 Audio.se_stop
 Audio.bgm_play("Audio/BGM/058-slow01")
 @creditos = Creditos.new
 @creditos.opacity = 0
 cw = @creditos.width
 ch = @creditos.height
 @creditos.z = 50
 @creditos.x = 160
 @creditos.y = -15
 Graphics.transition(30)
 loop do
 Graphics.update
 Input.update
 update
 if $scene != self
 break
 end
 end
 Graphics.freeze
 @creditos.dispose
 if $scene.is_a?(Scene_Title)
 Graphics.transition(30)
 Graphics.freeze
 end
 end
 #--------------------------------------------------------------------------
 def update
 @creditos.update
 end
 end
 #--------------------------------------------------------------------------
 class Creditos < Window_Base
 
 def initialize
 super(0,0,400,1400)
 self.contents = Bitmap.new(width - 35, height - 35)
 update
 end
 
 def update
 self.y -= 2
 if self.y < -700
 $scene = Scene_final.new
 end
 self.contents.clear
 self.contents.font.size = 50
 self.contents.font.color = crisis_color
 self.contents.draw_text(30, 160, 500, 60, "Nome do jogo")
 self.contents.font.color = system_color
 self.contents.font.size = 24
 self.contents.draw_text(100, 220, 400, 32, "Produzido")
 self.contents.font.color = normal_color
 self.contents.draw_text(120, 240, 400, 32, "Seu nome / Sua Equipe")
 self.contents.font.color = system_color
 self.contents.draw_text(110, 280, 400, 32, "Scripts")
 self.contents.font.color = normal_color
 self.contents.draw_text(120, 300, 400, 32, "1 pessoa")
 self.contents.draw_text(120, 320, 400, 32, "2 pessoa")
 self.contents.draw_text(120, 340, 400, 32, "3 pessoa")
 self.contents.draw_text(120, 360, 400, 32, "")
 self.contents.draw_text(120, 380, 400, 32, "")
 self.contents.font.color = system_color
 self.contents.draw_text(105, 420, 400, 32, "Gráficos")
 self.contents.font.color = normal_color
 self.contents.draw_text(120, 440, 400, 32, "1 pessoa")
 self.contents.draw_text(120, 460, 400, 32, "2 pessoa")
 self.contents.draw_text(120, 480, 400, 32, "3 pessoa")
 self.contents.draw_text(120, 500, 400, 32, "")
 self.contents.draw_text(120, 520, 400, 32, "")
 self.contents.font.color = system_color
 self.contents.draw_text(80, 560, 400, 32, "Agradecimentos")
 self.contents.font.color = normal_color
 self.contents.draw_text(120, 580, 400, 32, "Doug")
 self.contents.draw_text(120, 600, 400, 32, "1 pessoa")
 self.contents.draw_text(120, 620, 400, 32, "2 pessoa")
 self.contents.draw_text(120, 640, 400, 32, "3 pessoa")
 self.contents.draw_text(120, 660, 400, 32, "")
 self.contents.draw_text(120, 680, 400, 32, "")
 self.contents.draw_text(120, 700, 400, 32, "")
 end
 end
 #--------------------------------------------------------------------------
 class Scene_final
 def main
 setup_panorama ("greenfundo")
 setup_anima ("blackfundo")
 @fim = Sprite.new
 @fim.bitmap = RPG::Cache.picture("fim")
 @fim.z = 150
 Graphics.transition
 loop do
 Graphics.update
 Input.update
 update
 if $scene != self
 break
 end
 end
 Graphics.freeze
 @fim.dispose
 @panorama1.dispose
 @panorama2.dispose
 @anima1.dispose
 @anima2.dispose
 if $scene.is_a?(Scene_Title)
 Graphics.transition(50)
 Graphics.freeze
 end
 end
 #--------------------------------------------------------------------------
 def update
 move_panorama
 move_anima
 if Input.trigger?(Input::C)
 $game_system.se_play($data_system.decision_se)
 $scene = Scene_Title.new
 end
 end
 #--------------------------------------------------------------------------
 def setup_panorama(name)
 @panorama1 = Sprite.new
 @panorama1.bitmap = RPG::Cache.picture(name)
 cw = @panorama1.bitmap.width
 ch = @panorama1.bitmap.height
 @panorama1.z = 100
 @panorama1.x = 0
 @panorama1.y = 0
 
 @panorama2 = Sprite.new
 @panorama2.bitmap = RPG::Cache.picture(name)
 cw = @panorama2.bitmap.width
 ch = @panorama2.bitmap.height
 @panorama2.z = 100
 @panorama2.x = 0 - cw
 @panorama2.y = 0
 end
 #--------------------------------------------------------------------------
 def move_panorama
 if @panorama1.x == 640
 @panorama1.x = - 640
 end
 
 if @panorama2.x == 640
 @panorama2.x = - 640
 end
 @panorama1.x += 2
 @panorama2.x += 2
 end
 #--------------------------------------------------------------------------
 def setup_anima(name)
 @anima1 = Sprite.new
 @anima1.bitmap = RPG::Cache.picture(name)
 cw = @anima1.bitmap.width
 ch = @anima1.bitmap.height
 @anima1.z = 100
 @anima1.opacity = 170
 
 @anima2 = Sprite.new
 @anima2.bitmap = RPG::Cache.picture(name)
 cw = @anima2.bitmap.width
 ch = @anima2.bitmap.height
 @anima2.z = 100
 @anima2.ox = 0 - cw
 @anima2.oy = 0
 @anima2.opacity = 170
 end
 #--------------------------------------------------------------------------
 def move_anima
 if @anima1.ox == 640
 @anima1.ox = - 640
 end
 
 if @anima2.ox == 640
 @anima2.ox = - 640
 end
 @anima1.ox += 2
 @anima2.ox += 2
 end
 end 

Baixar!
Ir para o topo Ir para baixo
http://mpservers.directorioforuns.com
 
Créditos Finais
Ir para o topo 
Página 1 de 1
 Tópicos semelhantes
-
» Créditos Finais

Permissões neste sub-fórumNão podes responder a tópicos
Make Private Servers :: RPG maker XP :: Scripts-
Ir para: