Physics and Phonegap

Hello everyone!

I am running into a sad issue as I try to wrap my app (Finally finished!!) in Phonegap. I am hoping I may be able to get some help with this one last issue.

My app has a scene where I am using physics to move 10 balls around the screen. When I run this in the browser everything works perfectly. However when I wrap it in phonegap, the animations of the moving balls becomes VERY choppy.

Would anyone happen to have any suggestions on how to resolve this final issue?

Thanks everyone!

L

Fix Project.zip (2.6 MB)

I'm not that familiar with Phonegap. Yet, I'm thinking this problem might be related to WKWebView. Does Phonegap support that? If not, then maybe use Xcode to wrap the Hype project.

I think Hype should export to app.

Hi Michael,

I believe that Phonegap does use WKWebView in Xcode. It’s really a wonderful tool, well as long as everything works :smile:

Any ideas on how to remedy this?

Thanks!

L

Unfortunately, I don't know. I don't use phonegap. I use Xcode.

Maybe check if "Webkit graphics acceleration" (in Hype) is on. If it is, turn it off. If it's off, turn it on. HA!

Hi Michael,

No worries! Gave that a try and am still having the same issue.

Thanks for the suggestion, though!

L

This plugin might help you out? https://github.com/Telerik-Verified-Plugins/WKWebView

1 Like

Daniel with the save yet again!!! Thank you so much man!

1 Like