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
1
vote
1 answer

No Touch with ThreeJS OrbitControls using WebGL on IOS Devices with Ludei / Cocoon JS

Following problem: I'm using the OrbitControls of ThreeJS plugin to rotate around a sphere. This works fine as long as i use the CanvasRenderer. As soon as i switch to the WebGLRenderer the touch controls stop working on iOS Devices through the…
seanarcher
  • 109
  • 1
  • 3
  • 8
1
vote
1 answer

HTML5 apps: how to make Javascript faster?

I'm trying to make a HTML5 word-game that should eventually be wrapped into an app for Android and iOS. For now, I only tried Phonegap / Cordova to build the app, but it is VERY slow on my 2-year old Android 2.3.3 phone. Operations (like indexing…
Dylan
  • 9,129
  • 20
  • 96
  • 153
1
vote
1 answer

How do you use CocoonJS for HTML project

I have a HTML/JS project I created in Eclipse that I want to make cross platform. I came across CocoonJS by Ludei and it seemed like the best option (as they support WebGL) I followed the instructions on the Ludei site I got CocoonJS Launcher on my…
user2615490
  • 119
  • 3
  • 15
0
votes
0 answers

Generate ID when render new nested_field by gem cocoon

I'm using bootstrap accordion where need set unique ID in few tags and attributes, but I can't find working way how to do it(without using JS). Is there any way to pass in local variable some counter when rendres nested…
PRD RSD
  • 79
  • 5
0
votes
0 answers

how to execute function after cocoon add the record?

I'm using the cocoon gem in my rails project, and I have two "link_to_add_association", but I need that depending on which link_to is pressed to do a certain function, link_to with id "link_1" adds the records to the beginning of the table and the…
jeff
  • 367
  • 4
  • 19
0
votes
1 answer

using data-action with cocoon:after-insert

I am converting some older JS into stimulus. $(document).on('cocoon:after-insert', function(e, element) { $some_inputs.change(updateMethodName) }) The cocoon add partial looks like = link_to_add_association 'Add Something', f, :method, partial:…
MZaragoza
  • 10,108
  • 9
  • 71
  • 116
0
votes
1 answer

How to show a form on load

How to show form on load. Now I can see form fields on click of button (add keyskills). I want all function to be work together.On load i want to see the form and onclick 'add key skill' or 'remove key skill' it should add and remove(now on click of…
SreRoR
  • 1,151
  • 1
  • 17
  • 44
0
votes
1 answer

Phaser 2.10 CE video works on web but not on android

Hi guys I am new to Phaser CE 2.10 I am trying to place a video as a bg, it works on web local server as well as my heroku site. However there is an error when I run it on android (7.1.1). I compile with Cocoonjs My code is: var main =…
0
votes
1 answer

How do I get a Phaser game onto the iOS App Store?

On my pc, I made a game with html, css, javascript, and phaser for the framework. I'd like to get this game on the iOS App Store. I have access to a mac so I could transfer my project onto it if I can't do everything on my pc. What are my options…
mb_bts
  • 15
  • 6
0
votes
1 answer

Error in wrapping phaser app in cocoon.io

I have created a game in Phaser and it runs file on my local machine via XAMPP. I have reshuffled my files to align to the Cocoon structure as per their example (basically just used the default Cocoon template, switched out a few files and editor…
user7289
  • 32,560
  • 28
  • 71
  • 88
0
votes
2 answers

My Game’s In-App Purchasing Doesn’t Function

I am a Android game developer in Nigeria. My app is in the playstore and it has in-app products. The default price is naturally in Naira, as is my Merchant Bank account. Here is the problem: when I try to purchase a product from my game, it gives me…
0
votes
1 answer

How to rewire my source to run after deviceready in Cocoon?

I need help getting the game to run in the right place, inside onDeviceReady. Here is how my game is formatted as of now. I don't think the game runs well unless I change it. Mainly I'm not sure how to scope the variables and set them after…
listenlight
  • 654
  • 1
  • 12
  • 27
0
votes
2 answers

Three.js video texture mapping low quality/resolution

I'm about to create a panoramic-360 video player with device orientation control for Android and IOS with cocoon.js and three.js. I have successfully built the demo on the examples at threejs.org but struggling with a problem: My original test…
fmarton
  • 336
  • 2
  • 6
0
votes
0 answers

Rails save not working on gem cocoon with different edit form

Friends , I have a model order that has many details. I am using the cocoon gem to generate forms . They render ok but are not saving . I click the button to save and nothing happens , and rails console shows nothing. The default edit form, called…
0
votes
1 answer

Can't login into the CocoonJS Developer app

I want to log in into the CocoonJS Developer app (on iOS, iPad mini), but I got an error "CSRF protection". I aso tried "Connect with Google", but that isn't working either because of cookie settings or something. What am I doing wrong? Note: I also…
Justin La France
  • 789
  • 8
  • 21