Tenta esse
- Código:
class Hud < Window_Base
def initialize
super(-15,-30,1024,1024)
self.back_opacity = 180
self.contents = Bitmap.new(width - 32, height - 32)
self.windowskin = RPG::Cache.windowskin("Blank")
refresh
end
def refresh
hud3 = RPG::Cache.picture("hudd")
hud1 = hud3.width
hud2 = hud3.height
hud4 = Rect.new(0,0,hud1,hud2)
self.contents.blt(0,16,hud3,hud4)
end
end