wellbeingapp/godot/main_screen.gd

22 lines
583 B
GDScript3
Raw Normal View History

2022-08-03 01:01:10 +00:00
extends Node2D
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
onready var main_screen = get_node("/root/main_screen")
onready var start_menu = get_node("/root/main_screen/start_menu")
onready var user_menu = get_node("/root/main_screen/user_details")
# Called when the node enters the scene tree for the first time.
func _ready():
# Set starting state visibility
main_screen.visible = true
start_menu.visible = true
user_menu.visible = false
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass