update network

This commit is contained in:
2026-02-04 16:31:18 +08:00
parent 4ccf789421
commit 08b0493c06
10 changed files with 203 additions and 22 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
extends Node
class_name NewsFetcher
const Config = preload("config.gd")
## Fetches news/devlog entries from itch.io
signal news_fetched(news_items: Array)
@@ -65,4 +67,4 @@ func _format_changelog(changelog: Array) -> String:
func _sort_by_date(a: Dictionary, b: Dictionary) -> bool:
var date_a: String = a.get("date", "")
var date_b: String = b.get("date", "")
return date_a > date_b # Descending order
return date_a > date_b # Descending order