LUA Scripting
2 posters
LUA Scripting
My question is:
What is scriptable with LUA and how do i load a script into my project and use it?
Thanks,
Boris
What is scriptable with LUA and how do i load a script into my project and use it?
Thanks,
Boris
thebo- Posts : 3
Join date : 2008-10-02
Re: LUA Scripting
At the moment all OpenGL ES, and some SIO2 structure. Im going to release a new revision like in a week or so and it includes all SIO2 structures & functions.
In the meantime if you want to start testing you can this:
That's the code that I was using for testing the SIO2 configuration of sound, texture filtering etc...
In the meantime if you want to start testing you can this:
- Code:
{
SIO2stream *_SIO2stream = sio2StreamOpen( "config.lua", 1 );
if( _SIO2stream )
{
SIO2script *_SIO2script = sio2ScriptInit( "config" );
sio2ScriptLoad( _SIO2script,
_SIO2stream );
_SIO2script = sio2ScriptFree( _SIO2script );
_SIO2stream = sio2StreamClose( _SIO2stream );
}
}
That's the code that I was using for testing the SIO2 configuration of sound, texture filtering etc...
Similar topics
» Blender + Python scripting , but not Lua ?
» Question Regarding Scripting in SIO2: LUA, C, C++, Objective-C
» Noob question about the engine and scripting
» Question Regarding Scripting in SIO2: LUA, C, C++, Objective-C
» Noob question about the engine and scripting
Permissions in this forum:
You cannot reply to topics in this forum