1 decade ago by techmale
Hi
I am unsure if this should be engine related, but there is no forum for deployment related stuff, so...
I am developing a small test game, with the main intention of publishing it on Android.
I have embedded my code inside an app, using a WebView to run it.
This all works great, as I get about 50fps on my test phone.
However, when I leave the game and come back to it, ie: restart, it runs at half the speed. And if I leave it again and come back it drops another 50%, down to about 10fps.
What is worse, is that if I kill the process ("force stop"), and restart it, it will be running at 50fps again.
Has anyone seen anything similar?
Does anyone know a solution?
On a different note, is anyone else developing for embedded apps?
eg: phonegap, Titanium or Appmobi?
I am unsure if this should be engine related, but there is no forum for deployment related stuff, so...
I am developing a small test game, with the main intention of publishing it on Android.
I have embedded my code inside an app, using a WebView to run it.
This all works great, as I get about 50fps on my test phone.
However, when I leave the game and come back to it, ie: restart, it runs at half the speed. And if I leave it again and come back it drops another 50%, down to about 10fps.
What is worse, is that if I kill the process ("force stop"), and restart it, it will be running at 50fps again.
Has anyone seen anything similar?
Does anyone know a solution?
On a different note, is anyone else developing for embedded apps?
eg: phonegap, Titanium or Appmobi?