Narrative Plugin
A downloadable tool
Download NowName your own price
A small plug in to easily make narrative game branches and choices
It consists on some key classes and elements:
- Keyword: Keyword is what will determine if a dialogue can be triggered or not. For example if the user has keyword "key" the dialogue will be "you found my key!" if not, it will be "Can you please help me find my key?"
- KeywordListSO - A scriptable object where you store all the Keywords that will be present in the game, there should only be one on the project.
- KeywordManager - The manager responsible dealing with keywords, it checks if the user has a keyword and the state of it. It should be present in your scene.
- DialogueSO - A scriptable object where you store all the information regarding a dialogue. It has information like the name of the character, sprite and information about the different dialogue sequences. Default sequences will be the ones the character will say normally, it chooses one of those sequences randomnly so you don't always see the same one. Keyword Sequences are sequences that require the user to have that keyword, and when it is available the user will be able to choose seeing that sequence.
- Dialogue Controller. The one responsible for taking a DialogueSO and determine wich sequence should be shown as well as the progress inside that sequence. It should be a compononent of every character you want to have a dialogue.
- UIManager. The one responsible for communicating to the view elements what they should be seeing. It also tells the Dialogue controllers when the user selected a keyword.
Download
Download NowName your own price
Click download now to get access to the following files:
Narrative-Plugin.unitypackage 1.3 MB
Leave a comment
Log in with itch.io to leave a comment.