Emudesc en Facebook!RSS

Retroceder   Foros de Emudesc > Crea tus propios juegos > RPG Maker > Scripts

Respuesta
 
Herramientas
  #1  
Antiguo 15-jul-2011, 17:03
Avatar de Blues~
Advanced Member
 
Fecha de Ingreso: julio-2011
Mensajes: 469
Blues~ se está dando a conocer
Icon6 [VideoScript]Creditos en el juego[RMXP]




Hola amigos Makeros, ahi les dejo mi primer VideoScript. De ahora en adelante los publicaré así.

¿Que es un VideoScript?. Es el termino que yo cree (O eso creo) para los scripts que se muestran en video.

¿Por que asi?. Por que puedo enseñarles las instrucciones de una forma mas... "divertida" aparte de explicativa.

¿Por que hiciste eso si aqui colocas el script?: Por que el video es para (aparte de demostrar que funciona) explicarles su modo de uso, como hacer que funcione, su editabilidad. Resumidamente: Las instrucciones del script.

Bien, aqui el 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/013-Theme02") 
 @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, "Creditos") 
 self.contents.font.color = system_color 
 self.contents.font.size = 24 
 self.contents.draw_text(100, 220, 400, 32, "The Last Dragon Sword") 
 self.contents.font.color = normal_color 
 self.contents.draw_text(120, 240, 400, 32, "La ultima espada Dragon") 
 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, "ASDFMAN") 
 self.contents.draw_text(120, 320, 400, 32, "LOLMAN") 
 self.contents.draw_text(120, 340, 400, 32, "WTFMAN") 
 self.contents.draw_text(120, 360, 400, 32, "???") 
 self.contents.draw_text(120, 380, 400, 32, "ASAS")
 self.contents.draw_text(120, 400, 400, 32, "ASASA")
 self.contents.draw_text(120, 420, 400, 32, "ASASA")
 self.contents.draw_text(105, 440, 400, 32, "Gheuwfhueg") 
 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, "asas") 
 self.contents.draw_text(120, 520, 400, 32, "asasasasa") 
 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 ("fin") 
 setup_anima ("fin") 
 @fim = Sprite.new 
 @fim.bitmap = RPG::Cache.picture("fin") 
 @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
Codigo en "Llamar Script":

Código:
$scene = Scene_Creditos.new
¡Que disfruten el video, y el script tambien!.

PD: Si, esa es mi voz No se rian...


Responder Con Cita
  #2  
Antiguo 15-jul-2011, 17:08
Avatar de ~tormunds
Silver User
 
Fecha de Ingreso: diciembre-2009
Ubicación: DETRÁS DE TI, ¡IMBECIL!
Mensajes: 1,159
~tormunds da una buena impresión
3411-0426-9365
Predeterminado Re: [VideoScript]Creditos en el juego[RMXP]

Cita:
Empezado por DarkSamurai Ver Mensaje



Hola amigos Makeros, ahi les dejo mi primer VideoScript. De ahora en adelante los publicaré así.

¿Que es un VideoScript?. Es el termino que yo cree (O eso creo) para los scripts que se muestran en video.

¿Por que asi?. Por que puedo enseñarles las instrucciones de una forma mas... "divertida" aparte de explicativa.

¿Por que hiciste eso si aqui colocas el script?: Por que el video es para (aparte de demostrar que funciona) explicarles su modo de uso, como hacer que funcione, su editabilidad. Resumidamente: Las instrucciones del script.

Bien, aqui el 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/013-Theme02") 
 @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, "Creditos") 
 self.contents.font.color = system_color 
 self.contents.font.size = 24 
 self.contents.draw_text(100, 220, 400, 32, "The Last Dragon Sword") 
 self.contents.font.color = normal_color 
 self.contents.draw_text(120, 240, 400, 32, "La ultima espada Dragon") 
 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, "ASDFMAN") 
 self.contents.draw_text(120, 320, 400, 32, "LOLMAN") 
 self.contents.draw_text(120, 340, 400, 32, "WTFMAN") 
 self.contents.draw_text(120, 360, 400, 32, "???") 
 self.contents.draw_text(120, 380, 400, 32, "ASAS")
 self.contents.draw_text(120, 400, 400, 32, "ASASA")
 self.contents.draw_text(120, 420, 400, 32, "ASASA")
 self.contents.draw_text(105, 440, 400, 32, "Gheuwfhueg") 
 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, "asas") 
 self.contents.draw_text(120, 520, 400, 32, "asasasasa") 
 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 ("fin") 
 setup_anima ("fin") 
 @fim = Sprite.new 
 @fim.bitmap = RPG::Cache.picture("fin") 
 @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
Codigo en "Llamar Script":

Código:
$scene = Scene_Creditos.new
¡Que disfruten el video, y el script tambien!.

PD: Si, esa es mi voz No se rian...
Buen script, me servira, antes tenia que hacer niveles con un tilesets de creditos U_U

Gracias Buen aporte..

Tu avatar me da miedo (?)
Responder Con Cita
  #3  
Antiguo 16-jul-2011, 14:26
Avatar de Adex.
EMD Addict
 
Fecha de Ingreso: mayo-2011
Ubicación: Caracas, Venezuela
Mensajes: 1,543
Adex. se está dando a conocer
7258 2884 8573 1111
Predeterminado Re: [VideoScript]Creditos en el juego[RMXP]

Cita:
Empezado por DarkSamurai Ver Mensaje



Hola amigos Makeros, ahi les dejo mi primer VideoScript. De ahora en adelante los publicaré así.

¿Que es un VideoScript?. Es el termino que yo cree (O eso creo) para los scripts que se muestran en video.

¿Por que asi?. Por que puedo enseñarles las instrucciones de una forma mas... "divertida" aparte de explicativa.

¿Por que hiciste eso si aqui colocas el script?: Por que el video es para (aparte de demostrar que funciona) explicarles su modo de uso, como hacer que funcione, su editabilidad. Resumidamente: Las instrucciones del script.

Bien, aqui el 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/013-Theme02") 
 @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, "Creditos") 
 self.contents.font.color = system_color 
 self.contents.font.size = 24 
 self.contents.draw_text(100, 220, 400, 32, "The Last Dragon Sword") 
 self.contents.font.color = normal_color 
 self.contents.draw_text(120, 240, 400, 32, "La ultima espada Dragon") 
 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, "ASDFMAN") 
 self.contents.draw_text(120, 320, 400, 32, "LOLMAN") 
 self.contents.draw_text(120, 340, 400, 32, "WTFMAN") 
 self.contents.draw_text(120, 360, 400, 32, "???") 
 self.contents.draw_text(120, 380, 400, 32, "ASAS")
 self.contents.draw_text(120, 400, 400, 32, "ASASA")
 self.contents.draw_text(120, 420, 400, 32, "ASASA")
 self.contents.draw_text(105, 440, 400, 32, "Gheuwfhueg") 
 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, "asas") 
 self.contents.draw_text(120, 520, 400, 32, "asasasasa") 
 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 ("fin") 
 setup_anima ("fin") 
 @fim = Sprite.new 
 @fim.bitmap = RPG::Cache.picture("fin") 
 @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
Codigo en "Llamar Script":

Código:
$scene = Scene_Creditos.new
¡Que disfruten el video, y el script tambien!.

PD: Si, esa es mi voz No se rian...
EAOE

Eso se puede hacer sin script, con un simple engine, no hace falta el script, a menos que quieras facilitar las cosas e.e

BTW, buen aporte

Saludos~

PD: EAOE (?)
Responder Con Cita
  #4  
Antiguo 16-jul-2011, 15:39
Avatar de YoshiGM
EMD User
 
Fecha de Ingreso: marzo-2009
Ubicación: La isla Yoshi
Mensajes: 623
YoshiGM se está dando a conocer
Predeterminado Re: [VideoScript]Creditos en el juego[RMXP]

Gracias, me será de mucha utilidad para mi proyecto
Responder Con Cita
Respuesta



Temas Similares para: [VideoScript]Creditos en el juego[RMXP]
Tema Autor Foro Respuestas Último mensaje
Rmxp dbz DragonBallHDFan RPG Maker 1 12-sep-2009 22:23
quiero tener muchos creditos en el juego de habbo¿como se consiguen? 1wapetona95 Trucos 0 25-mar-2008 17:38


La franja horaria es GMT +1. La hora actual es: 13:31.


Powered by vBulletin®


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93