Repository navigation
OnlyWorlds SDK for Godot 0.13.0
A game can open the one file an owner downloads from their world's page on onlyworlds.com.
OWWorldExportreads the download (read_file(path), orread(bytes, source)): its stamps (format,schema_version,exported_at) and its world, or a refusal with its reason for a file that is not one.to_world()gives the sameOWWorlda folder read gives, so a game opens the download as it opens a folder;to_cache()gives a held world that stays as the file had it, since a download carries no place in the change feed to keep it current from.- It reads as the folder reader does: groups of the 22 element types, string ids, and of two elements with one id the first, the second named. An element with no id is skipped and reported.
A minor release: it adds public API.
onlyworlds-godot-0.13.0.zip holds the addons/onlyworlds/ folder: copy it into your project. Built from the tag and proven by installing it in an empty Godot 4.7 project that reads a world through it.
sha256 7a21c5b5757c353988be8c62824fb5a2face91e2c918210e44888a3c9eece786