Pokročilé API

Inicializace runtime

Reference a použití: Inicializace runtime.

APIChování
jolt_api_version()Čte verzi bridge API; nenahrazuje ověření dostupnosti konkrétní funkce.
jolt_init()Inicializuje native runtime; před tvorbou světů zkontrolujte úspěch.
jolt_shutdown()Ukončí runtime po uvolnění všech vlastněných světů/resources.
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.