Feel free to download and use the game art, sprite and background. I have created them to help game developers. Please do not download them and sell. If you need a specific game art, go ahead and contact me by posting a comment in my blog. I will try my best to create the game art and put it up here.
Use cocoon for building android games. It produces smaller files compared to Intel xdk.
Use Intel xdk to build iOS games. It produces smaller ipa files compared to cocoon.
Typical file sizes for apk:
coccoon = 8 MB, intel xdk = 25 MB
and for ipa (iOS) :
cocoon ios = 20 MB, intel xdk = 4 MB
Why Intel xdk apk such big file, because you need to embed crosswalk browser. If you don't use crosswalk, the file will be very small, but virtually unplayable because of unpredictability. You could use shared crosswalk to reduce the apk, but, that might put off your players who may not like downloading the Intel crosswalk separately (about 25 MB).
1. Export your Construct2 as cordova app as usual. Then delete the config.xml, as usual and zip it and upload to cocoon.io.
2. After doing the settings, click Build Dev App. Download the iOS Dev App
3. Unzip it to get the xarchive file. Use Xcode to export as Ad Hoc app signing it with the ad hoc dev key which you earlier created in the developer.apple portal. After exporting you will get an ipa file.
4. Plug in your iPad to your Mac and fire up iTunes. Drag the ipa file to the Library in iTunes. Then click on iPad device. Goto the list of Apps. Click Install. It will change to "Will Install". Click on Sync button and it will be copied to the iPad. You have now installed the Dev App to your iPad.
To test your construct2 game.
1. Export your construct2 game as cordova as usual. Then delete the config.xml, as usual. Then zip it and upload to your website. Then get the link to your uploaded file and use an online qrcode generator (e.g. kaywa qrcode) to generate the QR code.
2. On your iPad, run the Dev App and select URL. Once you tap in the URL selection text box, the Scan QR Code Button will appear. Tap on it and scan the QR code in Step 1 above.
3 Then Select Canvas+ at bottom to open it and run your game.
This happens because you used jpg files when uploading the icon
To solve this problem, make sure you upload 1024 x 1024 png files for IOS icon and also Default icon. Do not use jpg icons. Also if this fails to solve your problem, make sure you delete all icons in your construct2 editor. You can do this in the Project browser on the right of the Construct2 editor. Just scroll down to the Icon folder and delete all the icons there. That will force cocoon.io to regenerate all the icons.
And it worked. Bascially, you need to set your window to 16 : 9 aspect ratio, eg, 1280 x 720, or 1600 x 900 etc. and use Scale Inner.
So, I used 1280 x 720 and Scale Inner for the property "Fullscreen in browser" and some of the sprites on the left and right edges got cut off. So, I moved them inwards on both sides, and it worked beautifully.
I chose 1280 x 720 instead of 1600 x 900 because, if you chose the latter, your background images might take up a lot of memory, making your game larger, especially if you are doing a perpetual-side-scrolling game which uses multiple background layers for parallax effects.
After downloading the xarchive file from Cocoon.io. You normally open the xarchive file in xcode to submit to itunesconnect. If you get the error message Unable to .... Symbol Tool error, then the solution is very simple.
Just uncheck the " Include symbols ...." when validating, or, submitting to itunesconnect. That's it!
Step 1 is to check if a key exists. Fore example, "HighScore"
Steps 2, 3 and 4 :
The crucial part is Step 4. You need to wait for the "Get" result to come back before you can fetch tie ItemValue and use it - very un-intuitive. If you miss this step and just assigned your ItemValue at Step 3 then you'll be pulling your hair out wondering why LocalStorage seems to fail.
First of all, if you are going to use Cocoon.io to build your games, you should use sprites as buttons, do not use the Buttons object. If you used Buttons objects, then after compiling with Cocoon.io, the buttons will be invisible.
Next, make sure that the sprites for the buttons "Collisions" property is set to "Enabled". Next, for each sprite, make sure that the "Collision Polygon" is set to "Bounding Box". The default is set to follow the outline of the sprite - which is bad and reduces the surface area which can be touched. So set it to bounding box. See the picture below.
It is easy to add AND conditions in Construct2. Just right-click on an event, then select "add another condition". The default behaviour is to add the new condition as an "AND" condition. But how do we add another "OR" condition?
to get you started on how to use cocoon.io to build your construct2 games. In addition, it also teaches you how to create games in construct2. After reading some pages, I realize that cocoon.io does not support Buttons, you need to use sprites to make buttons.
At time of writing the book costs only USD2.59 and it is the least we can do to support cocoon.io and Andreas.