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.

Ruby Scripting Tutorials for RPG Maker

Part 1
http://www.youtube.com/watch?v=9BuQvTIWmFg

Part 2
http://www.youtube.com/watch?v=IMQs1q5Y7bY
 
Hey; I only watched tutorials 1 and 2. I dont have much to say about 1, and the doing this is a really good initiative! :thumb:
But I have problems with 2.
You made some errors in my opinion:

- @@variable isn't a global variable, it's a class variable, that is initialized when the script is loaded. It's a bit like a singleton variable, but every instances of that class can access it.
The fact that you can define it directly without defining a class; is because the context is in the "main" object. the main object is the root context of execution of a ruby program and is an instance of the class Object. ( you can check that by doing "print self" and print "self.class".

- attr_accessor/reader/writer : it's a good shortcut and you said it created methods, yes that's right; but you should have shown what it did by creating your own method doing that; and the pros/cons of using attr_.

- Any method taking parameters can be called without parenthesis, it's not just print.

- you should explain the before anything else the concepts of OOP and how it's applied to ruby, going through the basic types and such, what's a class, what's a method, what's a module etc... Tutorial 1 should actually be tutorial "100" lol. Go through the syntax of the language.

Finally, you could explain all that outside of RPG Maker, using an interactive ruby console( by installing ruby on your pc (rubyinstaller.org) and a good text editor ( notepad++ for example or SciTe). At least for the basics of the language, before doing anything in RM. (save times by avoiding "apply, close, save project, test project" )
EDIT: a bit like these guy does in his series of tutorials for ruby: http://www.youtube.com/watch?v=8W7MJrAz ... re=related
 
Seems I forgot to keep this thread up to date. Here are the most recent tutorials.

Part 1
http://www.youtube.com/watch?v=019iJACu6YE
Part 2
http://www.youtube.com/watch?v=bA8nSWmpha4
Part 3
http://www.youtube.com/watch?v=wmEPHvaAbrE

Part 1
http://www.youtube.com/watch?v=nhWvt5xU6VI
Part 2
http://www.youtube.com/watch?v=ShPhxR_pwfk
Part 3
http://www.youtube.com/watch?v=wzIyuxPy_rU
Part 4
http://www.youtube.com/watch?v=A6NG-I1nnaY
Part 5
http://www.youtube.com/watch?v=1UNMONGgz90

Part 1
http://www.youtube.com/watch?v=oMH8NcXtXno
Part 2
http://www.youtube.com/watch?v=gY1BYSqNAtU
Part 3
http://www.youtube.com/watch?v=oTPnAaBfT3M
Part 4
http://www.youtube.com/watch?v=MYbxFc0D25k
 
A couple more new tutorials
Part 1
http://www.youtube.com/watch?v=eq3TSxx6jLE
Part 2
http://www.youtube.com/watch?v=Kh7OBBuv70s

Part 1
http://www.youtube.com/watch?v=VEyYswmwkf8
Part 2
http://www.youtube.com/watch?v=-gNbocxSp1I
Part 3
http://www.youtube.com/watch?v=eta49nsXc-4
 

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