Variables Guide

Celianna

Tileset artist
Global Mod
Joined
Mar 1, 2012
Messages
10,531
Reaction score
5,538
First Language
Dutch
Primarily Uses
RMMV
Variables Guide
For beginners!



 
Download links:
Without RTP (4.8MB) Link (bug fixed)
With RTP (191MB) Link
Are you a budding new RMVX Ace user, but still find it difficult to grasp variables? Look no further, this playable Variables Guide project will teach you what variables are, what you can do with them, and how to use it in gameplay. To get the full experience of this guide, please play through it first, and then when you're finished, open the project with RPG Maker VX Ace and look inside of the events. It has comments scattered all around to teach you how to use variables even further.

Warning! This guide is meant for people who have already started using RPG Maker VX Ace, and therefor already have knowledge about:
  • (self) switches
  • event pages
  • conditional branches
Because otherwise, you're going to be very, very confused. This guide is not meant as a direct starting point to get to know the program, but it's to help people who struggle to understand variables. So are you a complete newbie? Please check out some other beginner tutorials first! For example, the switches tutorial.

Note: the mod operand isn't explained in this guide. If you want to know what it does, click here. This guide also doesn't cover map coordinates nor terrain tags. I feel that these will naturally come to you as you get better at the program.

I will not answer questions about variables in this thread, please use the support forum for that. I will however, answer anything about the project itself, or fix any bugs you might encounter and report.

Credit goes to JV Master for the Skip Titlescreen script.
 
Last edited by a moderator:

pesto81

Villager
Member
Joined
Mar 7, 2013
Messages
9
Reaction score
0
First Language
English
Primarily Uses
Thanks for this guide. Enjoy the fish :)
 

ragnawind

Veteran
Veteran
Joined
Jun 3, 2012
Messages
180
Reaction score
5
First Language
English
Primarily Uses
There aren't really any bugs that I noticed, but there are a few lines of text that get cut off, though it is near the end of the text, anyway..
 

Kes

Global Moderators
Global Mod
Joined
Aug 3, 2012
Messages
21,431
Reaction score
10,851
First Language
English
Primarily Uses
RMVXA
Bug report

In Room A1, playing through the first lesson straight presented no problems.  At the end, you are back in the room.  However, if you select the option to hear the lesson again, at the end of it you cannot get out of the loop.  I had the screen showing the variable box, and pressing enter only brought up the choice to hear the lesson again or not.  There was no way to get back to the game itself.

Thanks for making the tutorial.  Once I'm through it I'm sure I shall be a lot more confident about using variables
 

Cartridge

It's all about the guns, man
Veteran
Joined
Aug 28, 2012
Messages
467
Reaction score
21
First Language
Dutch
Primarily Uses
Eh, I already am able to use variables in the most advanced conditions but you're never too advanced to learn, right? *downloads*
 

Celianna

Tileset artist
Global Mod
Joined
Mar 1, 2012
Messages
10,531
Reaction score
5,538
First Language
Dutch
Primarily Uses
RMMV
Bug report


In Room A1, playing through the first lesson straight presented no problems.  At the end, you are back in the room.  However, if you select the option to hear the lesson again, at the end of it you cannot get out of the loop.  I had the screen showing the variable box, and pressing enter only brought up the choice to hear the lesson again or not.  There was no way to get back to the game itself.


Thanks for making the tutorial.  Once I'm through it I'm sure I shall be a lot more confident about using variables
Thanks! It was actually a picture I forgot to erase, it wasn't a loop :)


@Cartridge: you might enjoy the fishing event then.
 

gpgekko

Nevermind me, I'll just cast shadows on your walls
Veteran
Joined
Jan 23, 2013
Messages
114
Reaction score
7
First Language
Dutch
Primarily Uses
Great tutorial, loved it. I always prefer learning through ways that doesn't involve a wall of text. :p
 

Nothing important, but the tables with the open books have an error in their passibility: you can walk over them. :p
 

ShinGamix

DS Style 4Ever!
Veteran
Joined
Mar 18, 2012
Messages
3,906
Reaction score
448
First Language
April Fools
Primarily Uses
N/A
I am going to see what the demo can teach me.

Edit- After 60 lottery tickets I still didn't win.
 
Last edited by a moderator:

gpgekko

Nevermind me, I'll just cast shadows on your walls
Veteran
Joined
Jan 23, 2013
Messages
114
Reaction score
7
First Language
Dutch
Primarily Uses
I am going to see what the demo can teach me.

Edit- After 60 lottery tickets I still didn't win.
Lol, dayum, you're no lucky man... xD I found it easiest to just get a whole bunch of them at once and then opening them in batches. :p
 
Last edited by a moderator:

Rik Vargard

Villager
Member
Joined
Mar 9, 2013
Messages
86
Reaction score
3
First Language
French
Primarily Uses
That was a great tutorial!

Thank a lot!

:) Rik
 

AeonSpark

Veteran
Veteran
Joined
Aug 21, 2012
Messages
102
Reaction score
5
First Language
English
Primarily Uses
Won the lottery on my second try!!

This tutorial was extremely helpful! 

Thank you so much for creating and uploading this Celianna, it was amazingly helpful in learning about variables.

I'm sure I'll be using this guide again and again if I ever need help with variables and common events.

So long and thanks for all the fish. 
 

Sidbot

Villager
Member
Joined
Oct 16, 2012
Messages
21
Reaction score
4
Primarily Uses
This is such an awesome tutorial. It is very helpful!
 

Dragarflash

Villager
Member
Joined
May 26, 2013
Messages
8
Reaction score
2
First Language
Spanish
Primarily Uses
Thank you very much for this, it´s really helpful for the beginners like me. Really nice work.
 

bobisme

Veteran
Veteran
Joined
Apr 25, 2013
Messages
112
Reaction score
4
First Language
english
Primarily Uses
Thanks, great tutorial!

I learnt heaps :)

.. I'm off to rig the lottery!
 

Daughter of Evil

Nightmare Princess
Veteran
Joined
Jun 21, 2013
Messages
147
Reaction score
18
First Language
English
Primarily Uses
This is very helpful for those who are just new to variables and switches
 
Last edited by a moderator:

KyleW17

Villager
Member
Joined
Jun 23, 2013
Messages
5
Reaction score
0
First Language
English
Primarily Uses
Maybe I should play the lottery more often, won it on my first try and even got a special message!

This guide was amazing, I thought I knew how to use variables but this has opened up my eyes to a whole bunch of new ways to use them.
 

GrandmaDeb

Modern Exteriors Posted!
Veteran
Joined
Apr 25, 2012
Messages
4,467
Reaction score
2,886
Primarily Uses
This is superlative! Thanks so much for doing this!


Your explanations are clear and your examples are helpful.
 

Ari

Veteran
Veteran
Joined
Feb 19, 2013
Messages
105
Reaction score
18
First Language
English
Primarily Uses
N/A
I'm a true neophyte and this tutorial was outstanding.  Very creative and well done.  Thanks so much for sharing it!  I'm starting to understand that there is a lot more possible than I thought with this engine, once you begin to understand what's under the hood a bit more.
 

Nosidag

Villager
Member
Joined
Sep 29, 2013
Messages
26
Reaction score
3
First Language
English
Primarily Uses
I still fiind variables kind of confusing, but I know more now then I did before, after playing the demo. The MOST important thing I got from it, was character levels..I got multiple character's in my game, and didn't know what level to make new joining characters, without playing through and estimating. But now I know

all I have to do is make a simple variable event, that will make their levels match my leaders. THANKS! ;)
 

Dark Lord

Villager
Member
Joined
Jan 11, 2014
Messages
10
Reaction score
1
First Language
English
Primarily Uses
Well I hope you all had a very good Christmas and new year,

The Variables tutorial is certainly the best I have seen for a long time.

Very informative,thanks for making it available to each and everyone of us....
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Please support my Lego Ideas Untitled Goose Game set, thanks in advance :) https://ideas.lego.com/projects/2bcb743a-1071-4f44-89f4-97ad6ec27b5d
Here we are....REMIND is out and what am I doing?
Still Playing Kingdom Hearts 3.....
Escort quest is one of the worst quest ever because the AI tend to be suck and suicidal.
New update/finish/fix/upload TODO list:
AddCancelCommand, AutoshadowEx, BgImageScreenShot, BindEvents, ChangeEventGraphic, DroppingGame, EscapeCodesEx, EventTriggersEx, FortuneCookie, GameoverEx, InputEx, InsertValues, LastCalledEvent, LevelUpEx, MapData, MemoryGame, MessageSetSwitch, MogCharPosesEx, MonstersCaught, MovementEx, ...
... continued below...

Forum statistics

Threads
93,582
Messages
913,684
Members
123,121
Latest member
szymek25
Top