Added translations management
Prepares work for line voiceovers management.
This commit is contained in:
@@ -5,6 +5,18 @@ func _ready():
|
||||
escoria.esc_level_runner.set_sound_state(["bg_music",
|
||||
"res://game/sfx/Game-Menu_Looping.mp3", true])
|
||||
|
||||
|
||||
func _on_continue_pressed():
|
||||
pass
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
func switch_language(lang : String):
|
||||
TranslationServer.set_locale(lang)
|
||||
|
||||
|
||||
func _on_new_game_pressed():
|
||||
escoria.new_game()
|
||||
|
||||
@@ -12,9 +24,19 @@ func _on_load_game_pressed():
|
||||
# Show Loading screen
|
||||
pass
|
||||
|
||||
func _on_options_pressed():
|
||||
$Panel/main.hide()
|
||||
$Panel/options.show()
|
||||
|
||||
func _on_quit_pressed():
|
||||
get_tree().quit()
|
||||
|
||||
###########################################################################
|
||||
###########################################################################
|
||||
# OPTIONS
|
||||
|
||||
func _on_continue_pressed():
|
||||
pass # Replace with function body.
|
||||
|
||||
func _on_back_pressed():
|
||||
$Panel/options.hide()
|
||||
$Panel/main.show()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user