Skip to content

Commit d90e9b0

Browse files
committed
Add dialogue option node docs
1 parent 6836cd1 commit d90e9b0

File tree

5 files changed

+62
-2
lines changed

5 files changed

+62
-2
lines changed
Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
---
22
description: |
3-
A Dialogue Option Node defines: TODO.
3+
A Dialogue Node defines a series of options presented to the player within the Dialogue Sequence. The Dialogue Sequence will branch off each option, making it one of the key components of the branching dialogue system.
44
---
55

6-
A Dialogue Option Node defines: TODO.
6+
A Dialogue Node defines a series of options presented to the player within the
7+
Dialogue Sequence. The Dialogue Sequence will branch off each option, making it
8+
one of the key components of the branching dialogue system.
9+
10+
They are individually associated with a character which can be used to enhance
11+
the displayed dialogue options.
12+
13+
![dialogue-option-node](../../../www/static/docs/dialogue-option/dialogue-option-node.png)
14+
15+
They have the following characteristics:
16+
17+
## Character
18+
19+
The character associated with the Dialogue Option Node. These are stored in the
20+
character store and determine the available characters that can be used to
21+
select against.
22+
23+
## Text
24+
25+
The text of the Dialogue Option. For example, something that the player says to
26+
a character.
27+
28+
> [tip]: The text input supports Godot
29+
> [BBCode](https://docs.godotengine.org/en/latest/tutorials/ui/bbcode_in_richtextlabel.html)
30+
> which can be used to enhance the look of your displayed dialogue.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
description: |
3+
Create a Dialogue Option Node
4+
---
5+
6+
A Dialogue Node defines a series of options presented to the player within the
7+
Dialogue Sequence. You can find all sorts of Dialogue Sequence examples in the
8+
Parley `examples` folder.
9+
10+
## Pre-requisites
11+
12+
- Familiarise yourself with the
13+
[Dialogue Option Node](../concepts/dialogue-option-node.md) docs.
14+
- Parley is installed and running in your Godot Editor.
15+
- You have created a basic Dialogue Sequence before. Consult the
16+
[getting started guide](./create-dialogue-sequence.md) for more info.
17+
18+
## Instructions
19+
20+
![Create a Dialogue Option Node](../../../www/static/docs/create-dialogue-option-node/create-dialogue-option-node.gif)
21+
22+
1. Create Dialogue Option Nodes using the `Insert` dropdown.
23+
2. Click on each created Dialogue Node in the graph view to open up the Dialogue
24+
Node Editor.
25+
3. Click the `Save` button in the Parley editor and there we have it! Our first
26+
dialogue sequence with dialogue.
27+
4. Now connect these Nodes up with other Nodes to continue the Dialogue Sequence
28+
with your awesome game writing!
29+
5. You can test out your Dialogue Sequence by clicking the Test Dialogue
30+
Sequence from start button.
31+
32+
> [tip]: The order of the Dialogue options is determined by the vertical (or y)
33+
> position of the nodes in the Dialogue Sequence graph editor. Developers can
34+
> therefore influence the order of dialogue options by swapping options around
35+
> vertically in the editor.

docs/toc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const toc: RawTableOfContents = {
2626
pages: [
2727
["create-dialogue-sequence", "Create a Dialogue sequence"],
2828
["create-dialogue-node", "Create a Dialogue Node"],
29+
["create-dialogue-option-node", "Create a Dialogue Option Node"],
2930
["create-condition-node", "Create a Condition Node"],
3031
["create-match-node", "Create a Match Node"],
3132
["create-start-node", "Create a Start Node"],
3.55 MB
Loading
736 KB
Loading

0 commit comments

Comments
 (0)