implémentation du sfx de bip écran #156
This commit is contained in:
@@ -74,11 +74,13 @@ func _on_main_screen_activated():
|
||||
update_dashboard()
|
||||
|
||||
func _on_left_screen_activated():
|
||||
AudioManager.play_sfx("Screen_interaction")
|
||||
if GameInfo.game_data.current_run and len(GameInfo.game_data.current_run.next_run_points) > 0:
|
||||
choosen_run_point = GameInfo.game_data.current_run.next_run_points[0]
|
||||
update_dashboard()
|
||||
|
||||
func _on_right_screen_activated():
|
||||
AudioManager.play_sfx("Screen_interaction")
|
||||
if GameInfo.game_data.current_run and len(GameInfo.game_data.current_run.next_run_points) > 1:
|
||||
choosen_run_point = GameInfo.game_data.current_run.next_run_points[1]
|
||||
update_dashboard()
|
||||
|
||||
Reference in New Issue
Block a user