Sleepy Siletrea never Wrote:< ms pacman acts like a tree and allow one to connect scripts together to prevent rewriting
Not entirely true, you can still rewrite whatever you like, including the parent class's methods if needed, but it's not mandatory. It's one of the first baby steps required in the encapsulation land of the Object Oriented Programming OOP world. Think encapsulation is just like catching a script with a pokeball! The pokeball is a convenient container not for a pokemon here but for a script. So < ms pacman tells the script manager (Ruby + RGSS) to go find another pokeball, the parent class. Like a Matroshka or matrioshka doll.
Sleepy Siletrea never Wrote:modules...I think theyre a way of labeling certain areas of your scripts...like making a box to put stuff in and having the name be there to organize it?
It's another sign of the existence of encapsulation in a script, and yeah, it does contain it as a basket with a specific label.
Classes can work inside and outside a module, it's up to you if you find it convenient to place it inside the module or not. It's a matter of taste or sense of order.
> What you called "pacman" is only used in mathematical operations like x > y where x is a number that is supposed to be greater than y like 3 > 2. I don't recall any example where you could use it in any other circumstance (if talking about RMXP).
Methods are... like what you find in a basket, let's say, lots of cola cans or chip bags or anything packed with paper or plastic. Their contents would be the method code.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE