Page 1 of 1

VN - Mini-games between Dialogue entries

Posted: Wed Apr 03, 2024 1:40 pm
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

Re: VN - Mini-games between Dialogue entries

Posted: Wed Apr 03, 2024 2:35 pm
by Tony Li
Hi,

Use WaitForMessage() as described in this post.