Variables are just a value that you can set to a number or do a mathematical operation on. Nothing special. This might help you:
Try playing around with a variable. Call variable 001 like TEST VARIABLE or something. Then have some event that modifies that variable in some way. Adding, Subtracting, Modulus, try out everything. Have them all in different events so you see what each thing does. Press F9 while testing your game and press left and you should see the variables. Go to the variable you are using, and see the value of it. If you haven't done anything to it, it should be 0. Or have a message after you change something in the variable. Use this: /v in a message to show the value of the variable. Replace the 1 with whatever variable number you're using.http://i.imgur.com/8koNH.png
A simple event from a project I'm working on, showing that. Each frog you get adds one to a variable, and I just use /v (The variable I added it in) to show it in the message.
A gauge is built off of that knowledge, just combining it with pictures basically. Get step one down first and then we'll get to that!
This post has been edited by Oceans Dream: Jun 13 2011, 12:00 PM