#20 #24 Winnersong can be stopped. Inspirationlist speed can be changed. Some other small fixes
All checks were successful
Build / build (push) Successful in 1m36s

This commit is contained in:
2025-12-27 14:05:56 +01:00
parent 2a32cc34ef
commit b4ba96cf63
6 changed files with 84 additions and 19 deletions

View File

@@ -151,9 +151,8 @@ func _ready() -> void:
print("is_debug")
debug_label.visible = true
Settings.is_debug = true
Settings.default_path = "http://localhost:8080"
Settings.selected_server = 3
Settings.winning_score = 5
settings_window.set_winning_score(5)
settings_window.set_selected_server(4)
if is_mac:
print("is_mac")
next_button.pressed.connect(play_next_song)
@@ -390,6 +389,7 @@ func _on_sync_finished() -> void:
sound_test_button.disabled = false
reset_playlist_button.disabled = false
show_answer_button.disabled = false
reset_points()
func get_suggestion_list() -> void:
print("get_suggestion_list")
@@ -472,7 +472,7 @@ func _on_player_won(winning_player_id: int) -> void:
winner_picture.expand_mode = TextureRect.EXPAND_FIT_WIDTH_PROPORTIONAL
winner_picture.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED
winner_picture.texture = Settings.player_array[winning_player_id].character
music_player_container.play_sound(preload("res://sounds/winning.mp3"))
music_player_container.play_song(preload("res://sounds/winning.mp3"))
Settings.add_to_stats = false
func _on_player_removed(player_to_remove: int) -> void: