#4 #5 Added a new character select window that now fetches images from the server
All checks were successful
Build / build (push) Successful in 1m31s
Publish / build (push) Successful in 2m39s

This commit is contained in:
2025-11-07 20:46:45 +01:00
parent 734a463db9
commit 166705f2ab
15 changed files with 327 additions and 61 deletions

View File

@@ -21,6 +21,7 @@ var play_local: bool = false
var player_array: Array[PlayerObject]
var edit_players: bool = false
var currently_syncing: bool = false
var character_select_open: bool = false
var version: String = "1.6.0"
@@ -28,6 +29,8 @@ var whats_new: String = "Changelog:
1.6.0:
#1: Fixed bug with inspiration list not reloading after sync
#2: New dialog for sync
#4: Now downloads characters from the server
#5: New character select screen
#6: Now show progress during sync
#7: Blocking all requests to the server during sync
#8: Added functionality to cache more than one song
@@ -76,7 +79,6 @@ func make_request2(address: String, func_name: Callable, expect_data: bool) -> v
elif func_name != null:
func_name.call(data_received)
else:
print("song_received")
print("data_received type: ", type_string(typeof(body)))
func_name.call(body)
@@ -89,7 +91,7 @@ func make_request2(address: String, func_name: Callable, expect_data: bool) -> v
var request_error: int = http_request.request(default_path + address)
if request_error != OK:
push_error("An error occurred in the HTTP request.")
func make_request3(address: String) -> void:
var error_handling: Callable = func(_result: int, response_code: int, _headers: PackedStringArray, _body: PackedByteArray) -> void:
print("request done to address: ", default_path + address)