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")
@[USER=203778]creditos[/USER] = 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
Código:
$scene = Scene_Creditos.new
PD: Si, esa es mi voz No se rian...
Última edición por un moderador: