New CocoonJS plugin from Ludei! Open source!

Discussion and feedback on Construct 2

Post » Thu Jul 17, 2014 12:18 am

Allchix wrote:@Silverforce
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.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Thu Jul 17, 2014 9:15 am

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

Updated MoPub SDK to latest version
Fixed problem where AdMob would not show ads sometimes
Fixed fullscreen AdMob ads
Fixed multiple ad instances
B
81
S
21
G
23
Posts: 515
Reputation: 18,702

Post » Thu Jul 17, 2014 9:42 am

Cipriux wrote:Did anyone use an updated plugin? Ludei also changed the SDK so the plugin needs updated
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.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Thu Jul 17, 2014 2:37 pm

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
---------------------------
Image
B
67
S
31
G
39
Posts: 430
Reputation: 24,587

Post » Thu Jul 17, 2014 4:25 pm

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.
Twitter: https://twitter.com/pudgyplatypus

Learn to make a clicker game for cheap!
https://www.scirra.com/store/games-with ... e-game-666

Try out Pixel Golf on the Scirra Arcade!
https://www.scirra.com/arcade/sports-ga ... el-golf-67

Pudgy Platypus Games website!
www.pudgyplatypus.com
B
59
S
20
G
5
Posts: 212
Reputation: 7,390

Post » Thu Jul 17, 2014 6:04 pm

Silverforce wrote:
Cipriux wrote:Did anyone use an updated plugin? Ludei also changed the SDK so the plugin needs updated
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
B
119
S
30
G
8
Posts: 214
Reputation: 13,160

Post » Thu Jul 17, 2014 11:19 pm

@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.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,614

Post » Sat Jul 19, 2014 7:39 am

bilgekaan wrote: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.
Last edited by gonzdevour on Sat Jul 19, 2014 8:10 am, edited 1 time in total.
B
119
S
30
G
8
Posts: 214
Reputation: 13,160

Post » Sat Jul 19, 2014 8:05 am

Silverforce wrote:@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:

Android
● Removed AdMob from the Android bundle due to deprecation by Google
B
119
S
30
G
8
Posts: 214
Reputation: 13,160

Post » Sat Jul 19, 2014 9:50 am

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.
B
10
S
2
Posts: 79
Reputation: 1,122

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: Refeuh and 10 guests