I'm going through an RGSS tutorial and am currently on a part about windows. Here's the code for the script that I copied:
which I am calling with
Unfortunately I am getting the following error when I call the script and I can't see why. Can anyone help?
NameError occured while running script.
uninitialized constant Interpreter::My_Window
Code:
class My_Window < Window_Base
def initialize
super(0, 0, 200, 200)
self.contents = Bitmap.new(width-32, height-32)
self.contents.font.name = "Arial"
self.contents.font.size = 24
self.contents.draw_text(0, 0, 200, 32, "Yay, some text!")
end
end
which I am calling with
Code:
My_Window.new
Unfortunately I am getting the following error when I call the script and I can't see why. Can anyone help?
NameError occured while running script.
uninitialized constant Interpreter::My_Window