New CocoonJS plugin from Ludei! Open source!

Discussion and feedback on Construct 2

Post » Fri May 09, 2014 4:32 pm

@reinhardius are you still compiling with 1.4.7 or using the beta 2.0?
B
100
S
32
G
11
Posts: 1,552
Reputation: 21,622

Post » Fri May 09, 2014 5:10 pm

Yes, I am still using 1.4.7
B
12
S
5
G
1
Posts: 36
Reputation: 2,050

Post » Sat May 10, 2014 1:00 am

I now have working fullscreen ads and leaderboards/achievements on android


Should the leaderboards work on signed_debug apk installed on phone or will it only work once you upload on google play and download/install form the store?
B
10
S
2
Posts: 30
Reputation: 722

Post » Sat May 10, 2014 1:23 pm

@reinhardius oh great job, i compared the files, but i didnt check for such small errors.

@Firewires the google play services should work without uploading to the store if the apk contains all the info compiled from the coocoon js. Not sure on debug, but on signed it should work, i remember doing this.
Image
B
30
S
5
G
1
Posts: 125
Reputation: 3,220

Post » Sat May 10, 2014 2:07 pm

Exactly, when you sign the apk, the leaderboards work, so you can try them before upload the game to google play.
B
32
S
7
G
2
Posts: 164
Reputation: 3,774

Post » Sat May 10, 2014 2:25 pm

What am I doing wrong? I can't get achievements or leaderboard to work at all.

Here is the code for achievement submission:
Image

When You double click on the submit event I put in the achievement ID from the play store achievement:
Image

IN cocoonjs configuration, i checked "Google Play Games" under Multiplayer Services and Social Services.
Then in the Social configuration, I pasted the number that is next to the app name in Google Game Services

Anyone see anything that I did wrong? Thanks in advance
B
10
S
2
Posts: 30
Reputation: 722

Post » Sun May 11, 2014 2:24 pm

When using preload full screen ad i get this error in cocoon js launcher:

Javascript Exception (tag: 'onfullscreenready'): Reference Error: preloadFullScreen is not defined at IDTK_Extension <anonymous> and a null in blue above.

Any ideas?
Image
B
30
S
5
G
1
Posts: 125
Reputation: 3,220

Post » Sun May 11, 2014 3:16 pm

It would be awesome if some could add admob SDK to the CocoonJS plugin. I think ludei will not do this :/ Would make advertising much easier...

@ArcadEd
Which value have set at mopub for the admob Network CPM? (Under Network, Admob, Segments, Network CPM)
I allways have 0% Impression via Networks (admob).

Would be great if you could help me out. Thanks!
Image Image iTunes: Match3 | Google Play: Match3
B
95
S
33
G
30
Posts: 1,103
Reputation: 27,678

Post » Sun May 11, 2014 3:29 pm

Firewires wrote:What am I doing wrong? I can't get achievements or leaderboard to work at all.

Here is the code for achievement submission:
Image

When You double click on the submit event I put in the achievement ID from the play store achievement:
Image

IN cocoonjs configuration, i checked "Google Play Games" under Multiplayer Services and Social Services.
Then in the Social configuration, I pasted the number that is next to the app name in Google Game Services

Anyone see anything that I did wrong? Thanks in advance


I would not do it like you've done it. If you want a complete setup leaderborad with achievements check out my Game Basement on codecanyon.net.

Or check out my new tutorial here
https://www.scirra.com/tutorials/1010/page-1#tuttop

Just change the demo leaderboad ID and the achievements ID to yours and it will work ;) You also will find a complete guide "How to setup Leaderboard" in the Item package and if you purchase my item you get fully support for leaderboard function ;)

Kind Regards,
AndreasR
Image Image iTunes: Match3 | Google Play: Match3
B
95
S
33
G
30
Posts: 1,103
Reputation: 27,678

Post » Sun May 11, 2014 4:15 pm

AndreasR wrote:It would be awesome if some could add admob SDK to the CocoonJS plugin. I think ludei will not do this :/ Would make advertising much easier...

@ArcadEd
Which value have set at mopub for the admob Network CPM? (Under Network, Admob, Segments, Network CPM)
I allways have 0% Impression via Networks (admob).

Would be great if you could help me out. Thanks!


0.01 minimum for each ad, close the top left button name running to see the set option for each add.
Image
B
30
S
5
G
1
Posts: 125
Reputation: 3,220

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 4 guests