Announcement
Announcement
| 2nd Quarter Contest Announcement posted! See the Community Announcements section. |
![]() ![]() |
Apr 16 2011, 06:31 PM
Post
#1
|
|
![]() 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) Spoiler: Tutorial 5 - Steal Script Spoiler: Tutorial 6 - All Earned Item Shop Spoiler: Tutorial 7 - Cooking Script Spoiler: Tutorial 8 - Comment your code! Spoiler: Tutorial 9 - Animation System Spoiler: Tutorial 10 - Large Party Edits for Default Menu Spoiler: Tutorial 11 - Final Fantasy Tactics Menu Spoiler: Tutorial 12 - FFTactics Menu Cursor Spoiler: Tutorial 13 - Command Menu Spoiler: Tutorial 14 - Choose Weapon on 'Attack' Spoiler: Tutorial 15 - Dragon Quest Save System Spoiler: Tutorial 16 - Chrono Trigger Style Battle System Spoiler: Tutorial 17 Skill Levels Spoiler: Tutorial 18 Large Events Spoiler: RPG Maker VX Ace Tutorials Spoiler: This post has been edited by GubiD: Apr 17 2012, 04:08 PM |
|
|
|
Apr 16 2011, 06:39 PM
Post
#2
|
|
![]() ![]() Type: Coder Alignment: Chaotic Neutral |
Gube, you messed up with the YouTube BBcode - I think you only need what's after the "v=".
-------------------- |
|
|
|
Apr 16 2011, 09:51 PM
Post
#3
|
|
![]() |
I must say, you're doing a great job and hope to see more coming up!
-C_CliFF |
|
|
|
Apr 17 2011, 02:14 PM
Post
#4
|
|
![]() Your Welcome ![]() 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. -------------------- |
|
|
|
Apr 17 2011, 03:22 PM
Post
#5
|
|
![]() 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 |
|
|
|
Apr 18 2011, 04:02 AM
Post
#6
|
|
![]() Type: Coder |
Video 3 is now available, see the first post or subscribe.
|
|
|
|
Apr 18 2011, 02:55 PM
Post
#7
|
|
![]() ![]() 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 |
|
|
|
Apr 18 2011, 05:36 PM
Post
#8
|
|
![]() I'm on fire 24/7 >:3 ![]() 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
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: 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. 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. |
|
|
|
Apr 18 2011, 11:51 PM
Post
#9
|
|
![]() ![]() Type: Designer Alignment: Lawful Good |
YESSSS!!!!!
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....<_< |
|
|
|
Apr 25 2011, 11:24 PM
Post
#10
|
|
![]() 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 |
|
|
|
Apr 26 2011, 08:17 AM
Post
#11
|
|
![]() 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.
This post has been edited by Oopsifarted: Apr 26 2011, 08:18 AM |
|
|
|
Apr 27 2011, 08:04 AM
Post
#12
|
|
![]() Your friendly neighborhood lunatic. ![]() Type: Designer Alignment: Neutral Good |
Epic job.
-------------------- |
|
|
|
Apr 27 2011, 12:21 PM
Post
#13
|
|
![]() Type: Coder |
Anyone else have any small request that they need filled? Post em and we can consider doing them for a future episode.
|
|
|
|
Apr 27 2011, 02:44 PM
Post
#14
|
|
![]() ![]() 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 -------------------- |
|
|
|
Apr 28 2011, 12:48 PM
Post
#15
|
|
![]() 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 |
|
|
|
Apr 28 2011, 04:13 PM
Post
#16
|
|
![]() No method: 'stupid_title' found for 'nil:NilClass` ![]() 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: |
|
|
|
Apr 29 2011, 10:47 PM
Post
#17
|
|
![]() 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? |
|
|
|
May 5 2011, 12:39 PM
Post
#18
|
|
![]() Type: Coder |
Tutorial 6 is now available:
|
|
|
|
May 5 2011, 09:33 PM
Post
#19
|
|
![]() Tifaholic ![]() 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. |
|
|
|
May 10 2011, 11:28 PM
Post
#20
|
|
![]() 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.
|
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 22nd May 2013 - 02:47 AM |
|
|