Charas-Project
Game Creation => RPG Maker => Topic started by: Dogbutt 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.
-
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 #".
-
Oh wait sorry where can I find labels?
EDIT: SORRY NEVER MIND!!! Thank you so much!!
-
Yeah, labels are like, the ****.
-
I love label.
-
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.
-
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?