blob: 73f4dbb35e8c83dba7e015239c9d2c605d09756e (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 | extends Control
@onready var anim = $AnimationPlayer
@onready var options = $Side/Margin/Options
func act():
	show()
	anim.play("activate")
	Global.focus_first_button(options)
func deact():
	anim.play_backwards("activate")
	await anim.animation_finished
	hide()
func _on_main_menu_pressed():
	Global.fade_next = true
	get_parent().transition_to("res://menu/menu_manager.tscn")
func _on_quit_pressed():
	get_parent().quit()
func _on_reconnect_pressed():
	get_parent().transition_to("res://game.tscn")
 |