Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> [Scripting]All you need to know about RGSS2, Article from main site~ by SYA
woratana
post Apr 25 2008, 09:58 PM
Post #1


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




I think this is really useful article, since I saw a lot of people asking about how different RGSS and RGSS2 is?

------------------------------------------------------------------------

All You Need to Know About RGSS2

By SeeYouAlways

December 12, 2007 - The limited trial version of RPG Maker VX has been released just yesterday and the excitement is building up for the community. Today we will explore the scripting side of RPG Maker VX, regarding the mysterious "RGSS2".

The best feature in RPG Maker XP, compared to the previous RPG Makers, was the introduction of the scripting function, using a scripting language called the Ruby Game Scripting System, or more commonly referred to as RGSS.

This function allowed users to do limitless things with the popular game engine, which appealed especially to the advanced users. Beginners were also able to benefit by using scripts that were already made by others. Many of you would be happy to learn that the scripting feature will also be featured in RPG Maker VX, the next installment of the RPG Maker game engine series.

However, the scripting language is not the same as we know it. Enterbrain has now dubbed it "Ruby Game Scripting System 2", or RGSS2. Many of you scripters or just interested users out there will be curious as to what the difference between RGSS and RGSS2 is, or most importantly, whether the current scripts built for RPG Maker XP will be compatible with RPG Maker VX or not. We will unravel the mysterious and myths of RGSS today. Hang on tight!

Let us just say that firstly, we are basing the facts we know from the trial version of RPG Maker VX released yesterday. It is a "light-weight" version, with many functions disabled, so we are not completely sure whether the information posted here will change in the final version. Most of them should apply to it, however.

Some information is also a guesswork judging from currently known information, and we will state that it is. We will do our best to keep this guide updated and have all the information here to the best accuracy possible.

[Deleted: Script Editor Image]

The trial is in Japanese, so most of us will have no idea what it means. The documentation, which is currently being translated, is also in Japanese, but it is almost complete. The above image is the script editor in RPG Maker VX. Very familiar to the one in XP. Shall we begin now?

RPG Maker XP and RPG maker VX both use the same version of Ruby (1.81). This means scripting will not be too much different, and the standard library should almost be the same. Likewise, anyone who knows Ruby should be able to script both in RPG Maker VX and RPG Maker XP without any difficulty.

[Deleted: 'About..' Window in RMVX (I think)]

This is a quote from RPG, a skilled RGSS scripter:

QUOTE
"Some differences to RGSS (both XP and VX use the same version of Ruby):
Main changes to built-in classes:
- Graphics.resize_screen(width, height) can scale the window to a different size such as 640x480 or 320x480. Since the default scripts still assume a window size of 544x416, this is not as useful as it might seem (you'll still have to use a script)
- Graphics.snap_to_bitmap stores the screen into a Bitmap object, they use that in conjunction with Bitmap#blur to achieve the blurred background effect of the main menu.
- Graphics.brightness to control the brightness of the game.
- Bitmap#gradient_fill_rect allows filling a rect with a smooth gradient, they use it for HP and MP bar in the menu. (doable in XP with some simple scripting)
- Bitmap#blur blurs the bitmap!
- Font#shadow to turn on/off text shadow (very easy to script in RMXP)
- Sprite has a set of wave properties now, to achieve an effect similar to RPG Maker 2k/3 wave which is missing in XP.
- Structural changes to the RPG classes to fit new features. They also added a base class for items and spells for better organization.

Some changes to the provided classes (ones you can directly edit in the script editor):
- Cache is now exposed in the script editor, and is no longer under the RPG module
- Default sounds and vocabulary words are now in their own modules for easier access
- The classes are generally more organized with less reliance on dumping everything in Game_Temp like RMXP used to do.
- A more modular approach similar to that of the script SDK for RMXP where update method is divided into different update methods (makes scripts more compatible in general)
- Big classes are no longer split into different script sections (like Interpreter 1, Interpreter 2, etc. in RMXP)
- Enemies are now assigned letters next to their names such as Skeleton A/Skeleton B
- Many classes are now under base classes for better organization. This is similar to the structure of the RMXP SDK where they had a Scene_Base class for all scenes. This generally helps scripts compatibility with each other.
- There are many more but I got bored...


Due to these changes it is safe to assume most RMXP scripts aren't compatible with VX without a bit of tweaking.

In general most of the changes are either structural or to accommodate for the new features. There are a few nice additions to the Bitmap and Graphic classes. I still think RMVX is not worth its price tag though, everything you could do here you could probably do it with XP. It's more user-friendly, but what they give you back is what they took away in RMXP, along with a really sucky default battle system. The layer system is weird as I can't figure out how to put something on another to achieve a 3 layer effect (the new tile overwrites the old tile), weird..."

-------------------------------------------------

I think this might be useful wink.gif


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
semajames
post Apr 26 2008, 12:02 AM
Post #2


Level 10
Group Icon

Group: Revolutionary
Posts: 164
Type: Event Designer
RM Skill: Advanced




Thanks wora, this is just what I needed. Do you know any good RGSS2 specific tutorials?


__________________________
I hereby challenge you all to beat me!
http://www.rpgrevolution.com/forums/index....e=play&g=23
Good luck!
Go to the top of the page
 
+Quote Post
   
woratana
post Apr 26 2008, 12:14 AM
Post #3


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




So far, no. tongue.gif

Anyway, 90% in RGSS for Dummies can use in VX.


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
semajames
post Apr 26 2008, 12:15 AM
Post #4


Level 10
Group Icon

Group: Revolutionary
Posts: 164
Type: Event Designer
RM Skill: Advanced




Ok, thanks.


__________________________
I hereby challenge you all to beat me!
http://www.rpgrevolution.com/forums/index....e=play&g=23
Good luck!
Go to the top of the page
 
+Quote Post
   
Puppet Of Fate
post May 25 2008, 08:01 PM
Post #5


Please join my site!
Group Icon

Group: Revolutionary
Posts: 675
Type: Mapper
RM Skill: Advanced




I just went to try it and it didn't work.


__________________________
Go to the top of the page
 
+Quote Post
   
YanXie
post May 25 2008, 10:15 PM
Post #6


Because Tomorrow Will Surely Come...
Group Icon

Group: Revolutionary
Posts: 1,137
Type: None
RM Skill: Skilled




Try what? The link? Please be more specific


__________________________
how make teleport to graveyard then your character die?

AWAY FOR VACATION.
NOT HERE UNTIL JAN/FEB 2010 -w-/
Go to the top of the page
 
+Quote Post
   
woratana
post May 25 2008, 11:20 PM
Post #7


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




I think he means the article. biggrin.gif

Google probably cleared that cache, or it's the bad link sad.gif


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
elfyelf
post May 28 2008, 09:17 AM
Post #8


(~*A D A N*~)
Group Icon

Group: Revolutionary
Posts: 436
Type: Developer
RM Skill: Advanced




Tried but does not work, it says GOogle could not find it.


__________________________
Go to the top of the page
 
+Quote Post
   
YanXie
post May 28 2008, 09:44 AM
Post #9


Because Tomorrow Will Surely Come...
Group Icon

Group: Revolutionary
Posts: 1,137
Type: None
RM Skill: Skilled




Read Wora's reply above you :

QUOTE
Google probably cleared that cache, or it's the bad link


That's why he posted it here. smile.gif


__________________________
how make teleport to graveyard then your character die?

AWAY FOR VACATION.
NOT HERE UNTIL JAN/FEB 2010 -w-/
Go to the top of the page
 
+Quote Post
   
Rydin
post May 28 2008, 05:44 PM
Post #10


Level 43


Group: Retired Admin Staff
Posts: 1,185
Type: None
RM Skill: Undisclosed




You should be able to access the RGSS for dummies tutorial on the main site.

http://www.rpgrevolution.com/article/tutorial/rgss/
Go to the top of the page
 
+Quote Post
   
woratana
post May 30 2008, 11:43 PM
Post #11


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




I just saw that today, Rydain. That's really nice. biggrin.gif

Thanks for uploading them! >_>"


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
jens009
post Jul 9 2008, 04:26 PM
Post #12


L Did you know? Death gods... only eat apples
Group Icon

Group: +Gold Member
Posts: 2,976
Type: Scripter
RM Skill: Skilled




Hey this is really helpful! Thanks Wora.
I also found the links in your signature to be really helpful also.

However, I think we should also link people to a site where they can actually learn Ruby. I mean there is really no difference between RGSS and RGSS2. Both of them are still ruby. Which means that once we know how to use Ruby completely, it won't matter which platform we work with.
Here's a link to a really good site to teach Ruby for people with absolutely no experience at all. It even comes in with hands-on activities since you can download ruby for free and use command prompt to run ruby. Ruby Tutorial for beginners.


__________________________

My RMXP Project:


Farewell RRR. =]
Go to the top of the page
 
+Quote Post
   
Joe
post Jul 11 2008, 06:33 AM
Post #13


Level 29
Group Icon

Group: Revolutionary
Posts: 674
Type: Event Designer
RM Skill: Advanced




Jens009, this is the type of site I have been looking for to learn Ruby!!

Ive completed the first few exercises, everything is laid out for someone who knows very little but detailed enough for those who just want to learn something new. Nice find m8!


__________________________
My Games

< OPEN BETA - DOWNLOAD HERE



Go to the top of the page
 
+Quote Post
   
jens009
post Jul 11 2008, 02:21 PM
Post #14


L Did you know? Death gods... only eat apples
Group Icon

Group: +Gold Member
Posts: 2,976
Type: Scripter
RM Skill: Skilled




QUOTE (Joe @ Jul 11 2008, 06:47 AM) *
Jens009, this is the type of site I have been looking for to learn Ruby!!

Ive completed the first few exercises, everything is laid out for someone who knows very little but detailed enough for those who just want to learn something new. Nice find m8!

I know! It's really basic but gives you an overview of Ruby. I think the only way to completely understand RGSS and RGSS2 is to first understand the complete syntax of Ruby.
From this tutorial, I have learned to understand and read scripts a bit better, I hope you will too. =]


__________________________

My RMXP Project:


Farewell RRR. =]
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 18th June 2013 - 11:02 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker