VN - Mini-games between Dialogue entries

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Cussa
Posts: 22
Joined: Sat Jun 03, 2023 3:50 am

VN - Mini-games between Dialogue entries

Post by Cussa »

Hello,

(First of all, sorry that I am opening several topics, but I believe that it will help people later to search if they face a similar problem!)

I am working a visual novel game that has several dialogues. One of the ideas is that some choices could lead players to a mini-game.
Imagine the following:

Code: Select all

- The player wants to enter on a bar
- The security guy will not allow him at first
- He can:
  - Bribe the guy (I update the money to remove the value from the bribe)
  - Shows that he is allowed to enter in the bar (if he has a item in the inventory)
  - Fight the guy
The fight the guy option would start a mini-game, where player will, for example, play a jo-ken-po.

I am trying to figure out the best way to handle this case.

The idea is that after the mini-game, the conversation will continue from where it stoped. Depending on the "result" of the mini-game, the Dialogue system should use the correct choice there.

I was thinking about using the LoadScene of the Sequence to do that, but that would mean that I would need to do some control to later on continue the conversation from that point.

Could you please advise what would be the best way to do that?

many thanks

Cussa
User avatar
Tony Li
Posts: 20780
Joined: Thu Jul 18, 2013 1:27 pm

Re: VN - Mini-games between Dialogue entries

Post by Tony Li »

Hi,

Use WaitForMessage() as described in this post.
Post Reply