UI Changes
This commit is contained in:
1 parent
0586eecdf4
commit
c91e4b5ba9
13 files changed
+233
-18
No files matched your search
+5
-1
@@ -1,9 +1,13 @@
|
||||
class_name Dialogue
|
||||
extends Control
|
||||
|
||||
@export var custom_font = preload("res://fonts/IndieFlower-Regular.ttf")
|
||||
@export var font_color: Color
|
||||
|
||||
func show_text(text: String) -> Dialogue:
|
||||
visible = true
|
||||
$Panel/Text.text = "[center][font_size=28][color=BLACK]%s" % text
|
||||
|
||||
$Panel/Text.text = "[center]%s" % text
|
||||
return self
|
||||
|
||||
func dismiss_after(secs: float) -> Dialogue:
|
||||
|
||||
Reference in new issue
Block a user