More Tears Development

I didn’t post about it at the time, but I did a lot more development on Tears of the King last night.  I ended up building the caverns below the mine.  There are two caverns you walk through, which lead you to a much smaller lava cave.  There you find one of the ingredients you need, which causes a boss fight (still slimes!).  I stayed up way too late building all of this, but I’m super happy with how it all turned out, especially the lava cave:

Lava Cavern

Today I haven’t done as much, but I did manage to get some looped branching dialogue into the game, which was pretty exciting.  I added some really simple branching dialogue yesterday after my friend played through what I had at that point.  A priest in the starting village asks you if you want to know more; my friend did, but there was no option and no other dialogue.  So I put a little something in place for now.  So today I decided to put some NPCs in Storm Point (that’s one of the towns).  When I got to the church there, I put in a bit more extensive branching dialogue (there were three choices instead of just two).  But when I tested it I discovered the dialogue would end automatically after you read through one branch.  That really didn’t work in this case, so I had to play around with Loops.  Using a Loop means you can go back to the choices after you play through the dialogue options.  Here was what I ended up with (just playing through one branch):

Here’s how you make this happen:

  1. On your event page, first choose a Loop (it’s under Flow Control).
  2. Next, choose Show Choices (under Message).  You’ll get to make a few choices (the default ones are Yes and No).   Put your dialogue in place as you normally would  (under Message, Show Text, then choose a picture and write some dialogue).
  3. Finally, on the choice that will end the dialogue, put a Branch End into it (that’s also under Flow Control).

Here’s a simplified version of what your event page should look like:

How to make looped branching dialogue

When I was trying to make this work, I started with writing the choices, then tried to make a loop happen afterwards.  If that’s the case, you can just cut the whole choice and paste it into a loop.  Don’t forget to put the Branch End in or else the dialogue will never be able to end!

Advertisement

Leave a comment

Filed under Game Development, Tools

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s