3 ms·
Directed graphs are also a great way to create scripted dialogues and quests for games. Visually, a DG for your game dev is quite powerful and makes it very eas
by viperscape 11y ago
Directed graphs are also a great way to create scripted dialogues and quests for games. Visually, a DG for your game dev is quite powerful and makes it very easy to reason about what's going on in the game story. I don't think the same can be said for coroutines hard coded in c++. In addition, it's easy to find a cycle in a graph, I'm not sure the same can be said for a coroutine.
Here's a site to give some interest: http://twinery.org/ http://twinery.org/
- vmorgulis 11y agoVery interesting. I can add Inform 7 and rule-based programming of text-based fiction: http://eblong.com/zarf/essays/rule-based-if/ http://eblong.com/zarf/essays/rule-based-if/ http://inform7.com/ http://inform7.com/