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.

[Another Resolved!]aliasing same methods x2+ : Stack Level Too Deep, any remedy?

I've never been able to alias the same method more than once without a "Stack Level Too Deep" error, is there a proper way to alias a method twice in different classes?

For instance, if I have one script-set that adds to the $game_temp initialize method, then another script-set that also requires adding completely different data to the $game_temp initialize method as well, how would you successfully alias the method twice between the two different sets of scripts, so they both work without adding the data directly to the class itself?
 

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