I've been trying to teach myself RGSS3 by using the Ace help function as well as searching google for helpful tutorials.I found a small snippet I've been playing with;
CODE
class Window_Test < Window_Base
def initialize
super (0, 320, 640, 160)
self.contents = bitmap.new(width - 32, height - 32)
refresh
end
def refresh
self.contents.clear
end
end
def initialize
super (0, 320, 640, 160)
self.contents = bitmap.new(width - 32, height - 32)
refresh
end
def refresh
self.contents.clear
end
end
As I understand it, [super] is meant to get the method from it's parent I.E; Window_Base.
I keep getting this error;
"Script 'Window_Test' line 4: SyntaxError occurred.
unexpected',', expecting ')'
super (0, 320, 640, 160)"
I'm having difficulty understanding that line, isn't it along the lines of (x, y, width, height)?
