Update 4 Talking
Hello everyone! 👋
I finally managed to put together an MVP for the dialogue system — and it turned out to be way more challenging than I originally expected. The feature is still a bit rough around the edges and will need some polishing, but the foundation is in place and I can now build on top of it.
Here’s what I have so far:
-
A new mechanic has been added to the agents: talking.
-
NPCs can only talk to agents they are already familiar with (I wrote earlier about the “acquaintance” system).
-
When an NPC wants to talk to someone, they walk up to that character (sometimes they both decide to talk to each other at the same time 😅).
-
Once in the dialogue zone, the NPC sends a proposal to start a conversation — the other NPC can either accept or reject it.
-
If the proposal is accepted, the two NPCs start exchanging phrases. Above their heads, speech bubbles appear with icons that represent the type of phrase being spoken.
-
These icons are only visible when the camera is zoomed in close enough, and they disappear once the player zooms out.