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 »
  • RPG Maker »
  • Need help with figuring out how to edit choices now!
« previous next »
  • Print
Pages: [1]

Author Topic: Need help with figuring out how to edit choices now!  (Read 6509 times)

Offline Dogbutt

  • Initiate
  • *
  • Posts: 3
Need help with figuring out how to edit choices now!
« on: September 01, 2013, 07:39:30 PM »
Hey! I'm kinda new to all this jazz so sorry if I ask this stupid question, but I was wondering if it's possible to make choices loop?

Let me be a bit more specific

See the picture? I'm trying to make it so after the dialogue for any of those choices is done, it loops back here. But the problem is,  it keeps looping back to the dialouge BEFORE the choices. So I was wondering if it is possible to make it loop properly? So if I am being vague or unspecific


Figured this out!! Now I need to know to like, delete all the dialogue from a whole choice without having to do it one at a time.
« Last Edit: September 02, 2013, 06:31:44 PM by Dogbutt »
Logged

Offline Meiscool

  • Staff
  • Exemplar
  • *
  • Posts: 1,138
  • I died for YOUR sins.
Re: Need some help with loops! (And maybe other things!)
« Reply #1 on: September 01, 2013, 07:59:11 PM »
Labels work better than loops in this kinda case. Just place a "label #" right before the choices, and when you want it to go back to that place, use "jump to label #".
Logged

Offline Dogbutt

  • Initiate
  • *
  • Posts: 3
Re: Need some help with loops! (And maybe other things!)
« Reply #2 on: September 01, 2013, 08:16:36 PM »
Oh wait sorry where can I find labels?

EDIT: SORRY NEVER MIND!!! Thank you so much!!
« Last Edit: September 01, 2013, 08:22:22 PM by Dogbutt »
Logged

Offline Prpl_Mage

  • Administrator
  • Sage
  • *
  • Posts: 7,645
  • The Administrator Mage
    • Check out our itch website
Re: Need some help with loops! (And maybe other things!)
« Reply #3 on: September 01, 2013, 09:00:01 PM »
Yeah, labels are like, the ****.
Logged
Cool RPGM Project!
Sprite till you die

Oh my god, this was ...10 years ago...

Offline zuhane

  • Freakalicious
  • Leader
  • *
  • Posts: 2,192
  • Kill me
Re: Need some help with loops! (And maybe other things!)
« Reply #4 on: September 01, 2013, 10:27:00 PM »
I love label.
Logged
Geese ruined my life.

https://soundcloud.com/tom-kingston-3/geese

Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
Re: Need some help with loops! (And maybe other things!)
« Reply #5 on: September 02, 2013, 08:04:16 AM »
So contrary to what everyone just said, labels are terrible! If you ever do any real software engineering and use a label, people will flame you like no other because labels are a really bad practice and are just plain messy. A much better approach is:

[loop]
-show dialogue
-(dialogue choices)
-[ask about personal live handler]
-- (messages about personal life)
-[ask about others handler]
-- (messages about others)
-[ask about voting handler]
-- (messages about voting)
-[I'm done handler]
-- BREAK OUT OF LOOP
[End Loop]
(continue with whatever else)


In summery, labels are a quick and dirty way to jump around in code, but they are very messy as in they are hard to follow when you're trying to read code, plus if you ever want to expand your code, it is more difficult. There is ALWAYS an alternative to using labels, and the alternative is always better. Learning how to code cleanly will save yourself many headaches in the future.
 
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

Offline Dogbutt

  • Initiate
  • *
  • Posts: 3
Re: Need some help with loops! (And maybe other things!)
« Reply #6 on: September 02, 2013, 05:04:25 PM »
Ah I'm not very savy with code and any of that jazz, and so far labels seem fine to me through the tests??

Ah but anyway OK now I have a new problem! In game, there's this huge wall of text that takes place under a choice. Is it possible to delete that whole choice and get rid of all the dialogue without having to delete every single action individually?
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • RPG Maker »
  • Need help with figuring out how to edit choices now!
 

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