From 3f53502a5907ed1982d28a392c54331f0c1c2c42 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 25 Sep 2025 12:09:50 -0400 Subject: Move the client into the apworld Only works on source right now, not as an apworld. --- apworld/client/source_runtime.gd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 apworld/client/source_runtime.gd (limited to 'apworld/client/source_runtime.gd') diff --git a/apworld/client/source_runtime.gd b/apworld/client/source_runtime.gd new file mode 100644 index 0000000..fbb7009 --- /dev/null +++ b/apworld/client/source_runtime.gd @@ -0,0 +1,15 @@ +extends Node + +var source_path + + +func _init(path): + source_path = path + + +func load_path(path): + return ResourceLoader.load("%s/%s" % [source_path, path]) + + +func read_path(path): + return FileAccess.get_file_as_bytes("%s/%s" % [source_path, path]) -- cgit 1.4.1