RhythmGame/scripts/MainMenu.gd

16 lines
336 B
GDScript3
Raw Normal View History

2021-11-27 16:51:59 +10:30
extends Control
signal start_touchgame
signal start_stepgame
func _ready() -> void:
$lbl_settingspath.text = "Data directory is\n" + FileLoader.userroot
2021-11-27 16:51:59 +10:30
func quit() -> void:
get_tree().quit()
func _on_btn_touch_pressed() -> void:
emit_signal('start_touchgame')
func _on_btn_step_pressed() -> void:
emit_signal('start_stepgame')