Skip to content

Commit

Permalink
Small adjustments to new content (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jowan-Spooner committed Dec 6, 2023
1 parent 6b861b9 commit bde187e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 17 deletions.
1 change: 1 addition & 0 deletions documentation/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
- [Creating Timelines In Code](creating-timelines-in-code.md)
- [Auto-Advance](auto-advance.md)
- [Auto-Skip](auto-skip.md)
- [Translations](translation.md)
- [Pausing](pausing.md)
- [Saving & Loading](saving-and-loading.md)
4 changes: 2 additions & 2 deletions documentation/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Now, let's verify you have correctly installed Dialogic:

## 🚧 How to install the latest WIP Version 🚧

```admonish warning
```admonish
*Dialogic is constantly evolving. Oftentimes fixes for bugs or new features might only be available on the main branch. This is especially true during the alpha and beta phase. If you are interested in using the main branch it's easy to do so.*
*Go to [the main page of the repository](https://github.com/coppolaemilio/dialogic) and click on the green `Code` button then presse the `Download ZIP` button. From there you can install that ZIP's content like a release.*
```
Expand Down Expand Up @@ -70,7 +70,7 @@ To create a new character press the `Add Character` button on the top right.

As for timelines, you need to select the place to save to and a name.

```admonish warning
```admonish
This name (without `.dch`) is what will be saved whenever you use that character in a timeline and what you will have to write when referencing the character (e.g. `Emilio: This is a text event.`, if the file is named `Emilio.dch`). So make sure to give it a good name.
You can change the name that will actually be displayed in game as the `display_name` property.
Expand Down
File renamed without changes
5 changes: 2 additions & 3 deletions documentation/styles-and-layouts.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
![header_text_syntax](media/headers/styles_and_layouts.png)
# Styles & Layouts
![header_text_syntax](media/headers/styles_and_layouts.png)

## Introduction

Expand Down Expand Up @@ -55,12 +55,11 @@ The next step would be to customize part of your layout (one of the scenes) beyo

An easy way to do this is to use the "Make Custom" button above the layer list and selecting "Current Layer". This will create a copy of that layers scene which you can edit in godot. This is what you would do if you generally like e.g. the textbox, but would like to change something about it that's impossible with just the settings.

```
```admonish info
When editing a layout that's been made custom, be careful which sub-resources (e.g. scripts, fonts, images, etc.) might still be inside the addons/dialogic folder. If you modify these the changes might be lost when updating dialogic. I recommend making any sub-resource "unique" before modifying it. Some, like the scenes root-script however are usually made custom automatically when using "Make Custom".
```

```

Alternatively you can start a custom layout scene from scratch.

- Your scene's root node has to have a script that extends from either `DialogicLayoutBase` or `DialogicLayoutLayer` depending on your use-case.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Translations
![header_getting_started](media/headers/translations.png)

## What is Translation?
Expand Down Expand Up @@ -26,7 +27,7 @@ Godot itself supports `gettext` as well.

In Dialogic, head to the Settings tab, a look under the Translation section. Tick the "Enable Translation" checkbox.

![translation_settings](/media/translation/translation_settings.png)
![translation_settings](media/translation/translation_settings.png)

### Setting up Translation

Expand Down
22 changes: 11 additions & 11 deletions documentation/variables.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![header_text_syntax](media/headers/variables.png)

# Variables

![header_text_syntax](media/headers/variables.png)

Variables are good way to keep track of all kinds of things during your game.
Dialogic has an easy-to-use and beginner friendly variable system built in. However Dialogic allows to use outside variables (of Autoload Singletons) just as easily.
You can also access the Dialogic variables from outside scripts.
Expand All @@ -10,16 +10,16 @@ To fully utilize these variables this page contains all you need to know.

## 📜 Content

- [The dialogic variable editor](##the-dialogic-variable-editor)
- [Using variables in the timeline](##using-variables-in-the-timeline)
- [Variables in texts](###Variables-in-texts)
- [Conditions](###Conditions)
- [Set Variable event](###Set-variable-event)
- [Text Input event](###Text-input-event)
- [Other uses for variables](##Using-variables-for-other-cool-stuff)
- [Using variables outside of dialogic](##Using-variables-outside-of-dialogic)
- [The dialogic variable editor](#the-dialogic-variable-editor)
- [Using variables in the timeline](#using-variables-in-the-timeline)
- [Variables in texts](#Variables-in-texts)
- [Conditions](#Conditions)
- [Set Variable event](#Set-variable-event)
- [Text Input event](#Text-input-event)
- [Other uses for variables](#Using-variables-for-other-cool-stuff)
- [Using variables outside of dialogic](#Using-variables-outside-of-dialogic)


##

## The dialogic variable editor

Expand Down

0 comments on commit bde187e

Please sign in to comment.