Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Help understanding a script

http://www.kobrasrealm.net/forum/index. ... topic=1014

Here is the link.  I'm trying to understand it, kinda getting tired of Window tutorials. =D

I have a few questions though:

In the Game_Party_Module, the author uses the array 'actors', which is never defined thus leads me to assume it's a local variable.  Since 'actors' is never defined, how can it even know it's the write type?  How does that statement make any sense.

Also, later on he redefines the 'passable?' method and calls its super method, which is found in Game_Map.  Then he includes passable in Game_Event (a subclass of game characters).

How does the new 'passable?' make sense of the super(x,y,d) call since it does not see it?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top