New CocoonJS plugin from Ludei! Open source!

Discussion and feedback on Construct 2

Post » Sat Apr 19, 2014 1:15 am

http://blog.ludei.com/cocoonjs-plugin-f ... 2-is-here/

With support for Google Play social features :D

Great news for C2 users and potentially Scirra too, they've made it open source finally.

Even better news for a lot of folks, they've included a demo CAPX to show you how to implement features.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Sat Apr 19, 2014 2:25 am

Good news. Just come to know through Twitter. Didn't know it's open source. I'm gonna try it right away.
B
23
S
8
G
1
Posts: 172
Reputation: 2,780

Post » Sat Apr 19, 2014 4:05 am

Can anyone explain in detail what this means for us? I'm curious if this just impacts things like ads and IAP. Or will this also help with some of the larger issues like audio problems, 9patch/tiled bg support, perf, etc.
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Sat Apr 19, 2014 4:10 am

@firebelly
They claim bug fixes and improved performance, so its up to you to test your game and see if its fixed.

Otherwise, the only major thing is the inclusion of Google Play features.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Sat Apr 19, 2014 4:29 am

I got this error when I try to run the example capx

Javascript error!
SyntaxError: in strict mode code, functions may be declared only at top level or immediately within another function
http://192.168.1.198:50000/CJSAds_plugin.js, line 193 (col undefined)


Replaced the files in C:\Program Files\Construct 2\exporters\html5\plugins\cocoonjsads and overwrite this file cocoonjs_prelude.js in C:\Program Files\Construct 2\exporters\html5

Did I miss something ?
B
76
S
22
G
14
Posts: 389
Reputation: 12,249

Post » Sat Apr 19, 2014 4:31 am

Silverforce wrote:@firebelly
They claim bug fixes and improved performance, so its up to you to test your game and see if its fixed.

Otherwise, the only major thing is the inclusion of Google Play features.


Well I assumed the point of putting this on github was basically "your problem now". So it would be up to us to fix things going forward, but I'm curious how tied into the platform the plugin is. Will working on it impact things like support for our objects and audio, or is that really something that can only be fixed internally in the cocoonjs code.
B
30
S
10
G
7
Posts: 416
Reputation: 7,239

Post » Sat Apr 19, 2014 4:36 am

I too get an error when I try to run the capx.

But not only that, I just compiled my project ( like I did many times before ) and now chrome is telling me that the file is harmful and deletes it when I try to download it from the ludei email link.

EDIT: Now my project is not working either when I test it in construct 2, lots of error messages. Everything worked fine before.

What a shame, I was actually hyped for a sec
Free Android game: https://play.google.com/store/apps/deta ... VSMrMonkey

"Seven Birds VS Mr. Monkey" is a simple yet fun game.

Mr. Monkey is being attacked by birds and without a way to escape all hope seems lost. But if you think Mr. Monkey goes down that easily you are mistaken!

Help Mr. Monkey to upgrade his skills, get special attacks and show these birds who's the boss!
B
9
S
1
G
1
Posts: 51
Reputation: 755

Post » Sat Apr 19, 2014 1:18 pm

tumira wrote:I got this error when I try to run the example capx

Javascript error!
SyntaxError: in strict mode code, functions may be declared only at top level or immediately within another function
http://192.168.1.198:50000/CJSAds_plugin.js, line 193 (col undefined)


Replaced the files in C:\Program Files\Construct 2\exporters\html5\plugins\cocoonjsads and overwrite this file cocoonjs_prelude.js in C:\Program Files\Construct 2\exporters\html5

Did I miss something ?


same problem :shock:

the new plugin is not working... maybe is working with the Release r163?
B
21
S
9
Posts: 298
Reputation: 2,967

Post » Sat Apr 19, 2014 2:10 pm

I followed the manual, and exported the sample capx with r167.2 version. CocoonJS Launcher gives me an error message like this:
JavaScript Exception ( File: 'c2runtime.js' Tag: 'script'): ReferenceError: createCocoonJSRuntime is not defined
at c2runtime.js:5586:1
at c2runtime.js:5588:3
B
23
S
8
G
1
Posts: 172
Reputation: 2,780

Post » Sat Apr 19, 2014 2:33 pm

I get an error even opening C2 without the example. Tells me error on line 6 of common.js ad the plugin is not available =( Doh
B
38
S
11
G
1
Posts: 201
Reputation: 4,469

Next

Return to Construct 2 General

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 27 guests