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.
