New this build: an experimental but official Ejecta exporter for iOS! Ejecta is a free open-source non-browser wrapper for HTML5 games and provides an interesting alternative to CocoonJS for iOS publishing. It supports WebGL (with no JIT, so may not be faster but can use shaders), letterbox scale, iAd, IAP, Game Center and more. However it inherits some of the non-browser limitations of CocoonJS - form controls, XML parsing, Facebook and web fonts won't work. Ejecta also does not currently support memory management, so may have issues with large games. However being open source we will be investigating adding support for this ourselves soon.
Proper documentation will come shortly, but in summary it works like this:
- Get access to a Mac and install XCode. (Sorry, you can't build on Windows!)
- Download Ejecta and extract the files to a folder on your Mac. (Don't extract to a Windows PC and copy it over - it seems to change the file permissions and break the build.)
- Export your project from Construct 2. (Use the new 'Ejecta' plugin to access Ejecta-specific features like Game Center)
- Rename the exported folder to "App", and copy it to the Ejecta folder, so App\ sits next to Source\
- Open the XCode project and run. It should start running in the simulator!
- You should also rename the bundle identifier in Info.plist (under 'Resources' on the left), since the default is something like com.yourcompany.yourproduct
You can also test on real devices, but you need to pay the $99/year Apple developer fee and set up the devices for development purposes. Apple's site documents how to set this up.
Let us know how it works out for you!