Can someone please take this HUD:
which looks like this:
And move the Class name to the left, and add current Level and Exp on that same line.
I want it in the format: Class Name Lv: ## Exp: ###
I do want to learn, so if you have the time, could you show me what you did?
I'm pretty sure the first part is modifying the x and y of the class, and then adding the draw command for level and exp.
I just dont know HOW to do it.
Thanks in advance.
Much Obliged, Ninjitsu.
Btw: If you're good at messing with HUDs, and know about ZTBS, would you mind helping me on another HUD; the one in that battle system?
Code:
class Window_HUD < Window_Base
def initialize
super(640,480,176,128)
self.contents = Bitmap.new(140,96)
self.contents.font.size = 20
self.back_opacity = 160
refresh
end
def refresh
self.contents.clear
@actor = $game_party.actors[0]
self.contents.font.color = Color.new(0,0,0,255)
self.contents.draw_text(5,1,132,20,@actor.name.to_s,1)
self.contents.draw_text(5,21,132,20,@actor.class_name.to_s,1)
self.contents.font.color = system_color
self.contents.draw_text(4,20,132,20,@actor.class_name.to_s,1)
self.contents.font.color = normal_color
self.contents.draw_text(4,0,132,20,@actor.name.to_s,1)
draw_actor_hp(@actor,4,34)
draw_actor_sp(@actor,4,52)
self.contents.draw_text(4,76,132,20,$game_party.gold.to_s,2)
self.contents.draw_text(4,76,132,20,$data_system.words.gold + ":")
end
end
class Scene_Map
alias hud_main main
alias hud_update update
def main
@hud = Window_HUD.new
hud_main
@hud.dispose
end
def update
@hud.refresh
if $game_switches[10] and @hud.x > 468
@hud.x -= 11
@hud.y -= 8
end
if $game_switches[10] == false and @hud.x < 640
@hud.x += 11
@hud.y += 8
end
hud_update
end
end
http://img134.imageshack.us/img134/4666/hudforrequestoh7.png[/IMG]
And move the Class name to the left, and add current Level and Exp on that same line.
I want it in the format: Class Name Lv: ## Exp: ###
I do want to learn, so if you have the time, could you show me what you did?
I'm pretty sure the first part is modifying the x and y of the class, and then adding the draw command for level and exp.
I just dont know HOW to do it.
Thanks in advance.
Much Obliged, Ninjitsu.
Btw: If you're good at messing with HUDs, and know about ZTBS, would you mind helping me on another HUD; the one in that battle system?