Dialogue + Relationship Manager - Bojinca Ioana-Lucia and Ion Corina #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The implemented feature is a 2D Dialogue and Relationship Manager.
The dialogue will be displayed in a UI panel element. The user goes through the dialogue by pressing the “D” key.
At certain points, the player can respond to the dialogue by clicking one of two choices.
These choices affect the relationship the player has with the ‘narrator’ character. Each choice has a positive or negative effect on the relationship, based on the action chosen. The changes in the relationship can be viewed in the Slider (value and color changes) as well as in the Text element below the slider (will display “relationship points” and the current relationship - friendly, neutral, unfriendly or hostile).
The multiple choice dialogue was created using the Ink editor and Unity Package. When adding another character with its own dialogue, a DialogueTrigger script must be attached to the respective NPC. The script will contain a reference to the NPC's own dialogue .ink file (each NPC with separate dialogue should have its own separate ink file).
Dependecies: Ink (https://www.inklestudios.com/ink/)
Tasks:
Ion Corina - creating the dialogue logic, testing the demo
Bojinca Ioana - created the relationship manager logic
Video demo of the feature can be seen below.
https://user-images.githubusercontent.com/61358172/154601651-1376b728-3d59-40ac-b51b-a975acc27cfa.mov