Dialoguesmith
A simple dialogue tree editor developed generally for unity. Now available at https://github.com/code51/dialoguesmith under license MIT. It'll mainly be used for Bad Pirates, while keeping the feature open for most kind of games.
Features
dialogue tree editor
Edit your dialogue tree through editor. access through Window/Dialoguesmith menu.
multi-texts
- A dialogue can have more than one text reserves which can be used for
- a complete runthrough. a convenience without needing to create many dialogues for a single actor.
- a single randomly picked text
actor
- a tree can have many dialogue actor
- it's not necessarily a name of the actor. it can be an id as a reference to your game actor.
variables
- automatically list the variables found inside the texts/option texts under format {variable_name}
implementation through factory and builder
- a factory/builder to help with the creation of the dialogue runtime. sample can be found in samples/sample1/DialogueUIController.cs
tons of listeners
- listeners to listen on number of dialogue events
- a factory only have a basic listeners for tree begin, finished, dialogue ready etc. this is used to help with UI building.
- while a builder can have more dialogue specific listeners. this can be used for more sophisticated dialogue building.
So far, there's no planning for the variable usage other than being in text. So, there'll be no conditional implementation, at least for now, unless there's a necessity for bad pirates.
No comments:
Post a Comment