|
|
@@ -168,6 +168,7 @@ To make a *character* say something we have this syntax:
|
|
|
This is *one-line chunk*, so you **MUST** terminate it with two spaces.
|
|
|
|
|
|
Here we combine character and dialog chunks.
|
|
|
+
|
|
|
```
|
|
|
1 @NARRATOR__
|
|
|
2 Evening in the park. ALICE and BOB sit on a bench.
|
|
|
@@ -189,31 +190,43 @@ your own characters in `characters.ini` file:
|
|
|
|
|
|
*characters.ini*:
|
|
|
|
|
|
-```
|
|
|
+```ini
|
|
|
[ALICE]
|
|
|
name = Alice Smith
|
|
|
+#color_name = #FF0000
|
|
|
|
|
|
[BOB]
|
|
|
name = Bob Doe
|
|
|
+#color_name = #0000FF
|
|
|
+
|
|
|
+[NARRATOR]
|
|
|
+name =
|
|
|
```
|
|
|
|
|
|
+As you can see, we can define names differently from text.
|
|
|
+We can also change color (both for names and text).
|
|
|
+
|
|
|
+
|
|
|
**HTML:**
|
|
|
```HTML
|
|
|
-1 @NARRATOR__
|
|
|
-2 Evening in the park. ALICE and BOB sit on a bench.
|
|
|
+1 <p><br> <i>
|
|
|
+2 Evening in the park. ALICE and BOB sit on a bench.</i></p>
|
|
|
3
|
|
|
-4 @ALICE__
|
|
|
-5 Look how beautifully the moon is shining.
|
|
|
+4 <p><b>Alice Smith</b> <br>
|
|
|
+5 Look how beautifully the moon is shining. </p>
|
|
|
6
|
|
|
-7 @BOB__
|
|
|
-8 Yeah, but your eyes shine brighter.
|
|
|
+7 <p><b>Bob Doe</b> <br>
|
|
|
+8 Yeah, but your eyes shine brighter.</p>
|
|
|
9
|
|
|
-10 @ALICE__
|
|
|
-11 Oh, Bob, you're always such a romantic.
|
|
|
+10 <p><b>Alice Smith</b> <br>
|
|
|
+11 Oh, Bob, you're always such a romantic. </p>
|
|
|
12
|
|
|
-13 But I need to go...
|
|
|
+13 <p>But I need to go...</p>
|
|
|
```
|
|
|
|
|
|
+In-game, names would also be replaced.
|
|
|
|
|
|
+### 3.2.3 Chapter screen chunk
|
|
|
+[...]
|
|
|
|
|
|
## 3.3 Inline parser
|