#Anyone know how to update the game?
1 messages · Page 1 of 1 (latest)
if its just how to download files, ive been doing something like this:
var http_s = []
func download(link, path):
var http = HTTPRequest.new()
add_child(http)
http_s.append(http)
http.connect("request_completed", _http_request_completed)
http.set_download_file(path)
var request = http.request(link)
print("Downloading from " + link + " to " + path)
if request != OK:
push_error("Http request error")
func _http_request_completed(result, _response_code, _headers, _body):
if result != OK:
push_error("Download Failed")
if youre asking where to store files im sure there a bunch of places that would work, but ive used github releases to download and that works
you can make the link: https://github.com/user/repo/releases/latest/download/file.exe