Questions tagged [cocoonjs]

CocoonJS is a platform that allows developers to deploy, accelerate, and monetize their JavaScript HTML5 games in the App store and Google Play.

What is CocoonJS?

CocoonJS is a platform that allows developers to deploy, accelerate, and monetize their JavaScript HTML5 games in the App store and Google Play.

How to use CocoonJS?

Try your games for free using the CocoonJS Launcher App. Once you have tested it, generate a final file to be uploaded to the markets using our cloud based compilation system. What HTML5 features are allowed?

CocoonJS provides an accelerated canvas bound to OpenGL ES but also provides full DOM and CSS support via a WebView plus access to device features (camera, GPS, contact list, ...), monetization channels (ads, IAP, ...) and more.

Source: CocoonJS

82 questions
51
votes
2 answers

Setting the Minimum iOS version in Xcode

I'm fairly new to Xcode as I use CocoonJS to build my HTML5 iPhone game but I want to know how to correctly set the minimum iOS version. I've set my deployment target to 8.0 and did a clean and then a build but when I submit to the app store it says…
JamesR
  • 950
  • 1
  • 7
  • 17
27
votes
2 answers

Scaling KineticJS canvas with CocoonJS idtkscale

I got my KineticJS game working inside CocoonJS quite nicely, except scaling the canvas. I have 1024x768 canvas, which is great for iPad 2. But for iPad 4, due to retina screen, the game takes only 1/4th of the screen. CocoonJS says this about the…
pillar15
  • 576
  • 3
  • 11
5
votes
1 answer

is crosswalk faster than cocoonjs

I just recently discovered cooconjs and i was excited to learn in a week or two. However i also have discovered crosswalk from intel. Both look very promising And i have no idea which one is better for making games run faster on cellphone. In…
Muhammad Umer
  • 17,263
  • 19
  • 97
  • 168
4
votes
2 answers

Cocoon.js & Three.js: Improving performance

I have developed a rudimentary 3D game using box2Dweb for physics and three.js for rendering. It's a basic side scroller. I would like to get it up and running on iOS. I have decided to use cocoon.js for packaging the game as it allows for WEBGL…
Brett Gregson
  • 5,867
  • 3
  • 42
  • 60
3
votes
1 answer

How to center the canvas in CocoonJS Canvas+ using Phaser

I'm trying to create a game using Phaser and CocoonJS. Everything works fine except for centering the canvas when deploying the game on cocoon using the canvas+ renderer. Below are three lines of code that accomplish the effect I am looking for in a…
eivers88
  • 6,207
  • 1
  • 33
  • 34
3
votes
0 answers

Send POST data using cordova inAppBrowser plugin

Is it possible to send POST request with data using cordova inAppBrowser plugin, in the same way XHR send POST request ?
Vito Lipari
  • 795
  • 8
  • 35
3
votes
0 answers

Google Analytics for Mobile App - without SDK

I would like to track screen views for my mobile app in Google Analytics without using the iOS or Android SDKs. My App is HTML5 wrapped in Cocoon.io. Having access to AJAX already, I make HTTP calls directly. I do see the pixel GET is getting called…
Martin Drapeau
  • 1,484
  • 15
  • 16
3
votes
1 answer

Speeding up phonegap app with cocoonjs

Concoonjs is use to speed up html 5 game app. I have a Phonegap/Cordova app(not game), but I am not sure by using Concoonjs will it speed up the performance? Have anyone tried it before?
Alvin
  • 8,219
  • 25
  • 96
  • 177
3
votes
1 answer

CocoonJS for iPhone (NOT iPad)

I've already spent two weeks trying to figure this out, and I'm unable to get it working... I made an HTML + Javascript game intended to work on both Android and iOS devices, so I used Ludei's CocoonJS (https://www.ludei.com/cocoonjs/) to compile…
Johanovski
  • 235
  • 1
  • 5
  • 15
3
votes
1 answer

cocoonJS Facebook integration and hash key mismatch

I am trying to integrate CocoonJS Social with my app. When I run it under their launcher it returns the following exception as a response from facebook ApiException: Key hash E7rnQv1gxeHDd0uOra-0EHzc1hE does not match any stored key hashes. I took…
2
votes
1 answer

Add localized language app descriptions on app store

I have an app, written in JavaScript and built into Objective C by http://cocoon.io In other words, I can not edit the C files of the build. Now, I want to do the simplest thing on the world - to add translated app description in multiple languages.…
Nikolay Shindarov
  • 1,616
  • 2
  • 18
  • 25
2
votes
2 answers

Send data to .php with Cocoonjs Canvas+

I have a game finished and I´m saving the scores in a database perfectly, only if I use webview+, if I change to canvas+ the save proccess is not working (and no errors). I´m trying to save this data sending it to a php file connected to de database…
Pizzaboy
  • 331
  • 2
  • 14
2
votes
1 answer

iOS PhoneGap Plugins stop working after adding CocoonJS iOS WebView+ Plugin

Like the title says. Adding CocoonJS iOS WebView+ plugin to my Cordova PhoneGap project stops it from loading and running plugins. I also tried it with an empty project and it also did not work. Here is how I am adding the CocoonJS plugin: cocoonjs…
Nitzan Wilnai
  • 923
  • 9
  • 24
2
votes
1 answer

Cordova not working with threejs?

I have a game written with three.js in javascript, I am using Cordova to try to put it on the IOS and android store but Cordova doesn't seem to support webGL, and if i use a canvas renderer my game is really slow, I am thinking of trying…
HarveyBrCo
  • 805
  • 1
  • 9
  • 17
2
votes
1 answer

Cocoonjs programmatically display soft keyboard

Just starting to look at cocoonjs and tried the canvas demo from their tutorial using the launcher app.. I was wondering though is there a way to bring up the soft keyboard on mobile when opening an app (without a text input on screen, or perhaps…
gratz
  • 1,506
  • 3
  • 16
  • 34
1
2 3 4 5 6