informa
Featured Blog

How the mobile HTML5 landscape has changed in 16 months

Last time I blogged about it, we have seen the advantages of CocoonJS and

Originally posted on the cownado.com blog.


While Ejecta has largely remained the same, CocoonJS has evolved into cocoon.io, which has both its good and bad parts.

The good part is that now cocoon.io projects are based on Cordova, so now they can use all the available Cordova plugins, including my own cordova-plugin-networking-bluetooth.

The bad part is that if you want to use cocoon.io for more than 2 projects, it can become expensive.

Last time I also mentioned Ejecta-X, which is pretty much dead by now (The last commit is from May 2014).

I believe that Ejecta and CocoonJS have been very useful in the last 2 years (in fact, Frank the Dillo was released using CocoonJS), but now they are not as needed as they were back in 2014, and here's why:

Let's recall that these projects address the slowness of HTML5 games by implementing a hardware-accelerated Canvas, a very basic HTML5 Audio functionality, touch events, and nothing more.

While it is possilbe to make great games despite these limitations, much better results can be obtained by implementing the game menus using HTML and CSS, and by using the Web Audio API for game audio.

Recently Cordova has got pluggable webviews, which means that the WKWebView can be used for iOS, and Crosswalk can be used for Android.

WKWebView means that the game runs with the same performance as it would run using Safari, which means that it uses a hardware-accelerated Canvas and a very fast JavaScript interpreter, but with the added bonus that all the APIs, all the HTML and CSS supported by Safari are available to the game.

Similarly, Crosswalk enables the game to run with the same performance of running it using a recent version of Chrome, with the added bonus that all the APIs, all the HTML and CSS supported by Chrome are available to the game.

In addition to this, let's not forget that newer mobile devices are much more performant than those available 16 months ago, so I believe that in the near future, mobile HTML5 performance will not be a problem anymore.

Latest Jobs

Sucker Punch Productions

Bellevue, Washington
08.27.21
Combat Designer

Xbox Graphics

Redmond, Washington
08.27.21
Senior Software Engineer: GPU Compilers

Insomniac Games

Burbank, California
08.27.21
Systems Designer

Deep Silver Volition

Champaign, Illinois
08.27.21
Senior Environment Artist
More Jobs   

CONNECT WITH US

Register for a
Subscribe to
Follow us

Game Developer Account

Game Developer Newsletter

@gamedevdotcom

Register for a

Game Developer Account

Gain full access to resources (events, white paper, webinars, reports, etc)
Single sign-on to all Informa products

Register
Subscribe to

Game Developer Newsletter

Get daily Game Developer top stories every morning straight into your inbox

Subscribe
Follow us

@gamedevdotcom

Follow us @gamedevdotcom to stay up-to-date with the latest news & insider information about events & more