News for hackers. Stuff that matters.
Re:Rebuilding An HTML5 Game In Unity by kevingadd on Thursday April 24, 2014 @12:58PM (#7641469)
Isn't PhoneGap the same thing? What makes CocoonJS better?
Re:Rebuilding An HTML5 Game In Unity by agmcleod on Thursday April 24, 2014 @01:37PM (#7641695)
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.

Re:Rebuilding An HTML5 Game In Unity by thoughtpalette on Thursday April 24, 2014 @05:37PM (#7643220)
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?
Re:Rebuilding An HTML5 Game In Unity by octopus on Thursday April 24, 2014 @02:42PM (#7642083)
PhoneGap uses the underlying OS WebView. If the WebView is slow your PhoneGap application will be slow.