downloading sio2 objects to run lua scripts

View previous topic View next topic Go down

downloading sio2 objects to run lua scripts

Post  foobar8675 on Thu May 28, 2009 9:25 am

Hi,

At run/init time, I'm interested in being able to download sio2 resources to dynamically load scenes and more importantly, load scripts for running. I wanted to know if this is possible and if anyone has tried this.

thanks and any input is appreciated.

foobar8675

Posts : 16
Join date : 2009-05-07

View user profile

Back to top Go down

Re: downloading sio2 objects to run lua scripts

Post  oioioi on Thu May 28, 2009 9:35 am

Download from a server?

oioioi

Posts : 136
Join date : 2008-12-02
Location : Norway

View user profile

Back to top Go down

Re: downloading sio2 objects to run lua scripts

Post  yarri on Thu May 28, 2009 11:05 am

Hi, I'm planning to use Lua for game character AI using scripts loaded from the .sio2 files although I'm worried Apple may reject this. I think the use case you suggest, downloading Lua scripts from a server, will absolutely violate the Apple SDK license, check out this section in the 2.2.1 Agreement:

3.3.2 An Application may not itself install or launch other executable code by any
means, including without limitation through the use of a plug-in architecture, calling other
frameworks, other APIs or otherwise. No interpreted code may be downloaded and used in
an Application except for code that is interpreted and run by Apple's Published APIs and built-
in interpreter(s).

And you can follow this thread on the Apple Dev Forums, although no one from Apple has replied:
https://devforums.apple.com/message/31531#31531

--yarri

yarri

Posts : 81
Join date : 2009-04-10

View user profile

Back to top Go down

Re: downloading sio2 objects to run lua scripts

Post  sio2interactive on Thu May 28, 2009 4:44 pm

I do believe that this app will be rejected, but yes its possible to do so... check sio2_socket in tutorial13_1 & tutorial13_2, with that you can easily create a download protocol that will stream .sio2.

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: downloading sio2 objects to run lua scripts

Post  oioioi on Fri May 29, 2009 7:20 am

There is at least one game in appstore that allows users to download community maps. The racing game that was popular some time ago got a map editor and you can download and upload maps to their server

oioioi

Posts : 136
Join date : 2008-12-02
Location : Norway

View user profile

Back to top Go down

Re: downloading sio2 objects to run lua scripts

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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