Skip to content

OnlyWorlds SDK for Godot 0.2.0

Choose a tag to compare

@tmoosting tmoosting released this 25 Nov 05:02
· 129 commits to main since this release

A world file you hand on no longer says who wrote it, and a world folder is read the same on every disk.

  • A pack leaves out who wrote each element. OWWorldArchive.pack, pack_folder and OWWorld.pack remove created_by, changed_by, changed_via, changed_client and doors from every element file, as the other OnlyWorlds SDKs do. Pass include_author_fields for a byte copy of your own folder.
  • Fixed names are read as written. world.json, elements/ and spatial/ are read exactly as spelled; a world that holds one only in another case (Elements/) is refused with the name to fix. Before, such a world opened whole on Windows and as a world with no elements on a disk that keeps case.
  • A type must be one of the 22, exactly. A body's type counts only when it is one of the 22 type slugs, and writing a new element whose type is not one is refused. This also closes a hole: a bad type such as ../escape used to write its file outside elements/.
  • New readers, giving the same answers as the other SDKs: OWNameFinder (element names found in a text), OWMapSpace.pins_known_to (which of a map's Pins one reader knows) and OWLanding.most_linked_of (the most linked elements of each type).
  • Pinned to schema-dist serial 146.

onlyworlds-godot-0.2.0.zip holds the addon folder: unpack it into your project folder, so that addons/onlyworlds/ joins your project's addons/. The README has the install and a first run on a public sample world. Built and tested on Godot 4.7, the standard build.

Every change, in the detail a maintainer needs: CHANGELOG.md.

sha256 of the zip: 98f2397773cc5124bb166c02931b8a4a86509d68659a2bced8587ba49de36484