This commit is contained in:
Torsten 2024-07-20 09:44:19 +02:00
parent 5656d527f3
commit f1b18e9b80
33 changed files with 41 additions and 0 deletions

View file

@ -26,6 +26,9 @@ Set action to advance_text ( The action we created in the very first screenshot
![[Pasted image 20240713080125.png]]
Now all input defined for advance_text action will trigger the button.
Disabling button until tween finished
```python

View file

@ -0,0 +1,25 @@
```bbcode
BBCode is a simple [b]markup language[/b] that is [i]supposed[/i] to be simpler than [b]HTML[/b].
```
Examples
```bbcode
[b]bold[/b]
[i]italics[/i]
[u]underline[/u]
[s]strikethrough[/s]
[url=https://godotengine.org]link[/url]
[shake]This text shakes[/shake] makes the text shake.
[wave]This text is wavy[/wave] makes the text animate in a wave pattern.
[tornado freq=1.0]This text is even more wavy[/tornado] makes the text rotate like leaves. The freq parameter controls the speed of the rotation.
[rainbow val=0.8]This text is colored[/rainbow] tints the text and animates it using rainbow colors. The val parameter controls the saturation, that is to say, how intense the colors are.
```
Works only with the `RichTextLabel` node, and needs to be activated for the node (performance reasons)
![[Pasted image 20240719083713.png]]

View file

@ -0,0 +1 @@
![[Pasted image 20240720081419.png]]

View file

@ -0,0 +1,12 @@
The goal: Going from linear dialogue display to integrating player choice
https://school.gdquest.com/courses/learn_2d_gamedev_godot_4/start_a_dialogue/refactoring_the_dialogue#preparing-to-update-the-dialogue-scene
Designing the interface to include choice buttons
![[Pasted image 20240720075840.png]]
![[Pasted image 20240720080105.png]]
Sizing examples:
![[Pasted image 20240720081104.png]]

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB