crabs-game/scripts/main_menu.gd

9 lines
213 B
GDScript3
Raw Normal View History

extends Node2D
2020-08-20 17:32:24 +02:00
onready var music_player = get_node('/root/MusicPlayer') as MusicPlayer
func _ready():
2020-08-20 17:32:24 +02:00
music_player.play('main_title')
2020-08-20 17:45:40 +02:00
if Globals.did_already_play_once:
$UI/Buttons/AnotherChoiceButton.show()