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.

Jumping from NWScript to RGSS

Hey all, I looked at the tutorials in the stickies and while they were helpful they don't really answer some of the questions I have.

All of my scripting skills were learned in the NWScript language (coding language for Neverwinter Nights) which I think is a form of C++ or something, not really sure.

Anyway, I'm having trouble jumping over to RGSS. I can't seem to find detailed explanations on how the functions work or even what's available to me. In NWScript you had a handy sidebar that gave you a complete list of all of the functions available to you but here there doesn't seem to be any of that.

I checked out the help file too but this isn't helping me much >.> Any advice you guys can give? Thanks a ton!
 

Anonymous

Guest

RGSS is not a modified version of Ruby.

The script that RPG Maker XP uses is Ruby. Documentation can be found online at ruby-doc.org, and various other places.

RGSS is the library of code that RPG Maker XP uses by default, both to control the Windows GUI aspect of Game.exe, and to control the actual workings of the game. About 75% of the code is visible and editable in the RPG Maker XP Script Editor, whereas some of the code that controls some of the more vital functions (such as processing graphics and controlling the Game.exe GUI) is hidden for the protection of the end user.

If you want to learn Ruby, the Pragmatic Programmers Guide (available online) is a good start, although it does go over some of the very basic programming fundamentals, it does so with Ruby in mind so it's not only a nice refresher but it's a good introduction. It also features a list of all the built-in classes and methods for Ruby that are available in any Ruby coding environment (such as the Integer, String, Array, etc. classes.)

The most important thing to remember about Ruby is that absolutely everything is an Object. Every literal integer, every string, variable, etc. Everything is an object. As a result, you can easily define variables and change variable types on the fly without any messing about with pre-initialization and such.
 
No, RGSS is a Variance of Ruby (Ruby Game Scripting System).':|

RPG MAKER XP is equipped with the Ruby Game Scripting System (RGSS), based on the Ruby language and customized especially for this program.

By Enterbrain.

RGSS is a famous language, used for great part of the programmers of Japanese games.
(Ruby, on the other hand, is a done language to program softwares.
A curious piece of information, the RPGMAKER was made in ruby.)

In spite of the fact that they be different languages, some algorithms and different commands use, but in a measured child. :-/

But they are not the same.:yes:
 

Anonymous

Guest

No, you are wrong.

Ruby is Ruby, RGSS is Ruby. That is a poor translation from the Help file, and isn't the case. Being particularly fluent in Ruby, especially in the RMXP Environment, I can say without a shadow of a doubt that RGSS is simply a Library of code compiled in Ruby in the form of a DLL (RGSS10*E.dll)
 

Anonymous

Guest

I can't seem to edit my posts, so I will retort in a double post.

No, RGSS isn't a Legendary programming language.

And no, RPG Maker was not coded in Ruby. Ruby is an interpreted, high-level programming language. It could be decompiled in seconds, and we'd all be running around with our own editted versions of RPG Maker XP. RPG Maker XP was likely written in either C, which various parts of the RGSS Library are coded in, or Delphi, like previous versions of RPG Maker (2k, and 2k3, specifically.)
 

Anonymous

Guest

That website translates into an unreadable amount of dribble.

The only conceivable argument that RGSS is in fact a variation of Ruby, is that the Library contains elements of C and Ruby. But that isn't a valid argument as it's not even a programming language to begin with. It's a Library.
 

khmp

Sponsor

I think the best thing for you to do Zunath is go program some small things like a window. Just to get used to the syntax. And then move into creating a scene with custom windows that you made. Then when you've gained confidence in the language move into trickier subjects like a CBS (custom battle system) or CMS (custom menu system). You'll find that the language has its odd points but is less restricting than C. Say so long to the semicolon ;)... until you go back to C. To start go with arbiter's advice and check out some of the tutorials. I don't know if they make mention of it but check http://www.phylomortis.com/resource/script/tut002.html

In any case good luck Zunath! :thumb:
 

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