Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by mkreitler

Here's a question for the hardcore programmers out there...

Is it theoretically possible to serve *.js files to a native iOSimpact client, which it could interpret on the fly to run a game?

What I'm looking for is a way to build a "game browser" that runs the iOSimpact engine but could dynamically load impact games from the web.

I understand that most impact games get modified to the point they wouldn't work with iOSimpact in its current state, but I don't care about that right now. The big question is: could this work at all?

1 decade ago by dominic

Yes and no. Technically it wouldn't be a problem, but it's prohibited by the AppStore's TOS:

3.3.2 An Application may not download or install executable code. Interpreted code may only be used in an Application if all scripts, code and interpreters are packaged in the Application and not downloaded. The only exception to the foregoing is scripts and code downloaded and run by Apple's built-in WebKit framework.


On a side note, earlier (not-released, experimental) versions of iOSImpact used a off-screen UIWebView instead of packaging the JavaScriptCore library with it. It was a good deal slower, because you have to jump through hoops to exchange data with native code. However, it would (presumably) be allowed in the AppStore.
Page 1 of 1
« first « previous next › last »