art update

This commit is contained in:
ultrablob 2024-04-18 19:45:52 -04:00
parent 6a4e9b7a83
commit 4e4dd28f26
39 changed files with 394 additions and 242 deletions

View file

@ -5,9 +5,9 @@ func _ready():
process_mode = Node.PROCESS_MODE_ALWAYS
func _input(event):
if event.is_action_pressed("restart") and $Clock/Label/HTTPRequest.get_http_client_status() == HTTPClient.STATUS_DISCONNECTED:
if event.is_action_pressed("restart") and $GameOver/Leaderboard/HTTPRequest.get_http_client_status() == HTTPClient.STATUS_DISCONNECTED:
get_tree().paused = false
get_tree().reload_current_scene()
if event.is_action_pressed("quit") and $Clock/Label/HTTPRequest.get_http_client_status() == HTTPClient.STATUS_DISCONNECTED:
if event.is_action_pressed("quit") and $GameOver/Leaderboard/HTTPRequest.get_http_client_status() == HTTPClient.STATUS_DISCONNECTED:
get_tree().paused = false
get_tree().change_scene_to_file("res://main_menu.tscn")