Ruby Scripting Tutorials for RPG Maker

Hey guys!
I wanted to let you all know that I am kicking off a Ruby Scripting Tutorial Youtube series. Come watch, learn, and comment!
I also realize I stumble on my words alot, but it will be better, these were very impromptu.

Tutorial 1 Show
http://www.youtube.com/watch?v=Ob-arzU5UT4


Tutorial 2 Show
http://www.youtube.com/watch?v=mJkGIl3ddrE


tutorial 3 Show
http://www.youtube.com/watch?v=eJreFWkTQ1Q




Tutorial 5 Show




Tutorial 6 Show





Tutorial 8 Show
http://www.youtube.com/watch?v=M1IvEUilzfU


Tutorial 9 Show
http://www.youtube.com/watch?v=d49TwpFErAk


Tutorial 10 - Large Party Edits for Default Menu Show


Tutorial 11 - Final Fantasy Tactics Menu Show
Part 1 - Setup your background

Part 2 - Draw your characters on the scene


Tutorial 12 - FFTactics Menu Cursor Show
Part 1

Part 2


Tutorial 13 - Command Menu Show
Part 1


Part 2


Tutorial 14 Show
Part 1

Part 2

Part 3


Tutorial 15 - Dragon Quest Save System Show
Part 1

Part 2

Part 3

Part 4

Part 5


Tutorial 16 - Chrono Trigger Style Battle System Show
Part 1

Part 2

Part 3

Part 4


Tutorial 17 - Skill Levels Show
Part 1

Part 2


Tutorial 18 - Large Events Show
Part 1

Part 2

Part 3
Nice job!

clear & soothing voice. (made me wanna take a nap)

Flow was good, and content was perfect. (i.e. not too much for one sitting).

You probably don't need a script, but I would jot down a few notes to prevent losing place or stumbling.
Try to stick with common terminology too. i.e. "methods" vs "statements", etc...

The aspiring script-writers are gonna love this!
Thanks Brew! That first one I stumbled a lot. Mostly because I sort of made it up as I went. I knew what I wanted, but to convert that to a speech is something else entirely. Besides that, I am not much of a talker. Anyway, glad you enjoyed it!
This is going to be helpful for me. Thanks a lot for this!

What else do you have planned?
I will be going over classes and methods next. Then as we have a fair base, we will start to build a custom menu based from the default. Nothing special, but features that are pleasing to the eye. Like sliding into the scene.. kinda like those 1 scene things, but not really one scene. After that, I am open to suggestions. If you have a script you would like, request it and maybe we will do it as a tutorial!
Sounds great! I don't have any requests at the moment, but maybe in the future
These are great. Both the scripting and narration is done well. I'll be following these on youtube ;)
Thanks Grav
<3<3<3

I've always wanted to learn Ruby. Watching them now; feedback at the end.

EDIT: I learned a lot from the second one; mainly about attr_ and the difference between the types of variables. Just a question; is there any advantage at all to using attr_reader or attr_writer over attr_accessor? I'm guessing it's a bit faster, but it seems a bit inane to dedicate 3 functions to something you only need 1 for. :/

Anyway, thanks! That was really easy to follow for me.
I love them! After you are done with the basics on explaining everything you should do tutorials on step by step making menu systems etc that would make it a lot easier to learn how to do it all for VX/XP(if you put rgss 2 into it).
Pokemaniac,
For RPG Maker there is not alot of reason to use just reader or writer. I tend to use reader/accessor mainly. Is there a need for writer in general programming? Absolutely! Fact is, most people do their programming in a very possessive way. Meaning that they dont want others to screw with them. That is the reason for only having read only or write only access to certain variables. However, in the world of RPG Maker, it is not all to critical because you are using it for a game and not trying to protect some HIPAA (Patient Information) etc. Being that the data is not overly sensitive, then most just dont care. Is there an actuall speed difference? Not that I have noticed.

RMXPirate, That is actually the plan. The coming episode will go over class's, inheritance, methods and alias'ing. All very important things to learn. Once we go over those we will start into programming a menu. It will be a very basic change to the default menu, but it should help give you an idea of how/why things need to change etc.
These are the kind of tutorials I wish were out when I first started RPG Maker. Can't wait for more, man. Keep up the good work.
Ok, guys Tutorial 3 is up!
I love you! :heart:
😀 Perfect!! You'r the best.. can't wait for the next tutorial!! :thumb:
Didn't notice this was up! You're really good at explaining these things.
It doesnt work for rmxp Script 'tutorial2' line 22: Syntax occurred.

1 class Window_Mine < Window_base
2 def initialize
3 super(0,0,320, 240)
4 actor = $game_actors[1]
5 x, y = 5, 50
6 def draw_actor_graphic(actor, x, y)
7 end
8 end
9 class Scene_Mine < Scene_Base
10 def start
11 @my_window = Window_Mine.new
12 end
13 def update
14 @my_window.update
15 if input.trigger?(input::C)
16 $scene = Scene_Map.new
17 end
18 end
19 def termenate
20 @my_window.dispose
21 end
22 end
NVM i see wat i did wrong
HA sorry no i dont cant figure it out???
well, you spelt terminate wrong...

also, I have a feeling there's one too many ends in there. Hard to tell, because it's not formatted properly.
Actually he's missing an end after line 5. He defines initialize but doesn't end it before defining draw_actor_graphic.

actually, looking at it further, instead of adding an end, remove the def on line 6 so it is instead
draw_actor_graphic(actor,x,y)
And... because its RMXP, there is no scene base. So you will need to copy that section over as well if you want to use it.
This is very helpful! I'm actually understanding RGSS for the first time :haha: only downside is that I use RMXP :/ but I'm sure it won't be too much trouble.

Thank you for your time in making these! Waiting for the fourth one eagerly :)
Hey guys. Tutorial 4 has been released! If you havent subscribed yet, do it now!

Tutorial 4 - Part 1
http://www.youtube.com/watch?v=Kh79QFn3GUo


Tutorial 4 - Part 2
http://www.youtube.com/watch?v=uxyZKkZwRTk
YES! Thank you! :D
These are really good, and you're actually releasing them! Class-changing is something a lot of people will find useful.
REQUEST !!!

i want to learn how to make a class be able to use a certain skill
only on a certain tile

example: in batte and im over water enables me to use water ball.
then i go over some rocks and i can use rock crush or somthing.
if im not on a certain tiles all other skills i learned dont show up.
I assume you are using GTBS then right? Since normal battle doesnt actually have movement etc.
Maybe he means you gain the skill if the battle starts on that tile?
Ya maybe. Will need a little more detail before I start anything though.


Tutorial 5 is available - we cover 3 different scripts in this episode.


Original thread: https://www.hbgames.org/forums/viewtopic.php?t=74398