11 lines
248 B
GDScript
11 lines
248 B
GDScript
extends Control
|
|
|
|
func _ready() -> void:
|
|
var label := Label.new()
|
|
label.text = "Nowa gra"
|
|
label.add_theme_font_size_override("font_size", 32)
|
|
label.set_anchors_preset(Control.PRESET_CENTER)
|
|
label.position = Vector2(-80, -20)
|
|
add_child(label)
|
|
|