Isometric Story-Driven
Short Hackathon Game
For this project, I developed a dynamic dialogue system in Unity, using ScriptableObjects to structure interactions. The system is composed of several key components:
Page Object: A ScriptableObject representing a dialogue page, which includes NPC Info (acting as an ID) and the dialogue text.
NPC Info: A ScriptableObject serving as the NPC’s ID, containing the NPC’s name, icon, and a talking sprite for simple animations during dialogue.
Sheet: A Scriptable Object that holds a collection of dialogue pages, allowing navigation between different dialogue stages.
NPC Action: A script that holds a Sheet and triggers the dialogue system to begin.
Typewriter Script: A script that animates the text being typed out, with events like "OnLetterTyped", "OnWordTyped", and "OnTypeFinished" for syncing sound effects and signaling when dialogue lines are complete.