school-game/godot/Main.gd

19 lines
345 B
GDScript3
Raw Normal View History

2022-11-09 12:09:17 +00:00
extends Node
2022-11-11 13:20:08 +00:00
2022-11-09 12:09:17 +00:00
onready var player_vars = get_node("/root/PlayerVariables")
2022-11-11 13:20:08 +00:00
onready var game_time = get_node("/root/GameTimer")
2022-11-09 12:09:17 +00:00
2022-11-11 13:20:08 +00:00
func _ready():
# Keep everything hidden but bring up the starting menu
game_time.paused = 1
$"%UI".visible = false
$"%Landscape".visible = false
$"%StartScreen".visible = true
2022-11-09 12:09:17 +00:00
#func _process(delta):
# pass