Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.

Commit

Permalink
better dialogue_node article
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremi360 committed Feb 28, 2021
1 parent 5c2ea44 commit fb4226e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
1 change: 0 additions & 1 deletion source/topics/dialogue.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
Functions (called _statements_) listed below you should use them as part of [dialogue event](dialogue_node.html#create-dialogue-event).

```{note}
You can call this functions from Rakugo like: `Rakugo.say()`, but we don't recommend this.
```

Expand Down
17 changes: 15 additions & 2 deletions source/topics/dialogue_node.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
# Dialogue Node

```{note}
Scene with dialogue need to be added to [SceneLinks](changing_scenes.md) to works
```

To add new Node to scene you can clicking on plus icon or **A + Ctrl**.

```{note}
Dialogue Node can be add to any type of scene:
- 2D (**Node2D**)
- 3D (**Spatial**)
- User Interface (**Control**)
If scene has any **Control** node that is not a button, then make sure it's mouse filter is set to *Ignore*.
Otherwise it can block step forward in Dialogue.
It can be set in **Control** node Inspector.
![](dialogue_node/mouse_filter.png)
```

![](dialogue_node/add-node.png)

The window for choosing the type of node will appear, type _dialogue_ (or part of it) in the search box to find it easier and click on it.

```{tip}
You can click on the star icon to add it to your favorite nodes, for easier access in the future.
```

Expand Down Expand Up @@ -93,6 +104,8 @@ You can jump between dialogue events few different ways:

```gdscript
jump("", "", "dialogue_event")
# or
start("dialogue_event")
```

- jump to default dialogue event in other **Dialogue** node
Expand Down
Binary file added source/topics/dialogue_node/mouse_filter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fb4226e

Please sign in to comment.