![]() Global variables are stored in a special hash table that has a static pointer located in RGSS103J.dll's memory regionĬode: Select all /* id is set to a constant based on what it is (global, constant, etc.).The particular RGSS Ruby scripts I'm working with store switches and variables in arrays named within their respective classes.The Ruby scripts put important Ruby classes in global variables, including those used to store switches (read booleans) and variables (read integers).RPGMaker XP uses Ruby 1.8.1 (the source code for which is only available on mirrors).The Ruby scripts and serialized data files can be extracted and repackaged with a Ruby gem that I found (Some modification required).From what I can gather, in most cases everything that is not part of the standard game code as shipped with RPGMaker is an event or a RGSS data structure.RGSS is just the library, the Ruby scripts are the actual game code.RGSS was first introduced with RPGMaker XP and used in RPGMaker VX and VX Ace before being retired with the introduction of RPGMaker MV.Ruby uses hash tables with bins that are essentially linked lists of entries for just about everything that has an identifier. ![]() CAPS_LOCK denotes global constants in Ruby (someone tell me the difference). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |