Sadly, Unity still can't "export" to html and requires the user to install a plugin for web, which is not available for linux.
Rebuilding An HTML5 Game In Unity
21–28 of 28 posts
Re: Rebuilding An HTML5 Game In Unity
#22I wonder if they could have just used CocoonJS, which is basically a reimplementation of WebView with better performance for games. But, anyway, yeah, it's well know the WebView on Android is a disaster. A top Facebook guy famously gave a key note at Android DevCon about why they switched to more native on mobile and said, "We don't hate the web [and HTML], we hate the webview." after going through countless bugs and…
Re: Rebuilding An HTML5 Game In Unity
#23I wonder if they could have just used CocoonJS, which is basically a reimplementation of WebView with better performance for games. But, anyway, yeah, it's well know the WebView on Android is a disaster. A top Facebook guy famously gave a key note at Android DevCon about why they switched to more native on mobile and said, "We don't hate the web [and HTML], we hate the webview." after going through countless bugs and…
https://hacks.mozilla.org/2014/04/html-out-of-the-browser/
The idea is to rely on the Firefox runtime for your app, rather than the horrible buggy Webview, in order to make a more consistent experience across devices.
Re: Rebuilding An HTML5 Game In Unity
#24Earlier quoted context omitted.
Isn't PhoneGap the same thing? What makes CocoonJS better?
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 u…
Re: Rebuilding An HTML5 Game In Unity
#25Earlier quoted context omitted.
Another option is Phaser - A free, open source game engine similar to Impact: http://phaser.io/
I've been seeing Phaser a lot. Does anyone know of any commercially successful games built with these HTML5/JS engines? I understand success should have nothing to do w/ framework but certainly there are limitations/struggles of trying to build a non-native game. I'm basically trying to see if I should bet that mobile browsers will mature enough or if I should simply invest my time in learning native mobile dev
Re: Rebuilding An HTML5 Game In Unity
#26Earlier quoted context omitted.
Why would Apple or Google build such a thing? They are already both "winning" the market in their own metrics. They both have huge numbers of developers and have little interest in building tools that allow developers to work in a cross platform way. MS built the HTML5/JS tools because they are behind and need to attract every developer possible.
Well because there are still more web developers out there than mobile (native) developers. So, in any case, it would help getting more apps in their store -> more happy users -> more money
Most "web apps" work worse than most apps we had two decades earlier, both in terms of design and performance. If you want people to pay for software on the app store, it helps if you put some effort into making your app responsive and exploiting the machine you are on. The only way to do this is with native applications.
Re: Rebuilding An HTML5 Game In Unity
#27The HTML5 version was using CSS, not canvas or WebGL. Sadly, Unity still can't "export" to html and requires the user to install a plugin for web, which is not available for linux.
Re: Rebuilding An HTML5 Game In Unity
#28Earlier quoted context omitted.
Well because there are still more web developers out there than mobile (native) developers. So, in any case, it would help getting more apps in their store -> more happy users -> more money
Yes, but web technologies generally forbid you from doing anything remotely innovative because of the way they are designed. Most "web apps" work worse than most apps we had two decades earlier, both in terms of design and performance. If you want people to pay for software on the app store, it helps if you put some effort into making your app responsive and exploiting the machine you are on. The only way to do this…