[ Tutorial 10 ]
Finally this tutorial is out there... It introduce how to use LUA with SIO2, OpenGL and OpenAL API within your application. Please take a good look at the source code as well as the .lua inside the SIO2 archive. Sky is the limit with this technique! so make sure that you master it well before you implement scripting within your 3D apps. Watch the video tutorial closely for more info. about how to link scripts to your 3D object and have them executed dynamically at run time.
Please take note that the LUA layer in SIO2 doesn’t expose NONE of the iPhone API, strictly SIO2, OpenGL ES and OpenAL, and does not brake the Apple iPhone EULA, many SIO2 games have been released on the App. Store with LUA scripting inside, a good example is MeditationGarden, that uses LUA for rendering videos within the App. as well as for other 3D effects.
Controls: N/A






![[ Video Tutorial ]](SIO2_iPad_and_iPhone_3D_Game_Engine_Video_Tutorials_Part3_files/shapeimage_13.png)