Integrate with Enhance - Construct
Using older version? Download library for Construct 2
Install the provided .c3addon plugin. To do that, open the
Menu->View->Addon Manager window, then press the
Install new addon button and navigate to the file. If you run into trouble, check out the official guide.
Install the provided .c2addon plugin. To do this, open the Construct 2 and drag and drop the file onto the window.
File->Export project... option and choose the
Cordova icon under the
Now, let's take a look at a few different options to build your Construct 2 mobile app with Enhance library included.
We will use the original Cordova distribution. First of all, you should install the Apache Cordova on your Mac, Linux or Windows machine. Once it's ready, open the terminal or cmd.exe (if you're on Windows) and navigate to your exported project's folder:
To enable Enhance usage, add the latest version of our Cordova connector to your project's dependencies:
cordova plugin add enhance-cordova-connector
Now you can run the cordova prepare command to make your project ready for packaging. From this point, the project should be ready for the further configuration and building.
Cocoon by ludei is an online build service for HTML5 projects. If you want to use it, you will need an account. If you don't have one, go ahead and sign up. Once your account is ready, create a .zip archive with the folder we exported from Construct 2, then use the
Drop ZIP or
Upload option from the
Create project section and navigate to the archive. When the upload process is done, a new project should appear on your dashboard. To enable Enhance usage in your app, you will have to add our Cordova plugin to it. To do that, go to the
Settings page and switch to the
Plugins section. From the list on the left side, pick the
Custom option and enter the following
Install button. From this point, the project should be ready for the further configuration and building.
There may be an additional software (e.g. Android SDK, Xcode) or steps required. If you run into trouble with any of that, please refer to a respective documentation.