‹›
Advanced API

Runtime Initialization

Reference and usage: Runtime Initialization.

APIContract
jolt_api_version()Reads bridge API version; not a feature-availability substitute.
jolt_init()Initializes native runtime; check success before creating worlds.
jolt_shutdown()Terminates runtime after all owned worlds/resources are released.
GML
// Raw-only ownership example; do not combine with a running managed world.
if (jolt_init() != 1) {
    show_debug_message(jolt_get_last_error_message());
    exit;
}
// Create and own explicit worlds here; destroy all of them before shutdown.