22 lines
398 B
GDScript3
22 lines
398 B
GDScript3
|
extends Control
|
||
|
|
||
|
func _ready():
|
||
|
$ButtonContainer/PlayButton.grab_focus()
|
||
|
|
||
|
func _on_PlayButton_pressed():
|
||
|
$MenuMusic.stop()
|
||
|
$BlackoutSound.play()
|
||
|
$ButtonContainer.visible = false
|
||
|
$BlackoutScreen.visible = true
|
||
|
|
||
|
func _on_Credits_pressed():
|
||
|
pass # Replace with function body.
|
||
|
|
||
|
|
||
|
func _on_Controls_pressed():
|
||
|
pass # Replace with function body.
|
||
|
|
||
|
|
||
|
func _on_QuitButton_pressed():
|
||
|
get_tree().quit()
|