Skip to content

1.18.0

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Jul 11:36
· 0 commits to master since this release

What's Changed

Full Changelog: 1.17.1...1.18.0

New Settings

Settings went through a lot lately.

  • Gained almost-complete UI with support for persisting options.
    • We differentiate between user's config and UI config in .managed directory.
    • These two "configs" are merged during runtime.
  • New config model, and with that, config format editions, along with config metadata.
    • New model is structured, not just a flat dictionary of options.
    • Current edition of format is specified in meta.format_version in the config.
    • When version is unspecified, we default to 1, but warn the user to migrate.
    • Game can gracefully read older versions, but it's possible the option is removed or changed in an incompatible manner.

New settings format example

{
    "meta": {
        "format_version": 2,
    },
    "general": {
        "appearance": {
            "theme": "github.json",
        },

        "logging": {
            "normal": "warn",
        }
    },
    "game": {
        "camera_mode": {
          "mode": "EdgeFollow",
          "x": 0.25,
          "y": 0.25
        },

        "player_smoothing": 0.5,
    },
}