(Script)Copyright
3 participantes
TallerGamer :: RECURSOS :: RPG MAKER XP
Página 1 de 1.
(Script)Copyright
Aquí les traigo un script que les permite añadir sus derechos de autor en el menú del juego.
Editan donde dice Aqui tus derechos
- Código:
#==============================================================================
# ¦ Copyright(ver 0.98)
# Creado por: ????
# Traducido por Kurogane
#==============================================================================
#==============================================================================
module PLAN_COPYRIGHT
COPYRIGHT_STR = "Aquí tus Derechos."
FONT_NAME = ["Arial"]
FONT_SIZE = 18
FONT_BOLD = true
FONT_ITALIC = true
STR_COLOR = Color.new(255, 255, 255)
DRAW_FRAME = true
FRAME_COLOR = Color.new(0, 0, 0)
DRAW_X = -3
DRAW_Y = -3
end
#==============================================================================
# ¦ Scene_Title
#==============================================================================
class Scene_Title
#--------------------------------------------------------------------------
alias plan_copyrcight_main main
def main
if $BTEST
battle_test
return
end
@copyrcight_sprite = Sprite.new
@copyrcight_sprite.z = 100
bitmap = Bitmap.new(32, 32)
bitmap.font.name = PLAN_COPYRIGHT::FONT_NAME
bitmap.font.size = PLAN_COPYRIGHT::FONT_SIZE
bitmap.font.bold = PLAN_COPYRIGHT::FONT_BOLD
rect = bitmap.text_size(PLAN_COPYRIGHT::COPYRIGHT_STR)
bitmap.dispose
bitmap = nil
@copyrcight_sprite.bitmap = Bitmap.new(rect.width, rect.height)
@copyrcight_sprite.bitmap.font.name = PLAN_COPYRIGHT::FONT_NAME
@copyrcight_sprite.bitmap.font.size = PLAN_COPYRIGHT::FONT_SIZE
@copyrcight_sprite.bitmap.font.bold = PLAN_COPYRIGHT::FONT_BOLD
@copyrcight_sprite.bitmap.font.italic = PLAN_COPYRIGHT::FONT_ITALIC
str = PLAN_COPYRIGHT::COPYRIGHT_STR
if PLAN_COPYRIGHT::DRAW_FRAME
@copyrcight_sprite.bitmap.font.color = PLAN_COPYRIGHT::FRAME_COLOR
if defined?(@copyrcight_sprite.bitmap.draw_text_plan_frame)
@copyrcight_sprite.bitmap.draw_text_plan_frame(0, 0, rect.width, rect.height, str)
@copyrcight_sprite.bitmap.draw_text_plan_frame(2, 0, rect.width, rect.height, str)
@copyrcight_sprite.bitmap.draw_text_plan_frame(0, 2, rect.width, rect.height, str)
@copyrcight_sprite.bitmap.draw_text_plan_frame(2, 2, rect.width, rect.height, str)
@copyrcight_sprite.bitmap.font.color = PLAN_COPYRIGHT::STR_COLOR
@copyrcight_sprite.bitmap.draw_text_plan_frame(1, 1, rect.width, rect.height, str)
else
@copyrcight_sprite.bitmap.draw_text(0, 0, rect.width, rect.height, str)
@copyrcight_sprite.bitmap.draw_text(2, 0, rect.width, rect.height, str)
@copyrcight_sprite.bitmap.draw_text(0, 2, rect.width, rect.height, str)
@copyrcight_sprite.bitmap.draw_text(2, 2, rect.width, rect.height, str)
@copyrcight_sprite.bitmap.font.color = PLAN_COPYRIGHT::STR_COLOR
@copyrcight_sprite.bitmap.draw_text(1, 1, rect.width, rect.height, str)
end
else
@copyrcight_sprite.bitmap.font.color = PLAN_COPYRIGHT::STR_COLOR
@copyrcight_sprite.bitmap.draw_text(rect, str)
end
@copyrcight_sprite.x = 640 - rect.width + PLAN_COPYRIGHT::DRAW_X
@copyrcight_sprite.y = 480 - rect.height + PLAN_COPYRIGHT::DRAW_Y
plan_copyrcight_main
@copyrcight_sprite.bitmap.dispose
@copyrcight_sprite.dispose
end
#--------------------------------------------------------------------------
alias plan_copyrcight_update update
def update
@copyrcight_sprite.update
plan_copyrcight_update
end
end
Editan donde dice Aqui tus derechos
MasterMoonNight- Moderador
- Mensajes : 82
Fecha de inscripción : 06/11/2011
Edad : 28
Localización : Argentina
Re: (Script)Copyright
Muy bueno, voy a usarlo en mi juego
Zixther- Fundador
- Mensajes : 69
Fecha de inscripción : 06/11/2011
Edad : 28
Localización : Bahia Blanca,Buenos Aires,Argentina
Re: (Script)Copyright
Ulikander escribió:Me gusta, pero deberías decir como instalarlo.
solo se pega sobre la seccion main del editor de scripts
Zixther- Fundador
- Mensajes : 69
Fecha de inscripción : 06/11/2011
Edad : 28
Localización : Bahia Blanca,Buenos Aires,Argentina
Temas similares
» (Script) Script de Alquimia
» [Script] H-MODE 7
» (Script) DVD System
» (Script) Dia-Noche segun hora de PC
» (Script)Atlas del Mundo
» [Script] H-MODE 7
» (Script) DVD System
» (Script) Dia-Noche segun hora de PC
» (Script)Atlas del Mundo
TallerGamer :: RECURSOS :: RPG MAKER XP
Página 1 de 1.
Permisos de este foro:
No puedes responder a temas en este foro.