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

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.

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

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

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

http://www.youtube.com/watch?v=Kh79QFn3GUo
http://www.youtube.com/watch?v=Kh79QFn3GUo
http://www.youtube.com/watch?v=uxyZKkZwRTk
http://www.youtube.com/watch?v=uxyZKkZwRTk

http://www.youtube.com/watch?v=ZQmiHNshBpo
http://www.youtube.com/watch?v=-slcduBH2ic
http://www.youtube.com/watch?v=9KDdsMPdBdg

http://www.youtube.com/watch?v=UVjMdfJr92w


http://www.youtube.com/watch?v=JpOupeZd9ZY - part1
http://www.youtube.com/watch?v=JpOupeZd9ZY
http://www.youtube.com/watch?v=m7MGXEyvdcw - part2
http://www.youtube.com/watch?v=m7MGXEyvdcw
http://www.youtube.com/watch?v=VxpUhtXG73Q - part3
http://www.youtube.com/watch?v=VxpUhtXG73Q
http://www.youtube.com/watch?v=jwTSg8XugUs - part4
http://www.youtube.com/watch?v=jwTSg8XugUs
http://www.youtube.com/watch?v=ZF1FjHyJGA8 - part5
http://www.youtube.com/watch?v=ZF1FjHyJGA8

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

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

http://www.youtube.com/watch?v=1dlfitv7yL8

Part 1 - Setup your background
http://www.youtube.com/watch?v=5yEZmO-nirs
Part 2 - Draw your characters on the scene
http://www.youtube.com/watch?v=H1tmXBk16Cc

Part 1
http://www.youtube.com/watch?v=pDzt-lq5T2I
Part 2
http://www.youtube.com/watch?v=K9ddDcvSYE4

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

Part 2
http://www.youtube.com/watch?v=IMQs1q5Y7bY

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

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
 
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!
 
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!
 
<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.
 
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
 

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