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

Respuesta
 
Herramientas
  #1  
Antiguo 10-jul-2011, 04:37
Avatar de YoshiGM
EMD User
 
Fecha de Ingreso: marzo-2009
Ubicación: La isla Yoshi
Mensajes: 623
YoshiGM se está dando a conocer
Thumbs up [XP] Copyright

Aquí les traigo un script que les permite añadir sus derechos de autor en el menú del juego.

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


Responder Con Cita
  #2  
Antiguo 10-jul-2011, 05:54
Avatar de .Gale.
Silver User
 
Fecha de Ingreso: abril-2011
Ubicación: En donde el viento exista. - Gale Revan
Mensajes: 949
.Gale. se está dando a conocer
Predeterminado Re: [XP] Copyright

Buen aporte, pero aun asi puedo hacer guardar el PSD del Title y ponerle Copyright, pero aun asi a losq ue se les olvido guardarlo como PSD tambien, les serviria mucho, asi que al mas estilo de foro con puntos +1
Responder Con Cita
  #3  
Antiguo 10-jul-2011, 07:50
Avatar de Blues~
Advanced Member
 
Fecha de Ingreso: julio-2011
Mensajes: 472
Blues~ se está dando a conocer
Predeterminado Re: [XP] Copyright

Que bueno, yo lo tenia antes, pero lo habia borrado. Gracias =D
Responder Con Cita
  #4  
Antiguo 11-jul-2011, 00:48
Banneado
 
Fecha de Ingreso: abril-2011
Ubicación: Mafia
Mensajes: 1,028
~Doku se está dando a conocer
Predeterminado Re: [XP] Copyright

Buen aporte.

Responder Con Cita
Respuesta



Temas Similares para: [XP] Copyright
Tema Autor Foro Respuestas Último mensaje
copyright !!?? jorgeelcreador Creación de Juegos 6 03-sep-2010 21:23
Copyright petete_black Creación de Juegos 7 12-ago-2010 13:41
Aún en violación de copyright GuiaMania Guías 1 03-jun-2008 02:14
duda en el copyright de dvd bogik Informática 1 03-may-2007 05:41


La franja horaria es GMT +2. La hora actual es: 14:41.


Alojamiento web 1&1. 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