Slip into Ruby: An introductory guide to RGSS for beginners.

The new one is for Game_Interpreter, so it's a biiiiiiiig one. Should hopefully have it done this week.

I need to get my next Jump into Javascript done as well (I'm doing a similar series for RMMV)
So...it wasn't quite this week, but I finally wrote the new one!


https://www.rpgmaker.net/articles/1351/
Yay! You are awesome @Trihan <3
You get a lot of love from here too Trihan! 
Updated with not one, not two, not three but FOUR new articles. I'm too good to you people.
YAY! 😀
Updated the topic with parts 2 and 3 of Windows!
Hello. I've been reading your guide for some time, and I still don't understand much(I know how scripts work now, but I have no idea how to make one myself). I'm sure I can get the hang of it after reading some more and reading other guides. It's quite hard to understand at first, but Rome wasn't built in a day... By the way, could you help me with some little stuff in my game? I don't think It's possible to apply them without changing the basic code, and I have no idea what to do...
@diakon454 The best thing to do is to post a thread in RGSS3 Script Requests, setting out exactly what you want, with full details, and - if necessary - a mock up. No one can help you on the basis of "some little stuff", and it's not fair to expect Trihan to just take it on. He's pretty busy. However, in a general thread, other people will see it and may have the answer.
Hey bro, I was just reading your articles and i noticed you wrote
“attr_accessor”, “attr_reader” and “attr_writer” are essentially a shorthand way of doing the get and set methods we created in the previous example, but there's one important difference. attr_accessor basically means the variable can be read or written to at any time by anything anywhere. This might result in you accidentally changing a cat's age in a part of your program that has nothing to do with cats, and if you don't realise you've done it that's going to be a to find and debug later.

The way we did it was by creating what are known as “wrapper” methods, which allow you to read and write instance variables but only from within their own class, limiting the circumstances under which one might change a variable's value without meaning to.

I don't quite understand what you mean by this? Doesn't attr_accessor in the end just gets translated into the wrapper methods? I searched over the net and can't find the benefit of writing the wrapper methods explicitly rather than using attr_accessor.
Hi @Trihan if you're still around. I've just finished working through the tutorial, and it's been really helpful; I understand things so much better already and I feel I've made a good start on my own scripts. I wonder, what are the terms of use for the tutorial bestiary script? I'd rather like to make further tweaks to that and eventually include it in my project, if possible. I've also made an instruction manual script with a chapter select menu by copying and reworking the bestiary script; I hope that's okay?
I'm really glad to hear you've found my work helpful, and you're absolutely free to rework, copy, edit etc. the code I've written however you see fit. As the stuff written for the tutorial is just for demonstration purposes and not an actual bestiary system, you can use it for anything you like without attribution. 🙂
Tks you so much for this tutorial, extremely helpful for someone who don't know anything about Ruby but want to learn it XD please make more!!!!!
Your tutorial is not working on RMXP. 🙁

I'm stuck in the second part.
RMXP does not have Scene_MenuBase, but maybe you can try to look at the equivalent one?
Or, iirc, even RMXP does not even have Scene_Base. It's introduced first time in RMVX. cmiiw
RMXP does not have Scene_MenuBase, but maybe you can try to look at the equivalent one?
Or, iirc, even RMXP does not even have Scene_Base. It's introduced first time in RMVX. cmiiw

I managed to pass through this, but I can't call the script in the event. using the "SceneManager.call (Scene_Bestiary)".

I don't know where or how I can find the equivalent for this call method either.
iirc, the equivalent one in RMXP is
Code:
$scene = Scene_Bestiary.new
Both RMXP and RMVX handles the scene instance in global variable.
This is a great resource. I am halfway through at the moment!
Been through a lot these 2 weeks by reading a novel from you @Trihan it's "Slip into Ruby" ch 1-2 all of them. Btw, thx @Trihan, i do learn a lot from your novel, well, lesson i mean hahaha. Hopefully you continuing the series.
I really excited to learn here, Trihan! You make me to understood the basic of Ruby in RPG MAKER VX ACE. You're such incredible!

BTW, can you teach me the way to make a great thing to show the player's money and time always in the game?

Original thread: https://forums.rpgmakerweb.com/threads/slip-into-ruby-an-introductory-guide-to-rgss-for-beginners.38900/