improved typewriter and cleaned dialogue code

This commit is contained in:
2023-02-12 10:44:23 +01:00
parent 953210b65f
commit 47c6d08f53
2 changed files with 138 additions and 130 deletions

View File

@@ -11,9 +11,7 @@ script = ExtResource("1_xtj1q")
metadata/_edit_use_anchors_ = true
[node name="typewriter_timer" type="Timer" parent="."]
wait_time = 0.04
one_shot = true
metadata/charsAtOnce = 60
wait_time = 0.05
[node name="box" type="ColorRect" parent="."]
anchors_preset = -1
@@ -102,3 +100,5 @@ theme_override_constants/margin_top = 30
theme_override_constants/margin_right = 60
theme_override_constants/margin_bottom = 30
metadata/_edit_lock_ = true
[connection signal="timeout" from="typewriter_timer" to="." method="OnTypewriterTimerTimeout"]