Help - Search - Members - Calendar
Full Version: Learn All About Ruby
RPG RPG Revolution Forums > Scripting > Script Development and Support > RGSS
Rydin
What is Ruby you ask?
RGSS - Ruby Game Scripting System

Ruby is the name of the programming language used in RPG Maker XP! It's very flexible and allows easy editing within' the game structure itself. Sounds good an easy huh? NOT, if you've never had any programming experience before then it'll be quite hard at first. However don't worry because it's such a simple based system, it can be easily learned.

The path to learning Ruby!

RGSS Tutorials on the main site:
http://www.rpgrevolution.com/tutorial/rgss.php

Some External Links for Ruby, not RGSS:
http://ruby-lang.org/
http://rubyforge.org/
http://www.rubycentral.com/

Feel free to post other helpful information regarding Ruby/RGSS and tutorials.
Holder
Greetings.

Is there any link available for a tutorial designed especially for RPG Maker XP?

As I learn best from inputing somthing and seeing the result on screen.
(eg. changing the look of the Menu)
As Ive downloaded the ones from this site but I still can't make head nor tail of the code.

I've had a quick check around the sites but I can't see anything regarding RM, unless I missed it.
Oceans Dream
By the way, here's an RGSS for dummies tutorial. You may want to check it out.
http://www.gamingw.net/forums/index.php?topic=19617.0

Thanks to RPG for this, he did an awesome job.

I recommend anyone working with RMXP studies RGSS/Ruby a bit, and stop solely relying on other peoples scripts for your game. The more you know Ruby, the more you'll be able to do what you want in the game. It's pretty powerful and should be taken advantage of.
Holder
It does take time to learn, you should not expect to quickly read through it and then get started on a custom battle or anything like that.

You need to first understand the different elements are within ruby, for myself it is taking some time to learn. Its like learning a new language, in fact its almost exactly the same, you won't expect to look through a German dictionary or a book and then go on to write a story in German, you need to know how to construct the sentences and know how and where to use new characters and symbols.

Take you time and try not to rush into it.

I am still wondering if anyone can find a step by step tutorial for implementing the code into RM XP, even if it is for somthing simple like a new message box. Just so I can see the different effects and where to start. Thanks

Farewell
Shottadream
In my opinion I started learning more advanced Scripting Laungauges. I am still learning Ruby but things like BASIC,C++,And Java are essential if you think about the more advanced game makers.
Jako Drako
I know some BASIC and C#, but I like Ruby better because it is easier to use and makes more sense to me.
Oceans Dream
I'll have to see if there are tutorials on programming concepts. If it's available, going to a Computer Science class at school can help as well. I took Basic, C++ and Java, it'd probably help if I used Ruby, but I don't. But at least the basics of programming would be the same for those languages. HTML is not a good language to learn programming concepts from, however.

I thought the RMXP help file covered Ruby as well.
jens009
Once again sephirot! Your amazing scripting abilities still aghast me. Thanks for this links everyone, this would truly help me script better during free my free time.
QUOTE
ok i went to the links above because i want to learn how to code ruby but i cant under stand a damn thing there talking about is there a place i can go where they will explain it to me in laimens


Please it takes time to learn how to script,however try to look at it as eventing and think of all the possibilities you could do! I hope this boosts your morale in learning on how to script.
SephirothSpawn
As with anything, scripting takes time. I can say in the last year (minus the first 3 or 4 months of half-assed scripting), I have probably put on average 2-4 hours of scripting a night. On my days off even more. It isn't something that can just hit you.

Luckily Ruby is easy to learn once you fully grasp the concept of of OO (everything is an object). It took me a good solid month to learn Ruby and have spent the last year perfecting it down to a style of my own (that people are now using happy.gif).

I am starting to be back on msn frequently. Check my signature soon, because I am going to be setting up a time twice a week, for a few hours that I will set aside for scripting help.
darkhalo
This is great...all these tutorials in one bag. Obviously I looked first at the RGSS for Dummies, and I
like how its been explained. Im hoping that oneday I can learn script rather than editing others.
Anyhow, my questions are a waiting in the queue. smile.gif
SephirothSpawn
I suggest Dube's Tutorials. I personally used them to learn most about script.

Then if you want to get serious, read into the Ruby Central link. I can say I own the book on the site and learned quite a bit from that.
Japa
QUOTE (Crotch @ Aug 10 2006, 02:04 PM) *
am i the only one left who can still script in original Basic 7.0 (from the commodore and tandy systems) lmao


WRONG!

I can code rather well on the C-64 (it was the first comp I owned)
abreaction
I have some knowledge of javascript, and html.... RPGcode too, if you've heard of RpgToolkit.
But I am still sort of confused.
Like how I learned RpgCode, I started just doing basic stuff like bitmap.new and editing some scripts...
But I still don't completely understand RGSS.
Is there some way(considering my age.... VERY Young....) to learn RGSS, without confusing me too much...
a video?
Sky Song
I have a small question.
-Is there a book about Ruby?
Rukiri
probably but I don't know, I already grasped ruby wasn't as hard as I thought^^
Oceans Dream
http://www.amazon.com/Programming-Ruby-Pra...d/dp/0974514055

There should be others as well (I.E. Read the previous posts).

Don't bump the topic without a good reason, the last poster posted in May! At least Ruby books would be a good thing.

Ah, second page. Have to delete some posts. There we go.
Jadak
Sorry to sort of necro, but a lot of those links are broken, I was wondering if maybe anyone had any ones that still actually work?(Trying to learn myself)
SeeYouAlways
The main site has all the RGSS tutorials you need to get you started. =/

http://www.rpgrevolution.com/tutorial/rgss.php
Guardian Drayal
We all know that Ruby is the base language of RGSS, but it brings up a question: Would it better to just learn Ruby as a whole rather than just RGSS? There's a couple of books about Ruby for sale in various bookstores, and since that is the parent language, I thought that might be a viable path.

Does anyone have any thoughts on this?
GubiD
Yes it is good to get to know Ruby as the language before RGSS, why? because if you dont understand how it does stuff how can you use it? There are many online tutorials,, including the ones mentioned by Seph above, but to actually use those in RMXP is a little harder, you must understand what they are doing before you can implement new features or whatever. It takes about a good 2 weeks to get used to the methods used in the default system, but after that it wont take long to jump into big projects.
Guardian Drayal
QUOTE (GubiD @ Jan 6 2008, 03:41 PM) *
Yes it is good to get to know Ruby as the language before RGSS, why? because if you dont understand how it does stuff how can you use it? There are many online tutorials,, including the ones mentioned by Seph above, but to actually use those in RMXP is a little harder, you must understand what they are doing before you can implement new features or whatever. It takes about a good 2 weeks to get used to the methods used in the default system, but after that it wont take long to jump into big projects.


Then I'll be buying that Ruby book. Knowing how to script on my own is probably the only way I'll get Destiny's Fall done when the time comes.
jens009
It is actually better to learn Ruby first before RGSS. (Reasons stated above).

Also, it would probably better if you learned it by yourself by the use of the tutorials. It's the best way to learn things. I can read through the code and edit it so it fit my needs. However, I do not know how to start a code from scratch.

It's a long way before I can actually script something without outside help.

Hey GuBid, or any other scripter, how long did it take you to actually LEARN how to script. (Including learning how to use Rugby and RGSS)
Guardian Drayal
QUOTE (jens009 @ Jan 6 2008, 03:57 PM) *
Also, it would probably better if you learned it by yourself by the use of the tutorials. It's the best way to learn things. I can read through the code and edit it so it fit my needs. However, I do not know how to start a code from scratch.


I'm the same way with coding in most cases. Reverse engineering what's already been done to suit my needs and just crediting the original designer. But doing it all on your own makes it a little easier to debug it if necessary. That's what I plan on doing, at least.

QUOTE (jens009 @ Jan 6 2008, 03:57 PM) *
...how long did it take you to actually LEARN how to script. (Including learning how to use Rugby and RGSS)


Also a good question, but a subjective one. It doesn't depend on the person so much as it does their learning habits and how much time they have to invest. That, and the desire to learn.
BlackMask
Also you could download and read this book very good tough the little i know but i haven't finished
http://www.megaupload.com/?d=9LG9YCXC
Legacy
Here are some fantastic online books i used to learn Ruby.


http://en.wikibooks.org/wiki/Ruby_Programming
http://www.ruby-doc.org/docs/ProgrammingRuby/ <-- Everything about ruby Here and i mean EVERYTHING
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.