Can anyone tell me why the following script isnt working?
class Window_Intro < Window
def initialize
super(0, 0, 200, 200)
self.opacity = 0
self.contents = Bitmap.new(width - 32, height - 32)
end
I've tried removing elements of it which I'm unsure of, like self.opacity, but it just never works. I keep getting the error message: "Script 'Window_Intro' line 3: ArgumentError occurred. wrong # of arguments (1 for 4)".
The line with super(0, 0, 200, 200) is copied straight out of a damn tutorial! I can't see how there is only 1 argument there instead of 4?
class Window_Intro < Window
def initialize
super(0, 0, 200, 200)
self.opacity = 0
self.contents = Bitmap.new(width - 32, height - 32)
end
I've tried removing elements of it which I'm unsure of, like self.opacity, but it just never works. I keep getting the error message: "Script 'Window_Intro' line 3: ArgumentError occurred. wrong # of arguments (1 for 4)".
The line with super(0, 0, 200, 200) is copied straight out of a damn tutorial! I can't see how there is only 1 argument there instead of 4?