forked from team-sg/hero-mark-2
sped up name entry, added delete, and max char limit
This commit is contained in:
parent
62e6e23d94
commit
098ab161de
17 changed files with 134 additions and 25 deletions
|
@ -16,26 +16,32 @@ func _ready():
|
|||
|
||||
Vector2( 0.83205, 0.5547 )
|
||||
|
||||
func play_select_sound():
|
||||
Audio.play_sound(Audio.a_select,Audio.ac_collectible)
|
||||
|
||||
func _on_Continue_button_down():
|
||||
Audio.play_sound(Audio.a_confirm,Audio.ac_collectible)
|
||||
Fade.fade_out(0.4)
|
||||
yield(Fade, "fade_finished")
|
||||
SceneManager.current_scene = load("res://menus/level_select_scholar.tscn").instance()
|
||||
|
||||
|
||||
func _on_FileSelect_button_down():
|
||||
Audio.play_sound(Audio.a_confirm,Audio.ac_collectible)
|
||||
Fade.fade_out(0.4)
|
||||
yield(Fade, "fade_finished")
|
||||
SceneManager.current_scene = load("res://menus/file_select.tscn").instance()
|
||||
|
||||
|
||||
func _on_Exit_button_down():
|
||||
Audio.play_sound(Audio.a_confirm,Audio.ac_collectible)
|
||||
Fade.fade_out(0.4)
|
||||
yield(Fade, "fade_finished")
|
||||
get_tree().quit()
|
||||
|
||||
|
||||
func _on_SoundTest_button_down():
|
||||
Audio.play_sound(Audio.a_confirm,Audio.ac_collectible)
|
||||
Fade.fade_out(0.4)
|
||||
yield(Fade, "fade_finished")
|
||||
SceneManager.current_scene = load("res://menus/sound_test.tscn").instance()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue