Skip to Content
defold-typescript libraries
defold (official)

defold/extension-kaios

A native extension for KaiOS web builds. It provides a modified engine HTML template, maps the left softkey, right softkey and call keys to KEY_F1, KEY_F2 and KEY_MENU, and registers a kaios Lua module with kaios.exit, kaios.play_sound and kaios.stop_sound.

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

  • GitHub: defold/extension-kaios — pinned to 7c50667
    1. This repo publishes no releases or tags. Add a commit archive URL — for the pinned commit, https://github.com/defold/extension-kaios/archive/7c50667210666d65fd0b5d5ebfc6c24d6feb33d7.zip — to game.project under [project] dependencies, then Fetch Libraries in the Defold editor.
    2. Include the sound files with the bundle resources setting in game.project, since kaios.play_sound plays them through the JavaScript AudioContext.
    3. For KaiAds integration, use the separate extension-kaiads repository upstream points to.