I just wanted to say how much I’ve enjoyed the RPG courses, and how much I’ve learned. Thank you for that, GameDevTV!
The only thing that I wasn’t completely happy with was the way that the dialogue progressed in the UI, where a question would be asked, then I’d have to click “next” to get my list of answers. I took the knowledge I gained and changed the way that the dialogue worked.
I created a DialogueModel class, which essentially builds an entire dialogue event. PlayerConversant calls it’s Build method with the current DialogueNode, and DialogueModel traverses through the node’s children to build a model of that interaction, then this is passed to the DialogueUI.
Sounds complicated, but it allows me to have the question and answers on the same UI, and I also built-in Localization and AudioClips.
It’s essentially using a form of Model (DialogueModel), View (DialogueUI), Controller (PlayerConversant) methodology, and even though DialogueModel ended up being WAY more complicated and finicky than I anticipated, it works great.
Thank you GameDevTV for firing my imagination and motivating me to test my programming skills!