Ludobits Versions Save

Utilities for game development using the Defold engine

7.4.0

4 months ago

NEW: Added ability to group different flow instances and wait for an entire group of flows using flow.until_group(). Thanks to @astrochili for the contribution!

7.3.0

1 year ago

NEW: Added flow.until_flows() to wait until all sub-flows are finished. Thanks @Vbif

7.2.0

1 year ago

CHANGE: Improved flow error message by showing traceback on error. Thanks @Vbif

7.1.0

2 years ago

NEW: flow.collectionfactory_load(url) to load collection factory resources NEW: flow.factory_load(url) to load factory resources NEW: flow.async_load(url) to async load a collection proxy

7.0.0

2 years ago

BREAKING CHANGE: Coroutine Flows are now started immediately when calling flow.start() as opposed to the old behaviour where they started on the next frame

6.9.1

3 years ago

FIX: The timing in ludobits.m.flow() updates was not accurate and caused a gradually increasing gap between calculated and actual time.

6.9.0

3 years ago

NEW: ludobits.m.savetable has new functionality to save and load using both sys.* and io.* (w. json encoding)

-- load file using sys.load() (or create file if it doesn't exist)
local data = savetable.load(filename, "sys") -- or "io" for use of io.open and io.read

-- update table value
data.foo = "bar"

-- save table using sys.save()
savetable.save(data)

And:

local data = { foo = "bar" }

savetable.save(data, filename, "io") -- or "sys" for use of sys.save

6.8.0

4 years ago

NEW: flow.until_message(), flow.until_any_message() and flow.until_input() will resume the flow immediately instead of waiting one frame.

6.7.1

4 years ago

FIX: Incorrect syntax for sequence.wait_until_true()/false()

6.7.0

4 years ago

NEW: sequence.wait_until_true() and wait_until_false()