Skip to content

v4.0.0 (Godot 3)

Compare
Choose a tag to compare
@viniciusgerevini viniciusgerevini released this 14 Feb 15:03
· 24 commits to godot_4 since this release
fd04ebc

Breaking changes

  • Dialogues now return an object when ended. This impacts how you determined if the dialogue has ended.
  • Changed identifier for blocks when persisting so changing block order does not impact already saved files. This will impact variations and single use options on all existing save files.
  • Variation standalone shuffle option does simple random and has no guarantee every item will be returned.

Added

  • Assignment initializer operator ?=. It only assigns if variable was not set before.
  • Resource loader and saver to simplify file usage.
  • External variable support. You can set variables that are not included in the persistence object.
  • Implemented helpers: Dialogue config, singleton and fixed dialogue bubble.

Changed

  • Increment assigment now have default values. i.e. If you run set a += 1 when a is not set, it will be set to 1. Before it would break because value was null.
    • As + is also used for strings, this set a += "abc" also works.
  • Return end object ({ "type": "end" }) instead of null on dialogue end.
  • Changing block order in file does not impact persisted options and variations anymore.
  • Make variation shuffle option be really random. There is no guarantee all items will be executed.
  • The importer now saves a ClydeDialogueFile resource instead of PackedDataContainer.
  • Improve dialogue examples.

Fixed

  • Use correct fmod for a %= operations.
  • variable interpolation with value "0" was not being printed, as godot interprets it as falsy
  • Changing block order in file does not impact persisted options and variations anymore.