The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Nathanael on April 13, 2010, 01:12:43 PM

Title: Teach to script?
Post by: Nathanael on April 13, 2010, 01:12:43 PM
Is it possible for someone to teach me how to script? The way Enterbrain put it in the help file is shitty and pretty hard to understand.
Title: Re: Teach to script?
Post by: cozziekuns on April 14, 2010, 03:28:40 AM
There's no real way to learn RGSS2. All you need is dedication. I find it easier to modify a script first, then use the skills you learned from modifying the script into making a totally different one. Also, looking at other people's scripts help. Another thing that you can try to do is decompile a script. That means taking a line (e.g Scene_Menu < Scene_Base) and finding out what it means, before putting it in your own script.

Start of slow, don't expect to make an awesome battle system right off the bat. Some things you might want to try:

Making a script that connects to a Common Event.
Making a script that sends you to a shop, menu, etc.

Getting used to the common classes also helps (Game_Actor, Game_Map, etc).

If all else fails, try looking on the internet for some tutorials. They can be pretty useful.
Title: Re: Teach to script?
Post by: Cascading Dragon on April 14, 2010, 02:20:17 PM
Learn Ruby. You will understand most of what the scripts are saying then. And Ruby has alot of tutorials floating around.
Title: Re: Teach to script?
Post by: Nathanael on April 14, 2010, 04:21:29 PM
I went to the ruby site and i found a tutorial that you can use in your web browser without downloading anything. It's at http://tryruby.org/ (http://tryruby.org/). It's awesome!
Title: Re: Teach to script?
Post by: Mr_Wiggles on April 15, 2010, 11:17:43 AM
Ah yes i remember that site its neat. Also here is a nice site to refer to when you don't know what something means.

http://ruby-doc.org/docs/ProgrammingRuby/