Charas-Project

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

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Sort of a looping question
« previous next »
  • Print
Pages: [1]

Author Topic: Sort of a looping question  (Read 1707 times)

Offline Zerlina

  • The Cloud that Rains on Your Parade
  • Exemplar
  • *
  • Posts: 1,871
Sort of a looping question
« on: August 26, 2006, 02:39:59 AM »
Ok new question ^^.


I have a part where you can read a book and there are choices for which chapter to read from. After the chapter, I want it to go back to the index, but I'm not sure how. Because it's done with choices, I don't see how I could use a loop
Logged
Quote from: lucas_irineu
You look like my grandmother.
edit: when she was young. You don't look like you're 80.

Quote from: Dragonium
Last night I had a dream that Zerlina and I were pirates. It was... beautiful.

Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #1 on: August 26, 2006, 02:49:49 AM »
Don't use a loop for this, use a label. So right before the index, add a label (1). Then when you want to go back to the index, jump to label 1.

In any computer programming class you  take, they'll tell you to use loops instead of labels, but in rm2k3 its best to use labels in most cases.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Sort of a looping question
 

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