New CocoonJS plugin from Ludei! Open source!

  • I sent you a pm, i posted the screenshot in the github issue too

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I'll take a look today sometime.

  • FYI, Ludei expressed interest in the work you all are doing, can someone make a list of all the forks and what they have in them and which ones are stable and which ones are just for playing?

    They want to take a look at what you area doing.

  • FYI, Ludei expressed interest in the work you all are doing, can someone make a list of all the forks and what they have in them and which ones are stable and which ones are just for playing?

    They want to take a look at what you area doing.

    Well what i can tell is that they broke the ads functions, i tried to fix them but its too much work, they can see by themselfs in the cocoon debug.

    • Preload bugged, Refresh Full Screen Bugged, Show Full Screen bugged, probably all banner functions.
    • Googleplay services kinda work the hotfix made the community for preview
    • refresh purchases i dont think they work anymore

    Their 2.0.0 beta compiler did in fact fixed the music crash on sleep, but i heard its very unstable for some phones(crashes) - not tested.

  • lwgames

    Thanks for the refresh fullscreen ads tip.

    The fullscreen ads broke because of a small typo in the runtime.js.

    Just open the file and in line 470 change:

    Acts.prototype.RefreshFullScreen = function ()[/code:1c5hzsww]
    
    to 
    
    [code:1c5hzsww]Acts.prototype.RefreshFullscreen = function ()[/code:1c5hzsww]
    
    Its the uppercase S in Fullscreen.
    
    I now have working fullscreen ads and leaderboards/achievements on android
  • reinhardius are you still compiling with 1.4.7 or using the beta 2.0?

  • Yes, I am still using 1.4.7

  • [quote:a9543ryt]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?

  • 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.

  • Exactly, when you sign the apk, the leaderboards work, so you can try them before upload the game to google play.

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

    Here is the code for achievement submission:

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

    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

  • 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?

  • 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!

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

    Here is the code for achievement submission:

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

    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 <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> 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 <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    Kind Regards,

    AndreasR

  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)