Hacker News new | ask | show | jobs
by kevingadd 4433 days ago
Isn't PhoneGap the same thing? What makes CocoonJS better?
2 comments

Not 100% on this, but I don't think phone gap has a hardware accelerated canvas, and I'm pretty certain it doesn't support WebGL. The WebGL part doesn't really apply to this article, but it's important to note.

Ludei built CocoonJS with games in mind. It's definitely not perfect, and somethings can be tricky to debug & figure out, but I think it's the better alternative out there.

Me personally, I'm just not big on using unity. I think it's a really awesome tool, but it's just not for me.

I know you can trigger hardware acceleration with CSS transforms (a life saver), have not checked out how canvas handles that (i've made some small games using canvas on mobile). If HA exists for canvas on desktop (_webkit_), wouldn't it work in a iOS webview?
PhoneGap uses the underlying OS WebView. If the WebView is slow your PhoneGap application will be slow.