FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Question Regarding Scripting in SIO2: LUA, C, C++, Objective-C

2 posters

Go down

Question Regarding Scripting in SIO2: LUA, C, C++, Objective-C Empty Question Regarding Scripting in SIO2: LUA, C, C++, Objective-C

Post  jbud Wed Dec 24, 2008 4:17 pm

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!

jbud

Posts : 1
Join date : 2008-12-24

Back to top Go down

Question Regarding Scripting in SIO2: LUA, C, C++, Objective-C Empty Re: Question Regarding Scripting in SIO2: LUA, C, C++, Objective-C

Post  uprise78 Wed Dec 24, 2008 4:29 pm

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

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum