Defolder,
How do I setup the OpenAL defold extension?
There doesn’t appear to be a .lua in it to require and the setup on the extension’s readme is a bit confusing, can anyone explain how to use this?
Grify
Defolder,
How do I setup the OpenAL defold extension?
There doesn’t appear to be a .lua in it to require and the setup on the extension’s readme is a bit confusing, can anyone explain how to use this?
Grify
Native extensions (as well as the default engine Lua modules) register themselves directly from C code, so there’s no need for a require.
How do I call them in scripts without requiring them?
Like regular modules.
function init(self)
...
openal.get_info()
...
end
Oh, thank you!