well i'm working on my hud for my game and the script is working but it doesn't show the image of the hud!?!?!heres the script for my hud
can someone fix it so it shows because to me nothing looks wrong
Code:
class Scene_Map
alias hud_main main
alias hud_update update
def main
@status = Window_Hud.new
@hud = Sprite.new
@hud.bitmap = RPG::Cache.picture("Hud")
hud_main
end
def update
@status.update
@hud.update
if $game_switches[3] == true
@status.visible = true
@hud.visible = true
else
@status.visible = false
@hud.visible = false
end
hud_update
end
end