Push project up

This commit is contained in:
2026-08-23 12:38:19 -05:00
parent a348e975e3
commit dcd3b0525c
45 changed files with 1429 additions and 0 deletions

17
globals/globals.gd Normal file
View File

@@ -0,0 +1,17 @@
extends Node
# NOTE: These should get overriden by '.pck' packs that load their own versions.
var game_data: GameData
var game_state: GameState
var lobby_data: LobbyData
var multiplayer_data: MultiplayerData
func cache_invalidate_load_resource(target: String) -> Resource:
# NOTE: Deep replace version b/c we don't want to use an autoloads
# that does this replasce before any nodes actually load.
ResourceLoader.load(target, "", ResourceLoader.CACHE_MODE_REPLACE_DEEP)
# NOTE: Let prior call propigate naturally. (Unsure when...)
# Enforce new script/node from pck called here.
return ResourceLoader.load(target, "", ResourceLoader.CACHE_MODE_IGNORE_DEEP)