Description: Calls the method of the same name in this class's parent class. For instance, if class B inherits from class A, then calling "super" in method "B#cat" will call "A#cat". If there is no such method in the parent class, then the parent's class's parent will be searched for a method of the same name. If the program searches all the way up the inheritance chain without finding a method of the same name, an error will be raised.
Code Sample:
def update
super
if $game_temp.battle_main_phase
self.contents_opacity -= 4 if self.contents_opacity > 191
else
self.contents_opacity += 4 if self.contents_opacity < 255
end
end
end
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.