Sign in to follow this  
Followers 0
killuaXsama

Leon Blade's Menu

21 posts in this topic

Leon Blade's Menu


Copiar esto y pegar encima de Main
CODE
#========================================
#¡ Game_Map
#--------------------------------------------------------------------------------
# Setting functions for the Map
#========================================
class Game_Map

def name
$map_infos[@map_id]
end
end

#========================================
#¡ Window_Title
#--------------------------------------------------------------------------------
# Setting functions for the Title
#========================================
class Scene_Title
$map_infos = load_data("Data/MapInfos.rxdata")
for key in $map_infos.keys
$map_infos[key] = $map_infos[key].name
end
end
#==============================================================================
# ¡ Window_Mapname
#------------------------------------------------------------------------------
# @Draws the Map name
#==============================================================================

class Window_Mapname < Window_Base
#--------------------------------------------------------------------------
# Set up
#--------------------------------------------------------------------------
def initialize
super(0, 0, 320, 56)
self.contents = Bitmap.new(width - 52, height - 32)
self.contents.font.name = $defaultfonttype
self.contents.font.size = $defaultfontsize
refresh
end
#--------------------------------------------------------------------------
# Draws info on screen
#--------------------------------------------------------------------------
def refresh
self.contents.clear
self.contents.font.color = normal_color
bitmap = RPG::Cache.icon("map")
self.contents.blt(5, 0, bitmap, Rect.new(0, 0, 24, 24))
new_name = $game_map.name.tr("/*","")
self.contents.draw_text(40, -5, 320, 32, new_name.to_s)
end
end

#==============================================================================
# ¡ Window_Crystal
#------------------------------------------------------------------------------
# This Window displays what you need to do next like a task or job or objective!
#==============================================================================

class Window_Crystal < Window_Base
#--------------------------------------------------------------------------
# Set up
#--------------------------------------------------------------------------
def initialize
super(0, 0, 320, 121)
self.contents = Bitmap.new(width - 52, height - 34)
self.contents.font.name = $defaultfonttype
self.contents.font.size = $defaultfontsize
refresh
end
#--------------------------------------------------------------------------
# Draws info on screen Crystal and the pics
#--------------------------------------------------------------------------
def refresh
self.contents.clear
self.contents.font.color = system_color  
self.contents.draw_text(4, -9, 320, 32, "Crystals:") # Text Discription like
self.contents.font.color = normal_color

if $game_switches[26] == true
draw_icon_graphic("fire crystal", 15, 45)
self.contents.draw_text(4, 35, 320, 32, "Fire")
else
draw_icon_graphic("049-Skill06", 15, 45)
end

if $game_switches[27] == true
draw_icon_graphic("ice crystal", 43, 45)
self.contents.draw_text(35, 35, 320, 32, "Ice")
else
draw_icon_graphic("049-Skill06", 43, 45)
end

if $game_switches[28] == true
draw_icon_graphic("bolt crystal", 75, 45)
self.contents.draw_text(63, 35, 320, 32, "Bolt")
else
draw_icon_graphic("049-Skill06", 75, 45)
end

if $game_switches[29] == true
draw_icon_graphic("water crystal", 110, 45)
self.contents.draw_text(94, 35, 320, 32, "Water")
else
draw_icon_graphic("049-Skill06", 110, 45)
end

if $game_switches[30] == true
draw_icon_graphic("air crystal", 145, 45)
self.contents.draw_text(136, 35, 320, 32, "Air")
else
draw_icon_graphic("049-Skill06", 145, 45)
end

if $game_switches[31] == true
draw_icon_graphic("earth crystal", 177, 45)
self.contents.draw_text(162, 35, 320, 32, "Earth")
else
draw_icon_graphic("049-Skill06", 177, 45)
end

if $game_switches[32] == true
draw_icon_graphic("holy crystal", 212, 45)
self.contents.draw_text(200, 35, 320, 32, "Light")
else
draw_icon_graphic("049-Skill06", 212, 45)
end

if $game_switches[33] == true
draw_icon_graphic("black crystal", 247, 45)
self.contents.draw_text(236, 35, 320, 32, "Dark")
else
draw_icon_graphic("049-Skill06", 247, 45)
end

end
end
#==============================================================================
# ¡ Window_Window_GameTitle
#------------------------------------------------------------------------------
#==============================================================================
class Window_GameTitle < Window_Base
#--------------------------------------------------------------------------
# Set up
#--------------------------------------------------------------------------
def initialize
super(0, 0, 160, 65)
self.contents = Bitmap.new(width - 52, height - 34)
self.contents.font.name = $defaultfonttype
self.contents.font.size = $defaultfontsize
refresh
end
#--------------------------------------------------------------------------
# Draws info on screen Crystal and the pics
#--------------------------------------------------------------------------
def refresh
self.contents.clear
self.contents.font.color = system_color
self.contents.draw_text(4, -9, 320, 32, "Blade")
self.contents.draw_text(45, 10, 320, 32, "Brothers")
end
end
#==============================================================================
# ¡ Window_Window_Extra
#------------------------------------------------------------------------------
#==============================================================================
class Window_Extras < Window_Base
#--------------------------------------------------------------------------
# Set up
#--------------------------------------------------------------------------
def initialize
super(0, 0, 160, 65)
self.contents = Bitmap.new(width - 52, height - 34)
self.contents.font.name = $defaultfonttype
self.contents.font.size = $defaultfontsize
refresh
end
#--------------------------------------------------------------------------
# Draws info on screen
#--------------------------------------------------------------------------
def refresh
self.contents.clear
self.contents.font.color = system_color
draw_icon_graphic("coin", 15, 45)
self.contents.draw_text(15, 45, 320, 32, "Gil")
end
end
#==============================================================================
# ¡ Window_Window_GameCompletion
#------------------------------------------------------------------------------
# This Game Completion script was made by LeonBlade.  Dont use without giving some sort of
# small credit twords me.
#
# This script works with your game making progress.  When you get a certain part in your game you
# use a variable of you choice to controll the percentage.  1-100 is the number you get.
# Change $game_variables[10] to your variable 10 = current variable.  And as an extra bonus I
# included an extra percentage feature for your sidequests missions.  This is using variable 9 so
# adjust as what you need, this is also set to 1-100 scale.  For both you can adjust the readings from
# 10 % to begining or Chapter 4, or whatever
#
# -Leon Blade-
#
#==============================================================================
class Window_GameCompletion < Window_Base
#--------------------------------------------------------------------------
# Set up
#--------------------------------------------------------------------------
def initialize
super(0, 0, 160, 104)
self.contents = Bitmap.new(width - 52, height - 34)
self.contents.font.name = $defaultfonttype
self.contents.font.size = $defaultfontsize
refresh
end
#--------------------------------------------------------------------------
# Draws percentage
#--------------------------------------------------------------------------
def refresh
self.contents.clear
end
end
#==============================================================================
class Window_GameCompletion2 < Window_Base
#--------------------------------------------------------------------------
# Set up
#--------------------------------------------------------------------------
def initialize
super(0, 0, 180, 104)
self.contents = Bitmap.new(width - 52, height - 34)
self.contents.font.name = $defaultfonttype
self.contents.font.size = $defaultfontsize
refresh
end
#--------------------------------------------------------------------------
# Draws percentage
#--------------------------------------------------------------------------
def refresh
self.contents.clear
game_percent = ("0%")
if $game_variables[10] == 1
game_percent = ("1%")
end
if $game_variables[10] == 2
game_percent = ("2%")
end
if $game_variables[10] == 3
game_percent = ("3%")
end
if $game_variables[10] == 4
game_percent = ("4%")
end
if $game_variables[10] == 5
game_percent = ("5%")
end
if $game_variables[10] == 6
game_percent = ("6%")
end
if $game_variables[10] == 7
game_percent = ("7%")
end
if $game_variables[10] == 8
game_percent = ("8%")
end
if $game_variables[10] == 9
game_percent = ("9%")
end
if $game_variables[10] == 10
game_percent = ("10%")
end
if $game_variables[10] == 11
game_percent = ("11%")
end
if $game_variables[10] == 12
game_percent = ("12%")
end
if $game_variables[10] == 13
game_percent = ("13%")
end
if $game_variables[10] == 15
game_percent = ("14%")
end
if $game_variables[10] == 15
game_percent = ("15%")
end
if $game_variables[10] == 16
game_percent = ("16%")
end
if $game_variables[10] == 17
game_percent = ("17%")
end
if $game_variables[10] == 18
game_percent = ("18%")
end
if $game_variables[10] == 19
game_percent = ("19%")
end
if $game_variables[10] == 20
game_percent = ("20%")
end
if $game_variables[10] == 21
game_percent = ("21%")
end
if $game_variables[10] == 22
game_percent = ("22%")
end
if $game_variables[10] == 23
game_percent = ("23%")
end
if $game_variables[10] == 24
game_percent = ("24%")
end
if $game_variables[10] == 25
game_percent = ("25%")
end
if $game_variables[10] == 26
game_percent = ("26%")
end
if $game_variables[10] == 27
game_percent = ("27%")
end
if $game_variables[10] == 28
game_percent = ("28%")
end
if $game_variables[10] == 29
game_percent = ("29%")
end
if $game_variables[10] == 30
game_percent = ("30%")
end
if $game_variables[10] == 31
game_percent = ("31%")
end
if $game_variables[10] == 32
game_percent = ("32%")
end
if $game_variables[10] == 33
game_percent = ("33%")
end
if $game_variables[10] == 34
game_percent = ("34%")
end
if $game_variables[10] == 35
game_percent = ("35%")
end
if $game_variables[10] == 36
game_percent = ("36%")
end
if $game_variables[10] == 37
game_percent = ("37%")
end
if $game_variables[10] == 38
game_percent = ("38%")
end
if $game_variables[10] == 39
game_percent = ("39%")
end
if $game_variables[10] == 40
game_percent = ("40%")
end
if $game_variables[10] == 41
game_percent = ("41%")
end
if $game_variables[10] == 42
game_percent = ("42%")
end
if $game_variables[10] == 43
game_percent = ("43%")
end
if $game_variables[10] == 44
game_percent = ("44%")
end
if $game_variables[10] == 45
game_percent = ("45%")
end
if $game_variables[10] == 46
game_percent = ("46%")
end
if $game_variables[10] == 47
game_percent = ("47%")
end
if $game_variables[10] == 48
game_percent = ("48%")
end
if $game_variables[10] == 49
game_percent = ("49%")
end
if $game_variables[10] == 50
game_percent = ("50%")
end
if $game_variables[10] == 51
game_percent = ("51%")
end
if $game_variables[10] == 52
game_percent = ("52%")
end
if $game_variables[10] == 53
game_percent = ("53%")
end
if $game_variables[10] == 54
game_percent = ("54%")
end
if $game_variables[10] == 55
game_percent = ("55%")
end
if $game_variables[10] == 56
game_percent = ("56%")
end
if $game_variables[10] == 57
game_percent = ("57%")
end
if $game_variables[10] == 58
game_percent = ("58%")
end
if $game_variables[10] == 59
game_percent = ("59%")
end
if $game_variables[10] == 60
game_percent = ("60%")
end
if $game_variables[10] == 61
game_percent = ("61%")
end
if $game_variables[10] == 62
game_percent = ("62%")
end
if $game_variables[10] == 63
game_percent = ("63%")
end
if $game_variables[10] == 64
game_percent = ("64%")
end
if $game_variables[10] == 65
game_percent = ("65%")
end
if $game_variables[10] == 66
game_percent = ("66%")
end
if $game_variables[10] == 67
game_percent = ("67%")
end
if $game_variables[10] == 68
game_percent = ("68%")
end
if $game_variables[10] == 69
game_percent = ("69%")
end
if $game_variables[10] == 70
game_percent = ("70%")
end
if $game_variables[10] == 71
game_percent = ("71%")
end
if $game_variables[10] == 72
game_percent = ("72%")
end
if $game_variables[10] == 73
game_percent = ("73%")
end
if $game_variables[10] == 75
game_percent = ("74%")
end
if $game_variables[10] == 75
game_percent = ("75%")
end
if $game_variables[10] == 76
game_percent = ("76%")
end
if $game_variables[10] == 77
game_percent = ("17%")
end
if $game_variables[10] == 78
game_percent = ("78%")
end
if $game_variables[10] == 79
game_percent = ("79%")
end
if $game_variables[10] == 80
game_percent = ("80%")
end
if $game_variables[10] == 81
game_percent = ("81%")
end
if $game_variables[10] == 82
game_percent = ("22%")
end
if $game_variables[10] == 83
game_percent = ("83%")
end
if $game_variables[10] == 84
game_percent = ("84%")
end
if $game_variables[10] == 85
game_percent = ("85%")
end
if $game_variables[10] == 86
game_percent = ("86%")
end
if $game_variables[10] == 87
game_percent = ("87%")
end
if $game_variables[10] == 88
game_percent = ("88%")
end
if $game_variables[10] == 89
game_percent = ("89%")
end
if $game_variables[10] == 90
game_percent = ("90%")
end
if $game_variables[10] == 91
game_percent = ("91%")
end
if $game_variables[10] == 92
game_percent = ("92%")
end
if $game_variables[10] == 93
game_percent = ("93%")
end
if $game_variables[10] == 94
game_percent = ("94%")
end
if $game_variables[10] == 95
game_percent = ("95%")
end
if $game_variables[10] == 96
game_percent = ("96%")
end
if $game_variables[10] == 97
game_percent = ("97%")
end
if $game_variables[10] == 98
game_percent = ("98%")
end
if $game_variables[10] == 99
game_percent = ("99%")
end
if $game_variables[10] == 100
game_percent = ("100%")
end
extras_percent = ("0%")
if $game_variables[9] == 1
extras_percent = ("1%")
end
if $game_variables[9] == 2
extras_percent = ("2%")
end
if $game_variables[9] == 3
extras_percent = ("3%")
end
if $game_variables[9] == 4
extras_percent = ("4%")
end
if $game_variables[9] == 5
extras_percent = ("5%")
end
if $game_variables[9] == 6
extras_percent = ("6%")
end
if $game_variables[9] == 7
extras_percent = ("7%")
end
if $game_variables[9] == 8
extras_percent = ("8%")
end
if $game_variables[9] == 9
extras_percent = ("9%")
end
if $game_variables[9] == 10
extras_percent = ("10%")
end
if $game_variables[9] == 11
extras_percent = ("11%")
end
if $game_variables[9] == 12
extras_percent = ("12%")
end
if $game_variables[9] == 13
extras_percent = ("13%")
end
if $game_variables[9] == 15
extras_percent = ("14%")
end
if $game_variables[9] == 15
extras_percent = ("15%")
end
if $game_variables[9] == 16
extras_percent = ("16%")
end
if $game_variables[9] == 17
extras_percent = ("17%")
end
if $game_variables[9] == 18
extras_percent = ("18%")
end
if $game_variables[9] == 19
extras_percent = ("19%")
end
if $game_variables[9] == 20
extras_percent = ("20%")
end
if $game_variables[9] == 21
extras_percent = ("21%")
end
if $game_variables[9] == 22
extras_percent = ("22%")
end
if $game_variables[9] == 23
extras_percent = ("23%")
end
if $game_variables[9] == 24
extras_percent = ("24%")
end
if $game_variables[9] == 25
extras_percent = ("25%")
end
if $game_variables[9] == 26
extras_percent = ("26%")
end
if $game_variables[9] == 27
extras_percent = ("27%")
end
if $game_variables[9] == 28
extras_percent = ("28%")
end
if $game_variables[9] == 29
extras_percent = ("29%")
end
if $game_variables[9] == 30
extras_percent = ("30%")
end
if $game_variables[9] == 31
extras_percent = ("31%")
end
if $game_variables[9] == 32
extras_percent = ("32%")
end
if $game_variables[9] == 33
extras_percent = ("33%")
end
if $game_variables[9] == 34
extras_percent = ("34%")
end
if $game_variables[9] == 35
extras_percent = ("35%")
end
if $game_variables[9] == 36
extras_percent = ("36%")
end
if $game_variables[9] == 37
extras_percent = ("37%")
end
if $game_variables[9] == 38
extras_percent = ("38%")
end
if $game_variables[9] == 39
extras_percent = ("39%")
end
if $game_variables[9] == 40
extras_percent = ("40%")
end
if $game_variables[9] == 41
extras_percent = ("41%")
end
if $game_variables[9] == 42
extras_percent = ("42%")
end
if $game_variables[9] == 43
extras_percent = ("43%")
end
if $game_variables[9] == 44
extras_percent = ("44%")
end
if $game_variables[9] == 45
extras_percent = ("45%")
end
if $game_variables[9] == 46
extras_percent = ("46%")
end
if $game_variables[9] == 47
extras_percent = ("47%")
end
if $game_variables[9] == 48
extras_percent = ("48%")
end
if $game_variables[9] == 49
extras_percent = ("49%")
end
if $game_variables[9] == 50
extras_percent = ("50%")
end
if $game_variables[9] == 51
extras_percent = ("51%")
end
if $game_variables[9] == 52
extras_percent = ("52%")
end
if $game_variables[9] == 53
extras_percent = ("53%")
end
if $game_variables[9] == 54
extras_percent = ("54%")
end
if $game_variables[9] == 55
extras_percent = ("55%")
end
if $game_variables[9] == 56
extras_percent = ("56%")
end
if $game_variables[9] == 57
extras_percent = ("57%")
end
if $game_variables[9] == 58
extras_percent = ("58%")
end
if $game_variables[9] == 59
extras_percent = ("59%")
end
if $game_variables[9] == 60
extras_percent = ("60%")
end
if $game_variables[9] == 61
extras_percent = ("61%")
end
if $game_variables[9] == 62
extras_percent = ("62%")
end
if $game_variables[9] == 63
extras_percent = ("63%")
end
if $game_variables[9] == 64
extras_percent = ("64%")
end
if $game_variables[9] == 65
extras_percent = ("65%")
end
if $game_variables[9] == 66
extras_percent = ("66%")
end
if $game_variables[9] == 67
extras_percent = ("67%")
end
if $game_variables[9] == 68
extras_percent = ("68%")
end
if $game_variables[9] == 69
extras_percent = ("69%")
end
if $game_variables[9] == 70
extras_percent = ("70%")
end
if $game_variables[9] == 71
extras_percent = ("71%")
end
if $game_variables[9] == 72
extras_percent = ("72%")
end
if $game_variables[9] == 73
extras_percent = ("73%")
end
if $game_variables[9] == 75
extras_percent = ("74%")
end
if $game_variables[9] == 75
extras_percent = ("75%")
end
if $game_variables[9] == 76
extras_percent = ("76%")
end
if $game_variables[9] == 77
extras_percent = ("17%")
end
if $game_variables[9] == 78
extras_percent = ("78%")
end
if $game_variables[9] == 79
extras_percent = ("79%")
end
if $game_variables[9] == 80
extras_percent = ("80%")
end
if $game_variables[9] == 81
extras_percent = ("81%")
end
if $game_variables[9] == 82
extras_percent = ("22%")
end
if $game_variables[9] == 83
extras_percent = ("83%")
end
if $game_variables[9] == 84
extras_percent = ("84%")
end
if $game_variables[9] == 85
extras_percent = ("85%")
end
if $game_variables[9] == 86
extras_percent = ("86%")
end
if $game_variables[9] == 87
extras_percent = ("87%")
end
if $game_variables[9] == 88
extras_percent = ("88%")
end
if $game_variables[9] == 89
extras_percent = ("89%")
end
if $game_variables[9] == 90
extras_percent = ("90%")
end
if $game_variables[9] == 91
extras_percent = ("91%")
end
if $game_variables[9] == 92
extras_percent = ("92%")
end
if $game_variables[9] == 93
extras_percent = ("93%")
end
if $game_variables[9] == 94
extras_percent = ("94%")
end
if $game_variables[9] == 95
extras_percent = ("95%")
end
if $game_variables[9] == 96
extras_percent = ("96%")
end
if $game_variables[9] == 97
extras_percent = ("97%")
end
if $game_variables[9] == 98
extras_percent = ("98%")
end
if $game_variables[9] == 99
extras_percent = ("99%")
end
if $game_variables[9] == 90
extras_percent = ("100%")
end
self.contents.font.color = system_color
self.contents.draw_text(15, -9, 320, 32, "Game Completion") # Text
if $game_switches[9] == true
self.contents.draw_text(15, 28, 320, 32, "Extras Completion") # Other Text
end
self.contents.font.color = normal_color
draw_gradient_bar(5, 20, $game_variables[10], 100, "025-SoftBlue01", width = 120, height = 8, hue = 0, back = "Back", back2 = "Back2")
if $game_switches[9] == true
draw_gradient_bar(5, 57, $game_variables[9], 100, "027-SoftReds01", width = 120, height = 8, hue = 0, back = "Back", back2 = "Back2")
self.contents.draw_text(60, 45, 320, 32, extras_percent) # Text Of The Game Percentage
end
self.contents.draw_text(60, 8, 320, 32, game_percent) # Text Of The Game Percentage
end
end
#==============================================================================
# ¡ Scene_Menu
#------------------------------------------------------------------------------
# @ƒƒjƒ…[‰æ–‚̏ˆ—‚ðs‚¤ƒNƒ‰ƒX‚Å‚·B
#==============================================================================
class Scene_Menu
#--------------------------------------------------------------------------
# œ ƒIƒuƒWƒFƒNƒg‰Šú‰»
#     menu_index : Æ’RÆ’}ƒ“ƒh‚̃J[Æ’\ƒ‹‰Šúˆ’u
#--------------------------------------------------------------------------
def initialize(menu_index = 0)
  @menu_index = menu_index    
end
#--------------------------------------------------------------------------
# œ ƒƒCƒ“ˆ—
#--------------------------------------------------------------------------
def main
  s1 = "       Items" # 0
  s2 = "       Skills" # 1
if $game_switches[8] == true
  s3 = "       Materia" # 2
else
  s3 = " "
end
  s4 = "       Equip" # 3
  s5 = "       Stats" # 4
if $game_switches[12] == true
  s6 = "       E-Mail" # 6
else
  s6 = " "
end
  s7 = "       Quit Game" # 7
  @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6, s7])
  @command_window.x = 480
  @command_window.y = 0
  @command_window.index = @menu_index
  # Æ’p[Æ’eÆ’Bl”‚ª 0 l‚̏ꍇ
  if $game_party.actors.size == 0
    # Checking To See If Anyone Is In Party and if not
    @command_window.disable_item(0)
    @command_window.disable_item(1)
    @command_window.disable_item(2)
    @command_window.disable_item(3)
  end
  #----------------------------------------------------
  @icon_window = Window_MenuIcons.new
  @icon_window.x = 480
  @icon_window.y = 0
  @icon_window.opacity = 0
  #----------------------------------------------------
  @status_window = Window_MenuStatus.new
  @status_window.x = 0
  @status_window.y = 0
  #----------------------------------------------------
  @map_window = Window_Mapname.new
  @map_window.x = 320
  @map_window.y = 424
  #----------------------------------------------------
  @crystal_window = Window_Crystal.new
  @crystal_window.x = 0
  @crystal_window.y = 359
  #----------------------------------------------------
  @sheild_window = Window_GameTitle.new
  @sheild_window.x = 320
  @sheild_window.y = 359
  #----------------------------------------------------
  @gold_window = Window_Gold.new
  @gold_window.x = 480
  @gold_window.y = 359
  #----------------------------------------------------
  @percent_window = Window_GameCompletion.new
  @percent_window.x = 480
  @percent_window.y = 255
  #----------------------------------------------------
  @percent2_window = Window_GameCompletion2.new
  @percent2_window.x = 480
  @percent2_window.y = 255
  @percent2_window.opacity = 0
  #----------------------------------------------------
  Graphics.transition
  # ƒƒCƒ“ƒ‹[Æ’v
  loop do
    # Æ’Q[ƒ€‰æ–‚ðXV
    Graphics.update
    # “ü—͏î•ñ‚ðXV
    Input.update
    # Æ’tƒŒ[ƒ€XV
    update
    # ‰æ–‚ªØ‚è‘Ö‚í‚Á‚½‚烋[Æ’v‚ð’†’f
    if $scene != self
      break
    end
  end
  # Æ’gƒ‰ƒ“ƒWÆ’Vƒ‡ƒ“€”õ
  Graphics.freeze
  # Æ’EÆ’Bƒ“ƒhÆ’E‚ð‰ð•ú
  @command_window.dispose
  @status_window.dispose
  @map_window.dispose
  @crystal_window.dispose
  @sheild_window.dispose
  @gold_window.dispose
  @icon_window.dispose
  @percent_window.dispose
  @percent2_window.dispose
end
#--------------------------------------------------------------------------
# œ ƒtƒŒ[ƒ€XV
#--------------------------------------------------------------------------
def update
  # Æ’EÆ’Bƒ“ƒhÆ’E‚ðXV
  @command_window.update
  @status_window.update
  @map_window.update
  @crystal_window.update
  @sheild_window.update
  @gold_window.update
  @icon_window.update
  @percent_window.update
  @percent2_window.update
  # Æ’RÆ’}ƒ“ƒhÆ’EÆ’Bƒ“ƒhÆ’E‚ªƒAÆ’NÆ’eÆ’BÆ’u‚̏ꍇ: update_command ‚ðŒÄ‚Ô
  if @command_window.active
    update_command
    return
  end
  # Æ’XÆ’e[Æ’^Æ’XÆ’EÆ’Bƒ“ƒhÆ’E‚ªƒAÆ’NÆ’eÆ’BÆ’u‚̏ꍇ: update_status ‚ðŒÄ‚Ô
  if @status_window.active
    update_status
    return
  end
end
#--------------------------------------------------------------------------
# œ ƒtƒŒ[ƒ€XV (ƒRƒ}ƒ“ƒhƒEƒBƒ“ƒhƒE‚ªƒAƒNƒeƒBƒu‚̏ꍇ)
#--------------------------------------------------------------------------
def update_command
  # B Æ’{Æ’^ƒ“‚ª‰Ÿ‚³‚ꂽê‡
  if Input.trigger?(Input::B)
    # Æ’Lƒƒƒ“ƒZƒ‹ SE ‚ð‰‰‘t
    $game_system.se_play($data_system.cancel_se)
    # Æ’}Æ’bÆ’v‰æ–‚ɐ؂è‘Ö‚¦
    $scene = Scene_Map.new
    return
  end
  if Input.trigger?(Input::C)
    if $game_party.actors.size == 0 and @command_window.index < 4
      # Æ’uÆ’U[ SE ‚ð‰‰‘t
      $game_system.se_play($data_system.buzzer_se)
      return
    end
    #---------------------------------------------------------
    case @command_window.index
    when 0  # Item
      $game_system.se_play($data_system.decision_se)
      $scene = Scene_Item.new
    when 1  # Skills
      $game_system.se_play($data_system.decision_se)
      @command_window.active = false
      @status_window.active = true
      @status_window.index = 0
    when 2  # Materia
      if $game_switches[8] == true
      $game_system.se_play($data_system.decision_se)
      @command_window.active = false
      @status_window.active = true
      @status_window.index = 0      
    else
    end      
    when 3  # Equip
      $game_system.se_play($data_system.decision_se)
      @command_window.active = false
      @status_window.active = true
      @status_window.index = 0
    when 4  #Status
      $game_system.se_play($data_system.decision_se)
      @command_window.active = false
      @status_window.active = true
      @status_window.index = 0
    when 5 # Mail
      if $game_switches[12] == true
      $game_system.se_play($data_system.decision_se)
      $scene = Scene_Mail.new
    else
    end      
    when 6 # Quit
      $game_system.se_play($data_system.decision_se)
      $scene = Scene_End.new
    return
  end
end
#--------------------------------------------------------------------------
# œ ƒtƒŒ[ƒ€XV (ƒXƒe[ƒ^ƒXƒEƒBƒ“ƒhƒE‚ªƒAƒNƒeƒBƒu‚̏ꍇ)
#--------------------------------------------------------------------------
def update_status
  # B Æ’{Æ’^ƒ“‚ª‰Ÿ‚³‚ꂽê‡
  if Input.trigger?(Input::B)
    # Æ’Lƒƒƒ“ƒZƒ‹ SE ‚ð‰‰‘t
    $game_system.se_play($data_system.cancel_se)
    # Æ’RÆ’}ƒ“ƒhÆ’EÆ’Bƒ“ƒhÆ’E‚ðƒAÆ’NÆ’eÆ’BÆ’u‚É‚·‚é
    @command_window.active = true
    @status_window.active = false
    @status_window.index = -1
    return
  end
  # C Æ’{Æ’^ƒ“‚ª‰Ÿ‚³‚ꂽê‡
  if Input.trigger?(Input::C)
    # Æ’RÆ’}ƒ“ƒhÆ’EÆ’Bƒ“ƒhÆ’E‚̃J[Æ’\ƒ‹ˆ’u‚Å•ªŠò
    case @command_window.index
    when 1 # Skill
      $game_system.se_play($data_system.decision_se)
      $scene = Scene_Skill.new(@status_window.index)
    when 2 # Materia
      $game_system.se_play($data_system.decision_se)
      $scene = Scene_MagicEquip.new(@status_window.index)
    when 3  # Equip
      $game_system.se_play($data_system.decision_se)
      $scene = Scene_Equip.new(@status_window.index)
    when 4  # Status
      $game_system.se_play($data_system.decision_se)
      $scene = Scene_Status.new(@status_window.index)
    end
    return
  end
end
end
end


Screen:
user posted image

Créditos OBLIGATORIOS a Leon Blade
0

Share this post


Link to post
Share on other sites
Hmm... veo el menú muy chulo ^^
Pero se hizo por default... de todos modos no desamerita ya que las bars estan muy chulas


Buen aporte icon13.gif
0

Share this post


Link to post
Share on other sites
esta bueno, pero los numeros en las bars no quedan bien en blanco, pero igual, si se ponen en negro se confunden con el fondo, y el menu lateral parece un poco vacío. igula, esta bueno icon13.gif
0

Share this post


Link to post
Share on other sites
Plop?? ahora que lo veo concuerdo con flariut... tal vez,si cambian el color de los numeros del HP Y MP... pues nose??

Aguante a las modificaciones xD.png
0

Share this post


Link to post
Share on other sites
Listo, las solución mas simple, añade esto dentro del script :

CODE
#-------------------------------------------------

class Bitmap

ShadowIndent = 1
ShadowColour = Color.new(0, 0, 0, 255)


unless @ja_ta_feito == 1
alias draw_text_plain draw_text
@ja_ta_feito = 1
end

def draw_text(arg1 = 0, arg2 = 0, arg3 = 0, arg4 = 0, arg5 = 0, arg6 = 0)
if arg1.is_a?(Rect)
x = arg1.x
y = arg1.y
width = arg1.width
height = arg1.height
string = arg2
align = arg3
else
x = arg1
y = arg2
width = arg3
height = arg4
string = arg5
align = arg6
end
colour = self.font.color.dup
self.font.color = ShadowColour
draw_text_plain(x + ShadowIndent, y + ShadowIndent, width, height, string, align)
draw_text_plain(x + 1, y + 1, width, height, string, align)
draw_text_plain(x + 1, y - 1, width, height, string, align)
draw_text_plain(x - 1, y - 1, width, height, string, align)
draw_text_plain(x - 1, y + 1, width, height, string, align)
self.font.color = colour
draw_text_plain(x, y, width, height, string, align)
end
end

#------------------------------------------------------------


PD- no lo probé si da error diganme tongue.gif
PD2- se supone que esto creará un borde negro alrededor de la letra.
0

Share this post


Link to post
Share on other sites
el menu se ve bueno sobre todo si en el juego tienes que encontrar una especie de cristales o algo asi icon13.gif no lo he probado pero dentro de un rato lo hago
0

Share this post


Link to post
Share on other sites
QUOTE(sand_gaara @ Feb 28 2007, 12:22 AM)
el menu se ve bueno sobre todo si en el juego tienes que encontrar una especie de cristales o algo asi  icon13.gif no lo he probado pero dentro de un rato lo hago
[right][snapback]32829[/snapback][/right]


Intenta probar eso que dije para que la letra este rodeada por un pixel negro, y me avisas si funciona icon13.gif
0

Share this post


Link to post
Share on other sites
man lamento decirte esto pero el script me da error en la linea 900 de tipo name error no c por que si tienes idea hechame una mano para probar lo de el borde del hp y pv happy.gif
0

Share this post


Link to post
Share on other sites
especificame la linea en que te da el error, por que no tengo el rpg maker a mano como para probarlo yo mismo, gracias icon13.gif
0

Share this post


Link to post
Share on other sites
ok aqui te pongo la linea y las que siguen.

CODE
900: @icon_window = Window_MenuIcons.new
901:@icon_window.x = 480
902: @icon_window.y = 0
 903:@icon_window.opacity = 0


espero haberlo hecho bien happy.gif
0

Share this post


Link to post
Share on other sites
Valla, es uno de los pocos menus k me gsuta, esta mu xulo icon13.gif
0

Share this post


Link to post
Share on other sites
Como que me estas persiguiendo sasuke siempre apareces debajo mio xD.png debe ser que leiste lo que puse en el post de cbs de kotfire xD.png

killuaXsama averiguaste cual es el error???

[\modo gaara on]como lo prometido es deuda tomaaaaa icon13.gif dedo por el orto xD.png[\modo gaara off]

Pd:sasuke compa es todo en broma si te molesto en un momento dimelo y le paro icon13.gif
0

Share this post


Link to post
Share on other sites
Perdon por poner esta conversacion absuarda aki cheesy.gif : No, no me molestas para nada, en todo caso deberia molestarte yo ati k voy escribiendo siempre debajo, xD esk soy u nadicto a opinar y escribir mensajes, entonces el mesaje k veo nuevo lo leo, y si puedo opinar algo lo ago xD

Ya estoy otra vez debajo de ti xD
0

Share this post


Link to post
Share on other sites
No está mal el menú, pero no me convence del todo.
Buen aporte. icon13.gif
0

Share this post


Link to post
Share on other sites
muy bueno,pero esos espacios blancos en las opciones del menu pa que son?
0

Share this post


Link to post
Share on other sites
alguna instruccion o icono? es qe no sé,a lo mejor hasen falta...
0

Share this post


Link to post
Share on other sites
Es verdad, k raro, para k es eso killuaXsama ?? auxilio.gif
0

Share this post


Link to post
Share on other sites
No sé, yo me pregunté lo mismo, pero no puedo revisar porque no tengo el maker hasta algun tiempo más, Ojalá alguien lo vea y postee para que sirve icon13.gif
0

Share this post


Link to post
Share on other sites
Uuuuu esta genial ese menú
(Aunke sigo pensando que es mejor hacer menús con engines JOJOJO)
Weno no lo e probado ni se si lo pruebe pero por las screens se ve genial
Buen aporte wink.gif Edited by HECTORRAU
0

Share this post


Link to post
Share on other sites
QUOTE(HECTORRAU @ Mar 4 2007, 01:07 AM)
Uuuuu esta genial ese menú
(Aunke sigo pensando que es mejor hacer menús con engines JOJOJO)
Weno no lo e probado ni se si lo pruebe pero por las screens se ve genial
Buen aporte wink.gif
[right][snapback]33936[/snapback][/right]


Obviamente es mucho mejor y mas fácil hacerlos con engines tongue.gif , pero creo que este script da un error, si puedes revisalo que no tengo el maker wink.gif
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0