Skip to content

Commit 9f7ff32

Browse files
committed
Add more docs and refine website further
1 parent 14b35ed commit 9f7ff32

File tree

16 files changed

+314
-53
lines changed

16 files changed

+314
-53
lines changed

.gitattributes

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* text=auto eol=lf
33

44
# Only include the addons/parley folder when downloading from the Asset Library.
5-
/** export-ignore
6-
/addons/parley !export-ignore
5+
** export-ignore
6+
/addons !export-ignore
7+
/addons/* export-ignore
8+
/addons/parley !export-ignore
79
/addons/parley/** !export-ignore

README.md

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
Parley is an addon for [Godot 4.4+](https://godotengine.org/) that provides a
44
graph-based dialogue manager for easy writing, testing, and running of dialogue
5-
sequences at scale. Write your dialogue sequences by defining the graph for your
6-
dialogue sequence which are backed by a well-defined Dialogue AST for easy
7-
management and integration within your game.
5+
sequences at scale and is designed to be used by game writers and developers
6+
alike.
87

9-
<!-- TODO: check the link -->
10-
<!-- TODO: credits and licensing -->
8+
Write your dialogue sequences by defining the graph for your dialogue sequence
9+
which are backed by a well-defined Dialogue AST for easy management and
10+
integration within your game.
1111

1212
You can install it via the Asset Library or
1313
[downloading a copy](https://github.com/bisterix-studio/parley/archive/refs/heads/main.zip)
1414
from GitHub.
1515

1616
[![GitHub Licence](https://img.shields.io/github/license/bisterix-studio/parley?style=flat-square)](https://raw.githubusercontent.com/bisterix-studio/parley/main/LICENSE)
1717

18-
![Example usage of Parley](docs/img/parley.png)
18+
![Example usage of Parley](https://parley.bisterixstudio.com/illustration/parley-graph-view.gif)
1919

2020
## Table of contents
2121

@@ -34,15 +34,15 @@ Installation Features Examples Support Useful links Licence Contributions
3434
## Features
3535

3636
- An easy to use and well-defined Graph Editor
37-
- A wide variety of nodes for maximum flexibility:
38-
- [Dialogue](docs/nodes/dialogue_node.md)
39-
- [Dialogue Option](docs/nodes/dialogue_option_node.md)
40-
- [Condition](docs/nodes/condition_node.md)
41-
- [Match](docs/nodes/match_node.md)
42-
- [Action](docs/nodes/action_node.md)
43-
- [Group](docs/nodes/group_node.md)
44-
- [Start](docs/nodes/start_node.md)
45-
- [End](docs/nodes/end_node.md)
37+
- A wide variety of nodes for maximum flexibility and creativity:
38+
- [Dialogue](https://parley.bisterixstudio.com/docs/nodes/dialogue-node)
39+
- [Dialogue Option](https://parley.bisterixstudio.com/docs/nodes/dialogue-option-node)
40+
- [Condition](https://parley.bisterixstudio.com/docs/nodes/condition-node)
41+
- [Match](https://parley.bisterixstudio.com/docs/nodes/match-node)
42+
- [Action](https://parley.bisterixstudio.com/docs/nodes/action-node)
43+
- [Group](https://parley.bisterixstudio.com/docs/nodes/group-node)
44+
- [Start](https://parley.bisterixstudio.com/docs/nodes/start-node)
45+
- [End](https://parley.bisterixstudio.com/docs/nodes/end-node)
4646
- Creation of connections between nodes to easily see the flow of your dialogue
4747
sequence
4848
- Easy testing of your dialogue at any stage in the sequence
@@ -52,19 +52,22 @@ Installation Features Examples Support Useful links Licence Contributions
5252
- Fact store for management of facts for use with Condition and Match nodes
5353
- An out of the box dialogue balloon to get started straight away
5454
- Easy management of your dialogue sequences, including node filtering
55-
- Export of Dialogue passages
55+
- Export your Dialogue passages to CSV
5656

5757
## Installation
5858

59-
<!-- TODO: check the link -->
60-
6159
You can install it via the Asset Library or
6260
[downloading a copy](https://github.com/bisterix-studio/parley/archive/refs/heads/main.zip)
6361
from GitHub.
6462

63+
Once installed, please following the guide for first-time setup.
64+
65+
[Installation Guide](https://parley.bisterixstudio.com/docs/getting-started/installation)
66+
6567
## Documentation
6668

67-
Documentation for Parley can be found [here](docs/parley.md).
69+
Documentation for Parley can be found
70+
[here](https://parley.bisterixstudio.com/docs).
6871

6972
## Support
7073

@@ -83,12 +86,13 @@ submit an issue if you have any further data on this issue.
8386
## Licence
8487

8588
Parley is 100% free and open-source, under the MIT licence.
89+
[The license is distributed with Parley and can be found in the `addons/parley` folder](https://github.com/bisterix-studio/parley/blob/main/addons/parley/LICENSE).
8690

8791
## Contributions
8892

89-
[Contributions](./CONTRIBUTING.md), issues and feature requests are very
90-
welcome. If you are using this package and fixed a bug for yourself, please
91-
consider submitting a PR!
93+
[Contributions](https://github.com/bisterix-studio/parley/blob/main/CONTRIBUTING.md),
94+
issues and feature requests are very welcome. If you are using this package and
95+
fixed a bug for yourself, please consider submitting a PR!
9296

9397
<p align="center">
9498
<a href="https://github.com/bisterix-studio/parley/graphs/contributors">

addons/parley/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Bisterix Studio
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

addons/parley/README.md

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
# Parley
2+
3+
Parley is an addon for [Godot 4.4+](https://godotengine.org/) that provides a
4+
graph-based dialogue manager for easy writing, testing, and running of dialogue
5+
sequences at scale and is designed to be used by game writers and developers
6+
alike.
7+
8+
Write your dialogue sequences by defining the graph for your dialogue sequence
9+
which are backed by a well-defined Dialogue AST for easy management and
10+
integration within your game.
11+
12+
You can install it via the Asset Library or
13+
[downloading a copy](https://github.com/bisterix-studio/parley/archive/refs/heads/main.zip)
14+
from GitHub.
15+
16+
[![GitHub Licence](https://img.shields.io/github/license/bisterix-studio/parley?style=flat-square)](https://raw.githubusercontent.com/bisterix-studio/parley/main/LICENSE)
17+
18+
![Example usage of Parley](https://parley.bisterixstudio.com/illustration/parley-graph-view.gif)
19+
20+
## Table of contents
21+
22+
- [Table of contents](#table-of-contents)
23+
- [Features](#features)
24+
- [Installation](#installation)
25+
- [Documentation](#documentation)
26+
- [Support](#support)
27+
- [Known Issues and Troubleshooting](#known-issues-and-troubleshooting)
28+
- [Parts of Godot are unresponsive in MacOS after close a test dialogue scene via the close button](#parts-of-godot-are-unresponsive-in-macos-after-close-a-test-dialogue-scene-via-the-close-button)
29+
- [Licence](#licence)
30+
- [Contributions](#contributions)
31+
32+
Installation Features Examples Support Useful links Licence Contributions
33+
34+
## Features
35+
36+
- An easy to use and well-defined Graph Editor
37+
- A wide variety of nodes for maximum flexibility and creativity:
38+
- [Dialogue](https://parley.bisterixstudio.com/docs/nodes/dialogue-node)
39+
- [Dialogue Option](https://parley.bisterixstudio.com/docs/nodes/dialogue-option-node)
40+
- [Condition](https://parley.bisterixstudio.com/docs/nodes/condition-node)
41+
- [Match](https://parley.bisterixstudio.com/docs/nodes/match-node)
42+
- [Action](https://parley.bisterixstudio.com/docs/nodes/action-node)
43+
- [Group](https://parley.bisterixstudio.com/docs/nodes/group-node)
44+
- [Start](https://parley.bisterixstudio.com/docs/nodes/start-node)
45+
- [End](https://parley.bisterixstudio.com/docs/nodes/end-node)
46+
- Creation of connections between nodes to easily see the flow of your dialogue
47+
sequence
48+
- Easy testing of your dialogue at any stage in the sequence
49+
- Well-defined Dialogue AST for easy review and management of Dialogue Sequences
50+
- Character store for management of characters in Dialogue and Dialogue Options
51+
- Action store for management of actions for use with Action nodes
52+
- Fact store for management of facts for use with Condition and Match nodes
53+
- An out of the box dialogue balloon to get started straight away
54+
- Easy management of your dialogue sequences, including node filtering
55+
- Export your Dialogue passages to CSV
56+
57+
## Installation
58+
59+
You can install it via the Asset Library or
60+
[downloading a copy](https://github.com/bisterix-studio/parley/archive/refs/heads/main.zip)
61+
from GitHub.
62+
63+
Once installed, please following the guide for first-time setup.
64+
65+
[Installation Guide](https://parley.bisterixstudio.com/docs/getting-started/installation)
66+
67+
## Documentation
68+
69+
Documentation for Parley can be found
70+
[here](https://parley.bisterixstudio.com/docs).
71+
72+
## Support
73+
74+
| Version | Supported Godot version |
75+
| -------- | ----------------------- |
76+
| `latest` | `4.4+` |
77+
78+
## Known Issues and Troubleshooting
79+
80+
### Parts of Godot are unresponsive in MacOS after close a test dialogue scene via the close button
81+
82+
**Solution:** Swipe up with three fingers to open Mission Control. Swipe down
83+
again to make Godot responsive again. Currently not sure why it happens, please
84+
submit an issue if you have any further data on this issue.
85+
86+
## Licence
87+
88+
Parley is 100% free and open-source, under the MIT licence.
89+
[The license is distributed with Parley and can be found in the `addons/parley` folder](https://github.com/bisterix-studio/parley/blob/main/addons/parley/LICENSE).
90+
91+
## Contributions
92+
93+
[Contributions](https://github.com/bisterix-studio/parley/blob/main/CONTRIBUTING.md),
94+
issues and feature requests are very welcome. If you are using this package and
95+
fixed a bug for yourself, please consider submitting a PR!
96+
97+
<p align="center">
98+
<a href="https://github.com/bisterix-studio/parley/graphs/contributors">
99+
<img src="https://contrib.rocks/image?repo=bisterix-studio/parley&columns=8" />
100+
</a>
101+
</p>
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
description: |
3+
Parley uses a graph-based architecture for its dialogue sequences. A Graph-based
4+
Architecture revolves around the concepts of nodes and edges. Here, nodes are the atomic
5+
building blocks of a graph and are linked together by
6+
edges.
7+
---
8+
9+
Parley uses a graph-based architecture for its dialogue sequences. A Graph-based
10+
Architecture revolves around the concepts of nodes and edges. Here, nodes are
11+
the atomic building blocks of the graph and are linked together by edges.
12+
13+
## Dialogue Sequence
14+
15+
In Parley, a Dialogue Sequence is a graph. These are built up of Nodes (for
16+
example, a dialogue node and associated dialogue options). These are connected
17+
together by edges to create the branching dialogue from start to finish.
18+
19+
Parley utilises what is known as a directed-graph. This means that edges have a
20+
direction, which is critical for defining how a dialogue sequence progresses.
21+
22+
The advantage of a graph-based architecture allows Parley to be highly-flexible
23+
in how dialogues can be defined and at its core, gives the users to ability to
24+
create highly complex branching dialogues (including loops and multiple paths)
25+
whilst keeping it easy to maintain with a visual representation of the dialogue
26+
that is strongly-tied to the underlying data structure.
27+
28+
## Node
29+
30+
The atomic building block of a Dialogue Sequence. Every piece of functionality
31+
in Parley is at its core a node. These can be defined and combined countless
32+
times within a dialogue sequence to create highly intricate behaviours and
33+
gameplay. The sky is the limit for how these can be combined!
34+
35+
## Edge
36+
37+
A connection between two nodes. They have a direction defined by two attributes:
38+
39+
- "from node"
40+
- "to node"
41+
42+
These tell Parley what the next node(s) will be after processing the current
43+
node.

docs/latest/getting-started/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@ deploy to your game.
99

1010
The documentation assumes you have the latest version of
1111
[Godot](https://godotengine.org/) installed on your system and have also
12-
installed the Parley plugin.
13-
14-
<!-- TODO: add installation page -->
12+
[installed the Parley plugin](./installation.md).

docs/latest/getting-started/installation.md

Lines changed: 78 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,88 @@ description: |
33
Installation
44
---
55

6-
Installation: TODO
6+
You can download Parley directly or install it from the Asset Lib in the Godot
7+
Editor.
78

89
## Pre-requisites
910

1011
- [Godot 4.4+](https://godotengine.org/) is installed.
1112

1213
## Instructions
1314

14-
TODO
15+
### Installing from the Godot Asset Lib within the editor
16+
17+
1. Select the AssetLib button at the top of the Godot editor.
18+
2. Search for `Parley` in the search box
19+
3. Select the Parley plugin.
20+
4. Click `Install`. This will kick off the download.
21+
5. Voila!
22+
23+
Complete the first time installation by following the
24+
[instructions](#first-time-installation) below.
25+
26+
## Download and install
27+
28+
<!-- TODO: correct the link -->
29+
30+
Download the compressed zip file from the
31+
[Parley releases page on GitHub](https://github.com/bisterix-studio/parley/releases)
32+
or from the
33+
[Godot Asset Library](https://godotengine.org/asset-library/asset/TODO).
34+
35+
Extract the compressed zip file and place the `parley` directory into your
36+
`addons` directory in your project.
37+
38+
Complete the first time installation by following the
39+
[instructions](#first-time-installation) below.
40+
41+
### First-time installation
42+
43+
When you install Parley for the first time, the following stores will need to be
44+
set-up, otherwise you will receive some warnings in the editor:
45+
46+
- Action store
47+
- Fact store
48+
- Character store
49+
50+
To resolve these warnings, create the following resources in the Godot editor
51+
and for each, fill out the fields as appropriate.
52+
53+
> [warn]: You don't need to add items to them at this point, you will be able to
54+
> do this via the respective store editor.
55+
56+
| Resource | Store |
57+
| ---------------------- | --------------- |
58+
| `ParleyFactStore` | Fact Store |
59+
| `ParleyActionStore` | Action Store |
60+
| `ParleyCharacterStore` | Character Store |
61+
62+
Then, from the menu choose Project -> Project Settings, search for `Parley` in
63+
the settings and set the following settings with the files you created above:
64+
65+
- `Action Store Path`
66+
- `Fact Store Path`
67+
- `Character Store Path`
68+
69+
Your settings should look like the following:
70+
71+
![parley-store-paths](../../../www/static/docs/installation/parley-store-paths.png)
72+
73+
### Activate
74+
75+
1. From the menu choose Project->Project Settings, click the Plugins tab and
76+
activate Gut. Once activated, the GUT Panel will appear at the bottom of your
77+
editor:
78+
79+
![Gut Panel Location](_static/images/gut_panel_where.png)
80+
81+
### Setup directories for tests
82+
83+
The next few steps cover the suggested configuration. Feel free to deviate where
84+
you see fit.
85+
86+
1. Create directories to store your tests and test related code (suggested
87+
config)
88+
- `res://test`
89+
- `res://test/unit`
90+
- `res://test/integration`

0 commit comments

Comments
 (0)