Skip to content

OnlyWorlds SDK for Godot 0.14.0

Choose a tag to compare

@tmoosting tmoosting released this 28 Nov 16:36
· 43 commits to main since this release

A game can write a world on onlyworlds.com as a world folder: an offline copy to ship or to open later.

  • OWFolderExport.export(client, path) reads the world the client's key reaches, with GET requests only, and writes it as the folder the Python package's export_world writes, file for file. Open it later with OWWorld.read_folder.
  • The folder's world.json says where the copy came from: source (the server, the world, when), exported_as (which part of the world the key reads) and producer (onlyworlds-godot and this version).
  • A guest's copy keeps the elements it only knows of as such. The folder must not exist or must be empty; it is built beside its place and moved there last, so a refused export leaves nothing behind.
  • Not in this release: Map images are not downloaded, and a whole number past 2^53 is written rounded, since Godot reads every JSON number as a double.

A minor release: it adds public API.

onlyworlds-godot-0.14.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.

README · CHANGELOG

sha256 db0655ab3508708a5ec4e03de3c4f4da33c9aa5a5868a2a28507eb59161bc74f