How do I built for CocoonIO

Get help using Construct 2

Post » Tue Jun 30, 2015 12:26 pm

Hello @Ludei

I've been trying to get my apps to cocoonIO for awhile now, but I have a few questions first.

1) What Exporter is to choose?
I'm using the latest CoccoonJS Plugin available at Github. This is what I figured out so far (correct me if I'm wrong).

Export with CocoonJS / Build with Canvas+
  • Cordova Plugins aren't supported then
  • I need to use the 'CocoonJSAds' plugin to use Ads, Google Play Games etc. in Construct 2

Benefits
  • Good performance
  • Small file size

My Question: If I want to use Canvas+, then I only can add the plugins available at 'Cocoon' (at the Plugin tab on cocoon.io)?

Export with Cordova / Built with WebView(+)
  • Cordova Plugins are supported
  • I can use additional plugins like the one provided by @cranberrygame

My Question: How do I install the plugins correctly? And do I need to choose WebView or WebView+?

2) Settings
Everytime I export and upload the files (built with Cordova) the settings at Cocoon.io will be overwritten. Even if I delete the config.xml file before uploading.

Thanks for your help!
Image Image iTunes: Match3 | Google Play: Match3
B
98
S
33
G
30
Posts: 1,121
Reputation: 27,799

Post » Tue Jun 30, 2015 1:19 pm

AndreasR wrote:1) What Exporter is to choose?

Cordova exporter.

AndreasR wrote:I'm using the latest CoccoonJS Plugin available at Github

Just in case, use these ones: https://github.com/CocoonIO/atomic-plugins-c2

AndreasR wrote:Cordova Plugins aren't supported then


They are :). Even on Canvas+: https://cocoon.io/doc/canvas_plus#supported-features
However, they must be adapted for Cordova 5.0.0

AndreasR wrote:My Question: If I want to use Canvas+, then I only can add the plugins available at 'Cocoon' (at the Plugin tab on cocoon.io)?

No, you can add more plugins. You can use @cranberrygame plugins in Canvas+ too.

AndreasR wrote:My Question: How do I install the plugins correctly? And do I need to choose WebView or WebView+?

You can use the the plugins tab in the project configuration.
About the webview engine, it is up to you.
Here you have some information about Webview+: https://cocoon.io/doc/webview_plus
And here some about the System Webview: https://cocoon.io/doc/webview

AndreasR wrote:Everytime I export and upload the files (built with Cordova) the settings at Cocoon.io will be overwritten. Even if I delete the config.xml file before uploading.

If you are sure you don't have a config.xml file inside the zip and you are saving the changes correctly at the cloud, please, send us the zip file to have a look at it, because it should not happen in the way you describe.
B
9
S
4
G
4
Posts: 383
Reputation: 3,616

Post » Tue Jun 30, 2015 3:05 pm

@Ludei
Thanks for your quick and good answer! It helped me a lot.
Were can I send the .zip file with the config issue?

Thanks!
Image Image iTunes: Match3 | Google Play: Match3
B
98
S
33
G
30
Posts: 1,121
Reputation: 27,799

Post » Tue Jun 30, 2015 3:09 pm

You can use the Feedback button :).
B
9
S
4
G
4
Posts: 383
Reputation: 3,616

Post » Tue Jun 30, 2015 3:16 pm

Sorry was my mistake ;) I figured out what I did wrong ;) So your service works! ;)
Image Image iTunes: Match3 | Google Play: Match3
B
98
S
33
G
30
Posts: 1,121
Reputation: 27,799

Post » Wed Jul 01, 2015 6:46 pm

@ludei I made a little tutorial showing how to compile and build with CocoonIO ;)
https://goo.gl/xhNJRb
Image Image iTunes: Match3 | Google Play: Match3
B
98
S
33
G
30
Posts: 1,121
Reputation: 27,799

Post » Thu Jul 02, 2015 8:29 am

Thanks a lot for contributing :D.

We pinned the topic at Tutorials category ;).

https://forums.cocoon.io/t/construct2-h ... ocoonio/45
B
9
S
4
G
4
Posts: 383
Reputation: 3,616

Post » Thu Jul 02, 2015 9:21 am

Hi,
I was posting my mail for invite about 2 weeks ago and no luck. I dont have any invitation yet. Could you please send one ?

Also is there a way to control permissions on the new service ? I need to disable wake for my device on builds.

Thanks
B
8
S
2
Posts: 130
Reputation: 970

Post » Thu Jul 02, 2015 9:43 am

mailalon wrote:I was posting my mail for invite about 2 weeks ago and no luck. I dont have any invitation yet. Could you please send one ?


Please, check the spam box, because it does not take so long. You should have received it.

mailalon wrote:Also is there a way to control permissions on the new service ? I need to disable wake for my device on builds.


Yes, there is. You decide all the permissions your app should have editing the config.xml file.
B
9
S
4
G
4
Posts: 383
Reputation: 3,616

Post » Thu Jul 02, 2015 9:53 am

got it just now :) but i cant login, bad gateway
B
8
S
2
Posts: 130
Reputation: 970

Next

Return to How do I....?

Who is online

Users browsing this forum: AndreasR, Artepi, karthikavnair, OBLIVION, Rable and 14 guests