wellbeingapp/godot/start_menu.gd

18 lines
463 B
GDScript3

extends Node2D
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
onready var user_info = get_node("/root/UserValues")
onready var program_info = get_node("/root/ProgramValues")
# Called when the node enters the scene tree for the first time.
func _ready():
$welcome_title.text = "Good morning " + user_info.user_first_name + "!"
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass