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 Greenfish

I want to develop games for Android with ImpactJS.

I read this:

Dominic wrote "...Boring explanation: The only reason that the games don't work with Chrome and Firefox without a webserver, is because of their (imho) flawed implementation of the "same origin policy". ..."
http://impactjs.com/forums/help/using-impact-without-a-web-server-using-phonegap

Is it possible to run ImpactJS games on Android without running
a server because Androids WebView has a correct implementation
of the "same origin policy"?

Or is a server necessary to run Impact games in an Android WebView
and what is the simplest solution for it?

1 decade ago by fugufish

what kind of games do you expect to run on the Android Webview? I'm not super confident of the performance. Perhaps someone here can convince me otherwise.

1 decade ago by Greenfish

All kinds of games which are possible with ImpactJS.
Ok, performance ist the second question.
But at first I want to know is it possible at all
to use ImpactJS for Android games with(which one?)/without a server?

1 decade ago by Arantor

If you're building for Android with an intent to move it to the market, don't bother trying to use a webview as is (much as you generally wouldn't do the same for iOS) and just run with something like AppMobi, because not only can you actually build a native app relatively easily, you also actually get much better performance out of it - and then you don't have to worry about having a server either.

1 decade ago by Greenfish

Quote from Arantor
If you're building for Android with an intent to move it to the market, don't bother trying to use a webview as is (much as you generally wouldn't do the same for iOS) and just run with something like AppMobi, because not only can you actually build a native app relatively easily, you also actually get much better performance out of it - and then you don't have to worry about having a server either.


Can I use PhoneGap also to solve the "no server"-problem?

1 decade ago by Arantor

Same basic deal: you're still building a bundle that contains all the data and has it immediately available so no server will be required.

But if you're using PhoneGap, you're practically just wrapping a webview around Impact, which is really not the best way to do it (since you're losing out on all the real reason to go native in the first place, which is the raw performance that can be obtained)
Page 1 of 1
« first « previous next › last »