08-17-2020, 04:38 AM
Game Variables
The Minimal Demo
by Kyonides Arkanthes
Introduction
I made a simple demo that would probably show you how to use variables in a convenient way. Our goal in this first version will be to let some variables help us make an event based menu.
Since I do not know you in real life you will be able to choose your gender before he test play can even begin. So I improvised a little bit here and incorporated a basic picture based menu consisting of 4 pictures. 3 of them are faces plus a sword that is used as your cursor there.
In the demo I will ask you to press buttons. When I say press I actually mean "keep pressing the darn button" instead.
It seems that specific RPG Maker feature has always sucked hard.
Curiously you do not notice such a behavior in scripts, neither default nor custom ones ever force you to go through such a moronic ordeal.
Learning Points
- Understand how Game Variables can save the day... but not the night!
- Let modulo keep your values in check.
- Properly load pictures and delete them later on after you stopped needing them. EX-TER-MI-NA-TE!
- Use a loop to prevent the event from skipping the selection section
- Properly define a perfect excuse to break the loop for all loops should be broken at some point! EX-TER-MI-NA-TE!
- Keep track of a player's name at least while you do not need to access a system or custom menu script.
Download DEMO
Disclaimer
In my demo I have included three genders, male and female and undead
That third option is a joke but I just needed an excuse to use more than a Yes or Not formula to "explain" the game variable concept there. This does not and will never endose in any way possible the very existence of undead in any reality.
"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