iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

The 2nd Quarter Contest has arrived! Go check it out in the Community Announcements now!
5 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> Ruby Scripting Tutorials in RPG Maker VX, Video tutorial to teach the basics and not so basics of Ruby for VX
GubiD
post Apr 16 2011, 06:31 PM
Post #1



Group Icon


Type: Coder




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! Subscribe to get auto notifications when new tutorials are done.
www.youtube.com/user/gubid


Tutorial 1 - Hide Save Menu Option
Spoiler:



Tutorial 2 - Understanding Variables
Spoiler:



Tutorial 3 - Classes/Methods/Inheritance
Spoiler:



Tutorial 4 - Class Change System (by equiping weapon)


Tutorial 5 - Steal Script
Spoiler:





Tutorial 6 - All Earned Item Shop


Tutorial 7 - Cooking Script


Tutorial 8 - Comment your code!


Tutorial 9 - Animation System


Tutorial 10 - Large Party Edits for Default Menu
Spoiler:




Tutorial 11 - Final Fantasy Tactics Menu
Spoiler:

Part 1 - Setup your background

Part 2 - Draw your characters on the scene



Tutorial 12 - FFTactics Menu Cursor
Spoiler:

Part 1

Part 2



Tutorial 13 - Command Menu


Tutorial 14 - Choose Weapon on 'Attack'
Spoiler:

Part 1

Part 2

Part 3



Tutorial 15 - Dragon Quest Save System
Spoiler:

Part 1

Part 2

Part 3

Part 4

Part 5



Tutorial 16 - Chrono Trigger Style Battle System
Spoiler:
Part 1

Part 2

Part 3

Part 4


Tutorial 17 Skill Levels
Spoiler:

Part 1

Part 2



Tutorial 18 Large Events
Spoiler:
Part 1

Part 2

Part 3


RPG Maker VX Ace Tutorials
Spoiler:








This post has been edited by GubiD: Apr 17 2012, 04:08 PM
Go to the top of the page
 
+Quote Post
   
Kread-EX
post Apr 16 2011, 06:39 PM
Post #2



Group Icon


Type: Coder
Alignment: Chaotic Neutral




Gube, you messed up with the YouTube BBcode - I think you only need what's after the "v=".


--------------------
Go to the top of the page
 
+Quote Post
   
C_CliFF
post Apr 16 2011, 09:51 PM
Post #3



Group Icon






I must say, you're doing a great job and hope to see more coming up!

-C_CliFF
Go to the top of the page
 
+Quote Post
   
febreze
post Apr 17 2011, 02:14 PM
Post #4


Your Welcome
Group Icon


Type: Undisclosed
Alignment: Lawful Evil




Great job with the tutorials
I'd love to see more
you asked for ideas. Well you could do a tutorial on how to turn on and off a script with an in game switch.


--------------------
I enjoy:

Filled with tiny Jesus' and the like:
Go to the top of the page
 
+Quote Post
   
redm
post Apr 17 2011, 03:22 PM
Post #5



Group Icon


Type: Undisclosed




Thanks GuibiD, your videos give that little bit of insight I needed to fix what I was trying.

As for ideas... Something on arrays, and possibly getting into making windows with selectable items (and using that selection) would be nice.

This post has been edited by redm: Apr 17 2011, 03:24 PM
Go to the top of the page
 
+Quote Post
   
GubiD
post Apr 18 2011, 04:02 AM
Post #6



Group Icon


Type: Coder




Video 3 is now available, see the first post or subscribe.
Go to the top of the page
 
+Quote Post
   
Supergodjesus
post Apr 18 2011, 02:55 PM
Post #7



Group Icon


Type: Designer
Alignment: Unaligned




Man, these are great! I hope you keep it up!


--------------------
Keep up-to-date with the greatest RPGs ever: Pioneer Valley Games

Need inexpensive art resources? Let me know!


Need AMAZING game music? Note by Note Studios
Go to the top of the page
 
+Quote Post
   
FenixFyreX
post Apr 18 2011, 05:36 PM
Post #8


I'm on fire 24/7 >:3
Group Icon


Type: Coder
Alignment: Lawful Good




I like these tutorials, and they are a great help to those who don't understand ruby yet! I think you are doing something great here GubiD tongue.gif

Also, there are a few things I'd like to point out. In the second video, there is a method that will print each variable separated by a comma onto a new line. The method 'p', so the code would look like this:
Spoiler:
CODE
a,b,c = 'a','b','c'
# The correct way:
p a, b, c
#=> a
b
c

# Your way:
print a, b, c
#=> abc


I would focus on the ruby aspects moreso than the rgss/2 as well; i understand that this site is dedicated to the rpg makers, but for the future scripters who read/see these kinds of tutorials, it'd be best if the user wasn't taught to limit themselves to the rgss/2 api(s), you know? Just thought I'd throw in my two cents. wink.gif

EDIT: I'd also recommend doing a tutorial or two on the Kernel, and/or Object, to give the user the commands they can use anywhere in their programming in the rgss/2 api, so as to not overwrite them, etc.
Go to the top of the page
 
+Quote Post
   
Nelderson
post Apr 18 2011, 11:51 PM
Post #9



Group Icon


Type: Designer
Alignment: Lawful Good




YESSSS!!!!! laugh.gif

I was never really a scripter, but after spending so much time with various scripts, I kinda found out how to do various things....for instance I have done the exact same thing shown in Tutorial 1 on my own through trial and error.....and it's good to see my logic is on at least....


I always had trouble understanding how the sub-classes < Classes worked, as well as when you could use certain variables at which time....and how to utilize it all to my advantage.....If you keep these tutorials coming I might just actually start scripting! (I would rather the tutorials heavily based off RGSS2 instead of Ruby, because I'll probably only use it for VX)


Gubid, you are the Fu%$ing man!!!!



BTW: After seeing the tutorials, I figured out a way to make YERD_SkillSlots compatible with GTBS.....All I had to do was change one little thing in Yanfly's script to see if the Scene was a Scene_Battle_TBS instead of Scene_Battle(Line 861)........I'm still a long ways off from even comprehending all of GTBS....but at least I can figure out a little at a time.....and that's good enough for me!!! (And I'll be sure to bug you about GTBS in the appropriate forum....)

This post has been edited by Nelderson: Apr 19 2011, 01:11 AM


--------------------
STOP BEING A JAPFAG CRIMSON!!!

Meh.....F$#@ you Mike <=== Still applies....<_<
Go to the top of the page
 
+Quote Post
   
GubiD
post Apr 25 2011, 11:24 PM
Post #10



Group Icon


Type: Coder




Tutorial 4 is now up.

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

Go to the top of the page
 
+Quote Post
   
Oopsifarted
post Apr 26 2011, 08:17 AM
Post #11



Group Icon


Type: Writer




Love this stuff GubiD. I haven't got up to the third video yet, but so far the second tutorial has taught me craploads already. biggrin.gif

This post has been edited by Oopsifarted: Apr 26 2011, 08:18 AM
Go to the top of the page
 
+Quote Post
   
Ravenith
post Apr 27 2011, 08:04 AM
Post #12


Your friendly neighborhood lunatic.
Group Icon


Type: Designer
Alignment: Neutral Good




Epic job.


--------------------
Go to the top of the page
 
+Quote Post
   
GubiD
post Apr 27 2011, 12:21 PM
Post #13



Group Icon


Type: Coder




Anyone else have any small request that they need filled? Post em and we can consider doing them for a future episode.
Go to the top of the page
 
+Quote Post
   
new
post Apr 27 2011, 02:44 PM
Post #14



Group Icon


Type: Designer
Alignment: Chaotic Evil




i was having trouble with comparing arrays with hash values. so how do you go about this? i dont really know how to script. example:
CODE
hash letters = {
1 = [a,b,c],
2 = [a,a,a],}

array = [a,b,c]

if array = hash.key do this


This post has been edited by new: Apr 27 2011, 02:45 PM


--------------------
download here
(Ask before using a bar from someone's sig -Touchfuzzy)
Go to the top of the page
 
+Quote Post
   
GubiD
post Apr 28 2011, 12:48 PM
Post #15



Group Icon


Type: Coder




well your if array = hash.key is your problem. A single = means, make this equal that. == is compare. Aside from that, the hash command is .keys. So your command would really need to be..
if array == hash.keys

end
Go to the top of the page
 
+Quote Post
   
BigEd781
post Apr 28 2011, 04:13 PM
Post #16


No method: 'stupid_title' found for 'nil:NilClass`
Group Icon


Type: Coder
Alignment: Chaotic Good




One thing that beginners often get hung up on is program structure. They see a bunch of classes and variables, but don't know much about scope and when/how instances of these classes are created and used. It all seems very free form to a beginner and it is difficult for them to reason through a problem because they don't really know where or when the code they are looking at gets executed.

Anyway, nice job here Gubid. I watched the first couple and they seem really good.


--------------------
My blog - It's awesome, I assure you
QUOTE
While sloppy writing does not invariably mean sloppy thinking, we've generally found the correlation to be strong -- and we have no use for sloppy thinkers. If you can't yet write competently, learn to. - Eric Raymond

---
My awards for being so awesome
Spoiler:
Go to the top of the page
 
+Quote Post
   
GubiD
post Apr 29 2011, 10:47 PM
Post #17



Group Icon


Type: Coder




Tutorial 5 is now available.




The next one we will I will try to focus a bit more on scope and scene creation. We will start a custom menu. Anyone have any design they would like to see made?
Go to the top of the page
 
+Quote Post
   
GubiD
post May 5 2011, 12:39 PM
Post #18



Group Icon


Type: Coder




Tutorial 6 is now available:
Go to the top of the page
 
+Quote Post
   
Chiakster
post May 5 2011, 09:33 PM
Post #19


Tifaholic
Group Icon


Type: Writer
Alignment: Lawful Good




I'm just picking up scripting and these will no doubt be an invaluable resource.

Thank you for the time and effort you're putting into doing this.
Go to the top of the page
 
+Quote Post
   
TravisT1200
post May 10 2011, 11:28 PM
Post #20



Group Icon


Type: Undisclosed




Hey. Before I start I want to say this is my first post. So I'm sorry for bad grammar bad spelling lack of punctuation (thank god for spell check).

I just wanted to say your videos have been a big help. I've done a bit of scripting in Pearl so understand it is easy but your tutorials have enabled me to go in to all the scripts I'm using and fix bugs. Best one so far is the "unless $@". ran in to that issue just after watching Tutorial 6 during some minor test.

So thank you very much for the videos GubiD. I look forward to the next ones.


--------------------
And I Dance dance dance, da dance dance dance. Why? I'm a kitty cat.
Go to the top of the page
 
+Quote Post
   

5 Pages V   1 2 3 > » 
Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 17th April 2014 - 05:41 PM

RPGMakerVX.net is an Privacy Policy, Legal.