#=====================================================================
# Module Piece to edit
#=====================================================================
module Hud_Config
# Picture = "Graphics/Pictures/test.jpg"
PICTURE = {
0 => "test0.jpg",
1 => "test1.jpg",
2 => "test3.jpg",
}
# Variable to use to determine the picture to display
VAR = 1
end
#=====================================================================
# Create the window
#=====================================================================
class Window_Hud < Window_Base
def initialize
super(0,0,250,75)
update_padding
update_tone
create_contents
refresh
end
def refresh
self.contents.clear
contents.clear
draw_image
def draw_image
bitmap = Cache.picture(Hud_config:

ICTURE[$game_variables[VAR]])
self.contents.blt(x,y,bitmap,Rect.new(0,0,bitmap.width,bitmap.height))
end
end
#=====================================================================
# Scene to keep the HUD on the map
#=====================================================================
class Scene_Map < Scene_Base
alias start_window start
alias term_window terminate
alias update_window update
def start
start_window
@winhud = Window_Hud.new
update
end
def terminate
@winhud.dispose
term_window
end
def update
update_window
@winhud.update
end
end