No description
Find a file
2025-11-16 22:46:20 +01:00
Ink Removed meta files for clearer structure 2025-11-16 22:46:20 +01:00
.gitignore Initial commit 2025-11-16 20:34:15 +00:00
Dialogue.cs Added dialogue system code 2025-11-16 22:34:31 +01:00
DialoguePlayer.cs Added dialogue system code 2025-11-16 22:34:31 +01:00
DialogueTrigger.cs Added dialogue system code 2025-11-16 22:34:31 +01:00
DialogueUIControl.cs Added dialogue system code 2025-11-16 22:34:31 +01:00
LICENSE Initial commit 2025-11-16 20:34:15 +00:00
README.md Fixed syntax in ReadMe 2025-11-16 22:38:18 +01:00

Dialogue System

This dialogue system was created during a 7 day game jam. Its purpose is to display text per line like dialogues in Animal Crossing or Stardew Valley.

The strong point of this system is clearly its interchangeable user interface because the dialogue logic is decoupled from the displaying UI. This is achieved by using a static event which propagates the next dialogue line. You can display dialogues pretty default in a text box or you could create a smartphone UI in which each dialogue line gets displayed as a message.

If this would be a full blown system and not just a game jam solution I would consider replacing the static event with an event bus implementation. Also it stands to reason that a service locator would be more suitable instead of a singleton.