iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

The 2nd Quarter Contest has arrived! Go check it out in the Community Announcements now!

> Note for Tutorial Threads

New threads (tutorials) here will go into a moderation queue. You will not see your thread appear when you create it. A moderator will decide if it will be approved or denied.

3 Pages V   1 2 3 >  
Reply to this topicStart new topic
> [-Other-] Beginner's Guide to Variables, Version 2.0 is out! Check out the new mini-game!
Rating 4 V
Celianna
post Apr 17 2010, 07:05 PM
Post #1



Group Icon


Type: Artist
Alignment: Chaotic Evil




Celianna's
Beginner's Guide to Variables

Version 2.0

DOWNLOAD LINK VERSION 2.0 (without RTP data): http://www.mediafire.com/?zmvylnz3tim
Mirror link: http://www.4shared.com/file/cHhR4h44/Begin..._Variables.html

The file is packaged into a .rar file and you need WinRAR (or something equivalent) to unpack it.

Variables not working right? Please update your game interpreter and fix your variables!

NOTE:
While this is a guide for beginners, you still need some general knowledge about RPG Maker VX. You need to know what switches, conditional branches and what event pages are - and how to use them. If you don't know, then I would happily suggest you play through Aindra's School before playing this guide.

Information
This guide is meant for teaching people who are confused how variables work, and what you can do with them. I made a guide in the form of a game that you can play through, and once done, you can look inside the game's events to see how everything was set up. I hope I explained it right (and correct ... haha), and I hope the small examples of what you can do with variables will help.

There are 5 rooms in this game that teaches the player how to use variables. Then there's an outside map in which I created a few mini-games using only variables, conditional branches and sound effects. Once you've looked through all the room's events, you can go ahead and check out the events for the outside map and try to figure out why those events are set up like that.

If anyone who plays through this game and finds bugs, and or spelling errors, please report them to me so I can fix it!

That said, happy playing!

Tips & Tricks covered in this tutorial:
- How to activate an event page through the use of a variable
- How to 'collect items' and keep track of them
- How to check the amount of an item in the inventory
- How to decrease a player's gold with variables
- How to use the 'random' feature with variables
- How to create a custom timer with images

Mini-games made with variables
I fixed up a few mini-game events consisting of variables that I'm sure you'll find very useful. Some mini-games I created in the guide;
- A lottery event
- A bank event
- A fishing event
- A digging gold in dirt event
- A catching chickens event
- A collecting event
- A timer

I don't mind if you copy the entire event and use it in your game. Credit isn't needed either.

Spread the word!

CODE
[url="http://www.rpgmakervx.net/index.php?showtopic=29354"][img]http://i5.photobucket.com/albums/y195/BabyPinkFireFly/userbarvariablesguide.png[/img][/url]


Screenshots of the guide




Go to the top of the page
 
+Quote Post
   
Yami
post Apr 20 2010, 06:24 PM
Post #2


Girl with an aura
Group Icon


Type: Designer
Alignment: Chaotic Neutral




Wow wink.gif
This looks nice.
It would be helpful to lots of people who don't know how to use variables to do awsome stuff.
Let me try this out

EDIT: Room 4's door doesn't work (no transfer event ), and the character hasn't been direction fixed in some of the event pages in @_@

This post has been edited by Yami: Apr 20 2010, 06:59 PM


--------------------

Spoiler:
Go to the top of the page
 
+Quote Post
   
Celianna
post Apr 20 2010, 07:01 PM
Post #3



Group Icon


Type: Artist
Alignment: Chaotic Evil




QUOTE (Yami @ Apr 20 2010, 09:24 PM) *
Wow wink.gif
This looks nice.
It would be helpful to lots of people who don't know how to use variables to do awsome stuff.
Let me try this out wink.gif

EDIT: Room 4's door doesn't work (no transfer event wink.gif ), and the character hasn't been direction fixed in some of the event pages in wink.gif



I could have sworn I entered every room XD

Also the direction fix, thanks for pointing that out - I keep forgetting to tick that thing X_X

Version 1.1 is on its way!

Edit: Bugs fixed, and I even added another event inside the game, a banking event biggrin.gif
Go to the top of the page
 
+Quote Post
   
MagicKid
post May 5 2010, 05:51 AM
Post #4


I walk into walls.
Group Icon


Type: Writer
Alignment: Chaotic Evil




Downloading now, and it looks okay. I pretty much suck at variables so this might help me for making my new game.


--------------------
QUOTE (CUTmayne @ Aug 4 2010, 01:20 AM) *
paying for rm resources is like paying for porn.

I'm back! And I'm more mature than the last time you saw me. I hope.
Go to the top of the page
 
+Quote Post
   
Celianna
post May 5 2010, 06:04 AM
Post #5



Group Icon


Type: Artist
Alignment: Chaotic Evil




QUOTE (MagicKid @ May 5 2010, 08:51 AM) *
Downloading now, and it looks okay. I pretty much suck at variables so this might help me for making my new game.


Wow, but you've been here for a while, figured you had it down already haha. Well tell me if it helped, and post any bugs and or spelling errors.
Go to the top of the page
 
+Quote Post
   
MagicKid
post May 5 2010, 07:43 AM
Post #6


I walk into walls.
Group Icon


Type: Writer
Alignment: Chaotic Evil




That tutorial really helped me with variables and I made a fetch-the-cactus quest. tongue.gif


--------------------
QUOTE (CUTmayne @ Aug 4 2010, 01:20 AM) *
paying for rm resources is like paying for porn.

I'm back! And I'm more mature than the last time you saw me. I hope.
Go to the top of the page
 
+Quote Post
   
Cyl
post May 6 2010, 09:11 AM
Post #7


inactive.
Group Icon


Type: Coder
Alignment: Neutral Good




It's a little too flashy for a tutorial laugh.gif

Nicely done!


--------------------
One word:
Paradichlorobenzene

(Currently inactive)
Go to the top of the page
 
+Quote Post
   
Celianna
post May 6 2010, 06:13 PM
Post #8



Group Icon


Type: Artist
Alignment: Chaotic Evil




QUOTE (Cylindrical @ May 6 2010, 12:11 PM) *
It's a little too flashy for a tutorial laugh.gif

Nicely done!


Flashy, how so? tongue.gif
Go to the top of the page
 
+Quote Post
   
MagicKid
post May 7 2010, 07:07 AM
Post #9


I walk into walls.
Group Icon


Type: Writer
Alignment: Chaotic Evil




Hmm... this tutorial helped me.

I suck at variables, and btw, you called the file "Beginner's Guide to Vairbles". Lol. xD


--------------------
QUOTE (CUTmayne @ Aug 4 2010, 01:20 AM) *
paying for rm resources is like paying for porn.

I'm back! And I'm more mature than the last time you saw me. I hope.
Go to the top of the page
 
+Quote Post
   
Celianna
post May 7 2010, 02:32 PM
Post #10



Group Icon


Type: Artist
Alignment: Chaotic Evil




QUOTE (MagicKid @ May 7 2010, 10:07 AM) *
Hmm... this tutorial helped me.

I suck at variables, and btw, you called the file "Beginner's Guide to Vairbles". Lol. xD


I know haha (really bad typo), but I can't change the file name unless I upload a new one again, so I figured ... meh! XD
Go to the top of the page
 
+Quote Post
   
MagicKid
post May 7 2010, 02:36 PM
Post #11


I walk into walls.
Group Icon


Type: Writer
Alignment: Chaotic Evil




Lazy. sleep.gif Have fun not-fixing-the-worst-typo ever.

^^ This is the worst typo ever: samp instead of spam xD


--------------------
QUOTE (CUTmayne @ Aug 4 2010, 01:20 AM) *
paying for rm resources is like paying for porn.

I'm back! And I'm more mature than the last time you saw me. I hope.
Go to the top of the page
 
+Quote Post
   
RyouKachi
post May 8 2010, 08:24 AM
Post #12



Group Icon


Type: Designer
Alignment: Chaotic Evil




Its surprising how many people don't know how to use variables, I found them simple from day 1. Then again on day 1 I already made a skill shop and character select system, then an evented shop screen within a week...

I'll check it out happy.gif .


--------------------
Five things I would tell other RMers:
-Frankenspriting is really easy, anyone can have a go for great results.
-What matters is not the script but how you use it
-NEVER underestimate the power of events.
-When using RTP remember Vibrato and recolours.
-Use the wondereous substance know as paper (plan, note and sketch your work)

My most epic IRC moment ever:
Spoiler:
* RyouKachi iniates a staring contest
<+CaptainJet> you're gonna lose
<RyouKachi> I WON'T LOOOOSE!
<+CaptainJet> you already did
<RyouKachi> Oh shit
<RyouKachi> Damn you JEEEEET!
<+CaptainJet> ;)
<RyouKachi> I'm too psyched to give up I shall see through time itself and stare UNTIL I WIN!
<+CaptainJet> well...
<+CaptainJet> you lost
<+CaptainJet> i see it already
<+CaptainJet> in the future
<RyouKachi> The future is not set in stone, I can change it!
<+CaptainJet> no you can't
<+CaptainJet> i also knew you'd say that
<+CaptainJet> and i know what you'll say next
<RyouKachi> Predictions cannot bind me I am RyouKachi.
<RyouKachi> I am my own man.
<RyouKachi> The future is shaped by ME!
<+CaptainJet> nope
<+CaptainJet> sorry to break it to ya bud
<+CaptainJet> i set the future
<RyouKachi> Then...
<RyouKachi> YOU ARE IN MY WAY!
<+CaptainJet> i am your way
<+CaptainJet> :|
<RyouKachi> INFINITE SOURCE OF EPIC I CALL APON YOU
<+CaptainJet> upon*
<RyouKachi> I DEFINE SPELLING
<+CaptainJet> no, i do
<+CaptainJet> since i set the future of the person who created english spelling
<RyouKachi> GURREN LAGANN
<+CaptainJet> :|
<RyouKachi> Kick reason to the curb and break through the impossible!
<RyouKachi> Who the hell do you think I am!
<RyouKachi> GIGA
<RyouKachi> DRILL
<RyouKachi> BREAKER!!!!!
<+CaptainJet> :|
* RyouKachi is now known as RYOUKACHI
<+CaptainJet> :"|
<RYOUKACHI> Capital letters cannot define the epic
<+CaptainJet> yeah, that's why i don't capitalize my name
<RYOUKACHI> Rule of Cool: If it's cool then it's possible.
<+CaptainJet> no...
<RYOUKACHI> I am a human a living thermo-dynamic miracle, I can do anything.

* Dissonance (~Dissonanc@93139DB9.3DF1602D.38BB7985.IP) Quit (naamio.fi.eu.synirc.net thoth.hub.eu.synirc.net)
* &Touchfuzzy (~IceChat7@CABEB43A.693AA8F5.657E0562.IP) Quit (naamio.fi.eu.synirc.net thoth.hub.eu.synirc.net)
* Shiro (Mibbit@synIRC-C777CA08.chi01.dsl-w.verizon.net) Quit (naamio.fi.eu.synirc.net thoth.hub.eu.synirc.net)
* gonezoles (~bre@synIRC-2750A7DD.hr.hr.cox.net) Quit (naamio.fi.eu.synirc.net thoth.hub.eu.synirc.net)
* &X (generic@botserv.synirc.net) Quit (naamio.fi.eu.synirc.net thoth.hub.eu.synirc.net)
* Snacks (Snacks@synIRC-77B9841.hsd1.ma.comcast.net) Quit (naamio.fi.eu.synirc.net thoth.hub.eu.synirc.net)
* DeviBOT (~DeviBOT@D8C7C2CE.95BA9E12.3E68EF55.IP) Quit (naamio.fi.eu.synirc.net thoth.hub.eu.synirc.net)
* boon (~boon@synIRC-71559BEA.range86-158.btcentralplus.com) Quit (naamio.fi.eu.synirc.net thoth.hub.eu.synirc.net)
* @Mithran (Mithran@synIRC-19B73521.static.rvsd.ca.charter.com) Quit (naamio.fi.eu.synirc.net thoth.hub.eu.synirc.net)
* +Jaeroll (~chatzilla@synIRC-9FE553DE.dyn.embarqhsd.net) Quit (naamio.fi.eu.synirc.net thoth.hub.eu.synirc.net)
* +CaptainJet (~chatzilla@synIRC-FAC5E26A.pools.spcsdns.net) Quit (naamio.fi.eu.synirc.net thoth.hub.eu.synirc.net)
* cyangmou (~cyangmou@synIRC-115AE74B.adsl.highway.telekom.at) Quit (naamio.fi.eu.synirc.net thoth.hub.eu.synirc.net)
* +InconspiciousBox (~chatzilla@synIRC-916B2F5E.dhcp.bluecom.no) Quit (naamio.fi.eu.synirc.net thoth.hub.eu.synirc.net)

<RYOUKACHI> Wow
<RYOUKACHI> I can do anything


I support:
Spoiler:















And lastly I made a blog, check it out here:
Ryou's Work Reports
(Blog last updated on 09/10/2010)
Go to the top of the page
 
+Quote Post
   
kirinelf
post May 8 2010, 11:28 AM
Post #13


The Fallen Angel
Group Icon


Type: Writer
Alignment: Neutral Good




I got them pretty easily too. But I didn't do the things you did. O_O


--------------------
Go to the top of the page
 
+Quote Post
   
Celianna
post May 8 2010, 07:31 PM
Post #14



Group Icon


Type: Artist
Alignment: Chaotic Evil




QUOTE (kirinelf @ May 8 2010, 02:28 PM) *
I got them pretty easily too. But I didn't do the things you did. O_O


Well variables can do lotsa things! Sometimes even I'm surprised what I can manage to do with them. Seeing how other people use variables is actually a good learning experience for me XD
Go to the top of the page
 
+Quote Post
   
CastleConspiracy
post May 13 2010, 02:39 PM
Post #15


Game in the making: Castle Conspiracy
Group Icon


Type: Undisclosed
Alignment: Lawful Good




Very good guide..

Tough, i did not understand much of it sad.gif
Go to the top of the page
 
+Quote Post
   
Celianna
post May 13 2010, 03:15 PM
Post #16



Group Icon


Type: Artist
Alignment: Chaotic Evil




QUOTE (CastleConspiracy @ May 13 2010, 05:39 PM) *
Very good guide..

Tough, i did not understand much of it sad.gif


Why's that? Did you look through the events and read the comments?
Go to the top of the page
 
+Quote Post
   
Rukiri
post May 15 2010, 12:54 AM
Post #17



Group Icon


Type: Spriter
Alignment: Chaotic Good




This is very useful for beginners!


--------------------
Sapphire Game Productions
- Follow your dreams to the very end..

::.RPGDev - Opening doors to new worlds // Under-construction

Projects:
Spoiler:

Dragon Ball Story

Sprites:: 2%
Maps:: 0%
Music:: "Deciding"(Kenjis or Shunsukes score)
Scripts: 1%
Events:: 0%
Database:: 1%
A-BS:: 0%
Go to the top of the page
 
+Quote Post
   
Hyuga Tylor
post May 31 2010, 09:32 AM
Post #18



Group Icon


Type: Undisclosed
Alignment: Chaotic Good




This looks very promising, I will practice with it later.


--------------------

Go to the top of the page
 
+Quote Post
   
Cyl
post May 31 2010, 09:11 PM
Post #19


inactive.
Group Icon


Type: Coder
Alignment: Neutral Good




Dammit, it took me forever to win that lottery. D-:<
Anyways, you did a good job. I personally like the fishing one, probably because of the balloons.

I know you have the ability to create a 'Hit On' Gauge where there is a bar with a part of it whited out and a small line going back and forth and the player will have to press a button when the line is on the white part of the bar. >_>

I did this once with variables and you might want to put it there, under 'Advanced Variable Usage' or something like that.

BTW: Candy cane borders? ftw.


--------------------
One word:
Paradichlorobenzene

(Currently inactive)
Go to the top of the page
 
+Quote Post
   
Celianna
post May 31 2010, 09:22 PM
Post #20



Group Icon


Type: Artist
Alignment: Chaotic Evil




QUOTE (Cylindrical @ Jun 1 2010, 12:11 AM) *
Dammit, it took me forever to win that lottery. D-:<

Would you believe me if I told you on my first test run, I got it on my first try?

QUOTE
I know you have the ability to create a 'Hit On' Gauge where there is a bar with a part of it whited out and a small line going back and forth and the player will have to press a button when the line is on the white part of the bar. >_>

I did this once with variables and you might want to put it there, under 'Advanced Variable Usage' or something like that.


That's some very advanced stuff! I don't think this would fit in a beginner's guide, but it would fit in an advanced guide, which might be a good idea to make. Maybe. Sometime tongue.gif
Go to the top of the page
 
+Quote Post
   

3 Pages V   1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 20th April 2014 - 05:48 PM

RPGMakerVX.net is an Privacy Policy, Legal.