It's er... me again, the dumb noob at RGSS...
I just need to know a few quick things:
How do I put these in a window?
Actor 1 class
Actor 1 combat level
I have this window:
Thank you for your help,
~Wyatt
I just need to know a few quick things:
How do I put these in a window?
Actor 1 class
Actor 1 combat level
I have this window:
Code:
#-------------
# Info Window
#-------------
class Window_HudInfo < Window_Base
def initialize
super(522, 116, 107, 59)
self.contents = Bitmap.new(width - 32, height - 32)
self.windowskin = RPG::Cache.windowskin("ws2.png")
refresh
end
def refresh
self.contents.clear
self.contents.font.color = normal_color
self.contents.font.size = 12
clas = #Actor 1 class
name = $data_actors[1].name
lvl = #Actor 1 level
self.contents.draw_text(0, 0, 100, 14, "#{name}")
self.contents.draw_text(0, 14, 100, 14, "Level")
self.contents.draw_text(38, 14, 100, 14, "#{lvl}")
self.contents.draw_text(55, 14, 100, 14, "#{clas}")
end
end
Thank you for your help,
~Wyatt