Question Regarding Scripting in SIO2: LUA, C, C++, Objective-C
2 posters
Question Regarding Scripting in SIO2: LUA, C, C++, Objective-C
Hi All
This maybe quite a noob question, but I'm sure some other noob out there is wondering the same thing
I am looking into SIO as a platform for making games and was wondering what the flexibility around the coding language used to code SIO functions and calls is?
1) Do you have to use LUA to call SIO?
2) Or can you write the whole app in C, C++ Or objective-C?
3) Are there specific functions that are only available in LUA or C? Or everything you can do in C you can do in LUA and vice versa
thanks!
This maybe quite a noob question, but I'm sure some other noob out there is wondering the same thing
I am looking into SIO as a platform for making games and was wondering what the flexibility around the coding language used to code SIO functions and calls is?
1) Do you have to use LUA to call SIO?
2) Or can you write the whole app in C, C++ Or objective-C?
3) Are there specific functions that are only available in LUA or C? Or everything you can do in C you can do in LUA and vice versa
thanks!
jbud- Posts : 1
Join date : 2008-12-24
Re: Question Regarding Scripting in SIO2: LUA, C, C++, Objective-C
You never need to use Lua. The whole app can be written in C. If you want to, you can wrap the SIO2 calls in either C++ or Objective-C and use that if you are more comfortable but C is always the fastest way to go. Lua is limited to a subset of the functions that you can call from C. If fact, just forget Lua exists and code everything in C and you will be much better off.
uprise78- Posts : 228
Join date : 2008-10-31
Similar topics
» Noob question about the engine and scripting
» invoking objective-c messages and invoking SiO2 API calls from obj-c
» Shadow & Shading Issues
» LUA Scripting
» C++ or Objective C
» invoking objective-c messages and invoking SiO2 API calls from obj-c
» Shadow & Shading Issues
» LUA Scripting
» C++ or Objective C
Permissions in this forum:
You cannot reply to topics in this forum