#============================================
# Window_Map
# 제작자: 키스코
# 설명: 넷플레이 HUD
#============================================
class Window_Map < Window_Base
def initialize
super(0, 0, 225, 120)
$game_actors[1].name = $username # 아이디표시
self.contents = Bitmap.new(width - 32, height - 32)
self.opacity = 255
refresh
end
def refresh
self.contents.clear
self.contents.font.color = normal_color
self.contents.font.size = 16 #사이즈
self.contents.draw_text(36, 6, 640, 32, $game_actors[1].name.to_s)
self.contents.draw_text(58, 61, 640, 32, $game_party.gold.to_s)
statc = RPG::Cache.icon("acce_005")
src_rect = Rect.new(0, 0, statc.width, statc.height)
self.contents.blt(28, 64, statc, src_rect)
chatc = RPG::Cache.icon("033-Item02")
src_rect = Rect.new(0, 0, chatc.width, chatc.height)
self.contents.blt(10, 57, chatc, src_rect) if $game_temp.chat_refresh == true
draw_normal_barz(36, 33, "horizontal", 150, 10, $game_actors[1].hp.to_i, $game_actors[1].maxhp.to_i, Color.new (225, 0, 0, 225))
draw_normal_barz(36, 49, "horizontal", 150, 10, $game_actors[1].sp.to_i, $game_actors[1].maxsp.to_i, Color.new (0,0,255,255))
draw_actor_graphic($game_actors[1], 15, 63)
draw_actor_level($game_actors[1], 128, 6) #주인공의 레벨
end
def update
refresh
end
end