New CocoonJS plugin from Ludei! Open source!

  • russpuppy would you mind helping me?

  • russpuppy I don't know what i am doing wrong. Run using Canvas+ or Webview doesn't make any difference for ads right?

  • I am still getting this error.

    ====================================== CAMPAIGN FILTER RESULTS ======================================

    No adgroups for level 0.

    No adgroups for level 1.

    No adgroups for level 2.

    No adgroups for level 3.

    No adgroups for level 4.

    No adgroups for level 5.

    No adgroups for level 6.

    No adgroups for level 7.

    No adgroups for level 8.

    No adgroups for level 9.

    No adgroups for level 10.

    Filtered adgroups are: AdMob key: 8c6133300d1111e4852b1231392559e4

    Mpx creatives: [], filtered creatives: [Creative(name: admob native dummy, source: network, width: 320, height: 50)]

    Calculating eCPMs for adunit creatives:

    admob native dummy: 0.05

    ##############################

    ##############################

    Winner found, rendering: admob native dummy

  • ashar

    I've never used a webview, I've always done canvas+

    Not sure, I would just recommend making sure you've followed every step in this tutorial: https://www.scirra.com/tutorials/781/ho ... b-cocoonjs

    I think there's actually maybe a better tutorial around but I don't remember where to find it

  • I tested your game on my Galaxy S3 and Nexus 7 (2012). But after the Ludei Logo it force crashes.

  • I tested your game on my Galaxy S3 and Nexus 7 (2012). But after the Ludei Logo it force crashes.

    Hmm, error report on those devices are identical, I think its becaused I removed the permission WAKE_LOCK (prevent device from sleeping), since the report has mentioned it a few times in processes that can't start due to no permission.

    Very strange with CocoonJS. I've just uploaded a version with that permission added, please give it ago later if you can and hopefully *Fingers crossed* it works.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Did anyone use an updated plugin? Ludei also changed the SDK so the plugin needs updated

    [quote:2xxbfuv9]

    Ads

    Updated MoPub SDK to latest version

    Fixed problem where AdMob would not show ads sometimes

    Fixed fullscreen AdMob ads

    Fixed multiple ad instances

  • Did anyone use an updated plugin? Ludei also changed the SDK so the plugin needs updated

    [quote:1eiqty9p]

    Ads

    Updated MoPub SDK to latest version

    Fixed problem where AdMob would not show ads sometimes

    Fixed fullscreen AdMob ads

    Fixed multiple ad instances

    They updated the SDK, you dont need a new plugin.

    I tested AdMob + MoPub add for one of my Android game, the ads work fine and refresh every 60s.

  • I am getting this error. (r175)

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Dependency file appears to be missing

    Condition: FileExists(*i)

    File: html5.cpp

    Line: 1222

    Function: void __cdecl Exporter::DoExport(class era::IProject *,class era::ILayout *,bool,struct HWND__ *,bool,bool)

    Build: release 175 (64-bit) checked

    Component: HTML5 exporter

    (Last Win32 error: 2)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.

    ---------------------------

    Abort Retry Ignore

    ---------------------------

  • I had gotten that error too when I was using the default CocoonJS plugin (the one that comes with the C2 download). Once I downloaded the CocoonJS plugin from their Github, that dialog went away.

    But fair warning, after I installed the plugin from Github, when I do the cloud compiler and put the game on my phone it just stays at a black screen when it didn't before.

  • > Did anyone use an updated plugin? Ludei also changed the SDK so the plugin needs updated

    > [quote:35e3babv]

    > Ads

    >

    > Updated MoPub SDK to latest version

    > Fixed problem where AdMob would not show ads sometimes

    > Fixed fullscreen AdMob ads

    > Fixed multiple ad instances

    >

    >

    They updated the SDK, you dont need a new plugin.

    I tested AdMob + MoPub add for one of my Android game, the ads work fine and refresh every 60s.

    Hi, may I ask your C2 version and CocoonJS version?

    I used:

    C2 r175

    CocoonJS 2.0.2 & 1.4.7

    CocoonJS Plugin downloaded from Ludei's Github

    AdMob+MoPub(Which had been worked well both on iOS and Android before CocoonJS 2.0.1 releasing.)

    iOS(iPad3) ads banner worked well.

    Android(Samsung Galaxy S2) showed nothing.

    I have even tried Ludei's official ads demo on Android CocoonJS Launcher,

    it didn't work, too. I posted the result to Ludei Support forum but they think it's nothing on APK but the Android Launcher problem.

    http://support.ludei.com/hc/communities/public/questions/201354233-Ads-Demo-didn-t-work-on-CocoonJS-Launcher-of-Android

  • gonzdevour

    Ads don't work on the Launcher last time I tried, you need the actual cloud compiled release APK signed and tested on your device to see reliable Ads.

  • I am getting this error. (r175)

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Dependency file appears to be missing

    Condition: FileExists(*i)

    File: html5.cpp

    Line: 1222

    Function: void __cdecl Exporter::DoExport(class era::IProject *,class era::ILayout *,bool,struct HWND__ *,bool,bool)

    Build: release 175 (64-bit) checked

    Component: HTML5 exporter

    (Last Win32 error: 2)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.

    ---------------------------

    Abort Retry Ignore

    ---------------------------

    I think it's about C2 version or something.

    I've just downgraded to C2 r168 and this message never happen again.

  • gonzdevour

    Ads don't work on the Launcher last time I tried, you need the actual cloud compiled release APK signed and tested on your device to see reliable Ads.

    I've tried:

    C2r175+CocoonJS 2.0.2

    C2r168+CocoonJS 1.4.7

    Debug Signed APK tested on real device

    Release Signed APK tested on real device

    Seems nothing showed on Android(Samsung Galaxy S2)

    On the changelog of Mopub SDK release 2.3,

    I am not sure if it's the reason why Android showed nothing:

    [quote:5odc0acv]Android

    ? Removed AdMob from the Android bundle due to deprecation by Google

  • The Ludei logo still flickers in my game. I am using the latest CocoonJS 2.0.2 . Why is this happening? It looks very ugly.

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