New CocoonJS plugin from Ludei! Open source!

Discussion and feedback on Construct 2

Post » Sat Apr 26, 2014 3:11 pm

Then the plugin isn't install correctly, at least that is what I found with that error, especially if you can't open their capx.
B
101
S
32
G
11
Posts: 1,546
Reputation: 21,727

Post » Sat Apr 26, 2014 4:09 pm

hm.... i got this now whet i run capx

Javascript error!
SyntaxError: in strict mode code, functions may be declared only at top level or immediately within another function
http://192.168.5.10:50000/CJSAds_plugin.js, line 193 (col undefined)
B
29
S
11
G
2
Posts: 691
Reputation: 5,157

Post » Sat Apr 26, 2014 4:19 pm

You can't preview the game, all you can do is export and then test with the Launcher or on a device. Preview with the plugin isn't working.
B
101
S
32
G
11
Posts: 1,546
Reputation: 21,727

Post » Sat Apr 26, 2014 10:47 pm

Those getting the error;
CJSAds_plugin.js, line 193 (col undefined)

there is a post over on github, saying you need to use IE only when previewing. all other broswers throw the error,
Just did a quick test - and no error thrown with IE.
B
14
S
4
G
3
Posts: 21
Reputation: 2,164

Post » Sat Apr 26, 2014 10:59 pm

i dont know.... is it too much from me to expect that things just work as they shud?
Im getting tired of this... more is not working than is working... :-(
B
29
S
11
G
2
Posts: 691
Reputation: 5,157

Post » Sat Apr 26, 2014 11:00 pm

Well you can't blame Scirra on this one. This isn't an official plugin the comes with a C2 install. My hope is Ashley will take care of us, get it cleaned up and packaged in a future C2 beta update.
B
101
S
32
G
11
Posts: 1,546
Reputation: 21,727

Post » Sun Apr 27, 2014 3:16 am

screenshot.png


Finally I got demo to work, and also my game. Thanks, everyone. It works nice in <3316 challenge>. I just uploaded it, so it would take some time to be applied to the Play Store.

Tip 1. Don't minify your script when exporting.
Tip 2. You can't preview it before signing and zipaligning. So integrate it after finishing is done.
Tip 3. Make sure that the setting of CJS Plugin is 'Google Play Games'.
You do not have the required permissions to view the files attached to this post.
B
23
S
8
G
1
Posts: 172
Reputation: 2,780

Post » Sun Apr 27, 2014 11:33 am

I tried in my last game and it's working now!

Thanks for the "no minified" tip ;)

It's possible to get the leaderboard data to show it in-game? I saw it in some games and even with some filters (best of the week, best of the day, etc.
B
32
S
7
G
2
Posts: 164
Reputation: 3,774

Post » Sun Apr 27, 2014 12:53 pm

Ok, now is working on iphone and the GamesCenter open correctly!!

https://github.com/ludei/Construct-2-plugin/issues/13

Now, is important to remove the permission of the app and the splashscreen... I'm waiting Ludei.... why they don't make a subscription with $$$ to change the permission and change the splashscreen? :?:
B
21
S
9
Posts: 298
Reputation: 2,967

Post » Sun Apr 27, 2014 3:00 pm

It's now working for me as well! My problem was that I had to use the signed/aligned release apk, the debug apk didn't work.
B
63
S
12
G
6
Posts: 456
Reputation: 8,985

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests