Scirra cog

About Us

We're a London based startup that develops Construct 2, software that lets you make your own computer games!

Archives

Browse all our blog posts

Latest Blog Entries

We love brains!

Join us! Joiiinnn ussss! Mooooree brains!

Introducing Crosswalk: the new way to publish to Android

by Ashley | 19th, December 2013

Chrome for Android is one of the best mobile browsers available: it has great performance, a full feature-set and great gaming technologies like WebGL and the Web Audio API. Now, thanks to Intel, you can use the full power of Chrome to publish Construct 2 games as Android native apps.

The latest version of the Intel XDK allows building apps using Crosswalk, which is a Chromium-based app engine for Android. It's a bit like node-webkit for Android, but with just the browser engine (not the node.js part). The latest beta r155 of Construct 2 can now also export for Android via Crosswalk. This is a huge step up from non-browser engines like CocoonJS and the Intel AGI! Here are some of the advantages over wrappers, which are basically the advantages of Chrome for Android:

  • WebGL support (which Crosswalk enables for all devices)
  • Memory management so large games keep running smoothly and don't crash
  • Fast startup times
  • Letterbox fullscreen modes supported
  • Web Audio API support for reliable audio playback and advanced audio effects
  • Web Workers for faster pathfinding
  • Latest JIT-capable V8 Javascript engine for native-like physics performance with asm.js
  • Full DOM support: all form controls work; support for web-based services like the Facebook plugin and Clay.io
  • Support for XML parsing
  • Support for web fonts
  • Regular updates to bring the latest new technologies and performance improvements as they arrive to Chrome

What's more is Intel are providing the build service for free!

We're confident enough in Crosswalk that the new export option in Construct 2 is simply called 'Android'.

Get started

To try out the new build system, follow the steps below. We'll be adding more documentation for this when the next stable release of Construct 2 comes around.

  1. Download the Intel XDK to access the build system
  2. Run the Intel XDK and sign up/log in if you haven't already
  3. Create a new project in the XDK
  4. Export your project from Construct 2 using the new 'Android' option
  5. Copy-paste the exported files over the XDK project you've created
  6. Switch to the 'Build' tab in the XDK
  7. Click the 'Build' button by 'Crosswalk for Android'
  8. Follow the steps to build the app
  9. Download the .APK on to your device (e.g. by emailing a link), install and run!

Note that the Crosswalk build is not to be confused with the old 'Intel XDK' export option, which used Intel's non-browser wrapper AGI (App Game Interface, formerly known as appMobi directCanvas). The new Crosswalk build is still built using the Intel XDK, but uses a completely different engine based on Chrome for Android. To help clarify this, r155 renames the old 'Intel XDK' export option to 'Intel AGI'.

Future work

As with any new technology, there might be a few quirks. Please test your apps and let us know how it goes. If there are any problems we'll pass them on to Intel. Our first priorities will be to integrate in-app purchases, enable access to the back/menu buttons, and make sure everything else works smoothly. However it should be possible to test the general performance and features of your games right away.

Note also that Crosswalk only supports Android 4.0+. This is unlikely to change, since that is also the requirement for Chrome for Android. However about 75% of all Android devices are 4.0+, and this will increase to virtually all devices in future.

Go forth and test!

In future we will be strongly recommending that all Android publishing is done via Crosswalk for the best features, performance and compatibility with your games. We understand that there may be some issues to resolve before it's ready for publishing, but once those are fixed it should no longer be necessary to use any non-browser wrappers on Android any more. We're very excited about the new possibilities with Android publishing, and we hope you are too. Give the new Crosswalk engine a spin and let us know how it goes!

Now follow us and share this

Tags:

Comments

7
Colludium 41.5k rep

Simply excellent...

Thursday, December 19, 2013 at 4:57:08 PM
3
iceangel 31.9k rep

Thanks for the explanation...now testing

Thursday, December 19, 2013 at 4:57:57 PM
10
bowiz2 5,951 rep

I am yet to try this out, but it sounds absolutely amazing. A ridiculously simple WYSISYG editor with simple, visual yet flexible code which can export to a native application!? It seems almost too good to be true, and I've got a feeling quite a large amount of normal app developers will turn to C2 instead of their usual alternatives.

I've been with C2 from the very beginning - and this is one of the most business substantial updates that I have seen since the first public release.

Keep it up guys!

Thursday, December 19, 2013 at 4:58:16 PM
3
Gianmichele 1,550 rep

WOW, just WOW if this works as expected you guys will only have to fill the gap for iOS.

Do you have any video recorded of the tests you guys already did?

Thursday, December 19, 2013 at 5:00:36 PM
2
AsinineGames 3,488 rep

So awesome, can't wait to try it out!

Thursday, December 19, 2013 at 5:01:41 PM
3
omrpps 6,954 rep

Well, there is no other tool for 2d games better

Thursday, December 19, 2013 at 5:04:08 PM
2
mahdisml 4,989 rep

Wao !
Its goooood !

Thursday, December 19, 2013 at 5:04:11 PM
2
RBuster 6,969 rep

Great news, Ashley. Thank you!

Thursday, December 19, 2013 at 5:09:06 PM
3
PVApps 1,587 rep

So good to be true! Thanks C2 team, for the great news!

Thursday, December 19, 2013 at 5:12:52 PM
4
russpuppy 8,934 rep

nice!! is there support for ad networks like admob?

Thursday, December 19, 2013 at 5:15:58 PM
3
ChrisAlgoo 4,004 rep

Wonderful news. I hope an iOS export isn't far behind!

Thursday, December 19, 2013 at 5:16:11 PM
2
lucid 16.8k rep

fantastic!

Thursday, December 19, 2013 at 5:17:52 PM
2
kike140 1,918 rep

awesome!!!!!!

Thursday, December 19, 2013 at 5:28:53 PM
3
sheepy 6,876 rep

Construct 2 was by far the best investiment I´ve ever made ;D Thanks guys!

Thursday, December 19, 2013 at 5:33:57 PM
2
railslave 4,688 rep

hopefully there will be better ways to sign apks, thats ALL i want !!!!!!!!!!!!!!!!!!!!!

Thursday, December 19, 2013 at 5:41:01 PM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.