Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > Zelaron Gaming > RPGMaker

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next

 
Reply
Posted 2006-07-31, 10:23 AM in reply to achim's post "Help!!!"
Rmxp? Rm2k3?

Nevermind that, it's all the same.

Switch- like a light switch.

If Light=On: Wake up
If Light=Off: Sleep

A switch is something that can determine wether or not to start a proccess, in this case we used something physical, but in the program it uses data.

Let's say you had made a bedroom. Great? No, it needs more. near the door, put an event, and set it to action key.


Conditional branch: if light=off
<>Switchlight=on
Else handler: if light=on
<>Switchlight=off


That's just the basic idea of it, not the actual rpgmaker lingo.
But it does get the point across.

Then, make a 2 page parrellell proccess.


Page 1-Precondition Light=Off
--------
Screen tint dark

Page 2-precondition light=on
--------
Screen tint light


And then you have a light switch which turns the light on and off.

Variables are simple, but no one really tells you what they are.

A variable is like a bag, and there is a variation of what is in that bag. cookie? mouse?

But in the virtual world a cookie is the number 1 and the mouse is number 2.
All they are, and all they will ever be, are numbers.

Lets jump ahead, though.

Say you are making a HUD for your game, like a woodcutting exp bar or something.
You would have a variable entitled woodcutting.
And then along the way, you'll need to make a script, then all you would need to do is set the coordinates to show the variable on your HUD.

Now it's just 0 and your like: ZOMG I BE NOT WORK LOLS

Well, you would need to up it somehow, wouldn't you? Right!
After going through that long procces of figuring out a tree-cutting proccess, at the end of the event when the tree falls, just add, lets say... 5 to variable woodcutting. tada, it now says 5. and through even more tedious work, it could become a level.

Summary is:
Switch is a trigger for events and soforth

Variable is a number that changes and can affect other proccesses(exp is a variable, you know, it's built into the script of rmxp.)
Old
Profile PM WWW Search
Atnas shows clear signs of ignorance and confidence; the two things needed to succeed in lifeAtnas shows clear signs of ignorance and confidence; the two things needed to succeed in life
 
 
Atnas
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 01:49 PM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.