1
Fork 0
mirror of https://github.com/Steffo99/pineapple-surf.git synced 2024-11-21 23:34:21 +00:00

Display up to 200 scores

This commit is contained in:
Steffo 2023-01-14 23:55:36 +01:00
parent 1d4f49b1c7
commit 10eab132cf
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -37,7 +37,7 @@ func upload_score(score: float):
func fetch_scores(open_after: bool = false): func fetch_scores(open_after: bool = false):
const url = "https://arcade.steffo.eu/board/?board=ld52&offset=0&size=10" const url = "https://arcade.steffo.eu/board/?board=ld52&offset=0&size=200"
var httpreq = HTTPRequest.new() var httpreq = HTTPRequest.new()
add_child(httpreq) add_child(httpreq)
httpreq.connect("request_completed", func(_result, _response_code, _headers, body): httpreq.connect("request_completed", func(_result, _response_code, _headers, body):