Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • Conditional branch / Fork condition
« previous next »
  • Print
Pages: [1]

Author Topic: Conditional branch / Fork condition  (Read 2739 times)

Offline maxine

  • Average scripter
  • Zealot
  • *
  • Posts: 736
  • ¨Dude i am 16 with 2 balls and hair
Conditional branch / Fork condition
« on: June 24, 2005, 09:55:10 AM »
Well ive had the game for 2 and a half week now. And i think i get conditional branch variables and switches pretty good. So i wanna show how i experience the fork condition / conditional branch.

I will name it Fork in my text just too make it faster written.


Fork: is a very good thing that helps in RM2K(3). It can make different things either if u have or dont have a specific item or Lv or whatever. Ex. Make a fork You make a rock block a gate.

Put a conditional branch too it which contains a switch

call it "Blocking rock" or something. And lets say you can find a hammer in a town before this rock. Then when u get the hammer u activate this switch. And then when ur pressing the rock it plays a sound and boom the rock is gone.... And the fork makes it like if u dont have operated the switch.. You have an else case. There u can type a message saying "Damn its too heavy too move"...

Actually this case can be done just with one switch but it was an example.

So for another one including variables. You make a variable with the number operad 100 or greater than. (This i mean money). Then put a fork which will give u something special is u have 100 money or more. And if u dont u just put a message "sorry u need at least 100 gold or whatever money u have).

I made it all up while writing and its pretty obvious but it can help if you think twice. And this function really helps in games.

Variables + Switches + fork = A large ammout of percent of the game
Logged
Frontline Fighters Platoon Multigaming Clan

Offline Dashman

  • Just too cool for this planet
  • Associate
  • *
  • Posts: 237
  • i like food
(No subject)
« Reply #1 on: June 24, 2005, 02:35:49 PM »
A simple, but good one
Logged

Offline maxine

  • Average scripter
  • Zealot
  • *
  • Posts: 736
  • ¨Dude i am 16 with 2 balls and hair
(No subject)
« Reply #2 on: June 24, 2005, 06:13:17 PM »
Yep. But since i have only had the game less than 3 weeks its good 4 me :D
Logged
Frontline Fighters Platoon Multigaming Clan

Offline WarxePB

  • Action Sue
  • Royal
  • *
  • Posts: 3,601
  • What killed the dinosaurs?
    • The Gigaverse
(No subject)
« Reply #3 on: June 24, 2005, 06:27:41 PM »
I'll leave it at "good... for your first tutorial". Also, I would recommend learning a bit more about English grammar before writing another tutorial (not meant to be offensive in any way). But the tutorial is good, albeit a bit simple.
Logged
Blog: The Gigaverse
Twitter: Initial Chaos

Offline SkankyNugget

  • Member
  • Initiate
  • *
  • Posts: 1
(No subject)
« Reply #4 on: October 03, 2007, 03:35:39 PM »
it's simple stuff like this that helps out the noobs. and i thank you  :bend:
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • Tutorials »
  • Conditional branch / Fork condition
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum