Skip to Content
defold-typescript libraries
defold (official)

defold/defwarez-shared

Shared DEFWAREZ files: the defwarez-shared/defwarez Lua module, a render script, a font, an atlas, input bindings and a mock collection for local testing.

Lua API not typed — upstream ships no .script_api, so resolve skips it.

  • GitHub: defold/defwarez-shared — pinned to 7071233
    1. This repo publishes no releases or tags. Add a commit archive URL — for the pinned commit, https://github.com/defold/defwarez-shared/archive/7071233025bcb5139d0ac71049d7e4480ea670cb.zip — to game.project under [project] dependencies, then Fetch Libraries in the Defold editor.
    2. Require defwarez-shared/defwarez from a game script.
    3. Report progress with functions such as add_score, set_score and player_done.

Engine APIs

The module reads the defwarez.live setting with sys. It posts results to the host with msg, or to the mock collection when not live.

On this page