summaryrefslogtreecommitdiff
path: root/scenes/menu.gd
blob: 7ce511cd073f765ea25ca178d8afb832ed9136f2 (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.tscn")