summaryrefslogtreecommitdiff
path: root/scenes/menu.gd
blob: e4f254ede70a7e7b1dc21c75c42f3b679b877527 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
extends Node2D


func _ready():
	pass


func _on_Exit_on_click():
	get_tree().quit()


func _on_Strart_on_click():
	if not $Outgoing.is_playing():
		$Outgoing.play("tointro")


func _on_Outgoing_animation_finished(anim_name):
	get_tree().change_scene("res://scenes/introduction/come home.tscn")