Cocoonjs+Mopub problem, banner appears every X sec

Discussion and feedback on Construct 2

Post » Sun Feb 02, 2014 2:07 pm

Hi,

I have a game where i want to use ads when is in pause or in game over, but not while playing. I preload the banner on start layout, and i hide or show the banner when i need it.

The problem comes because sometimes the banner appears without any call, even i tried to load the layout that contains the banner, change to another layout without any cocoonjs code, and wait... and i get the ad too after 30-60 seconds.

If i use "hide banner" on every tick the banner is hidden always but the moment that appears again, is visible during 1 frame and its very disgusting.

Someone has the same problem? there is any solution?

P.D.: I use mopub+admob and i have the update banner from admob deactivated.ByR2014-02-02 14:08:16
B
32
S
7
G
2
Posts: 164
Reputation: 3,774

Post » Mon Feb 03, 2014 10:50 am

Same issue with my game, small banner ad only in shop menus and not during gameplay.. I had to add: CocoonJS "is showing ad banner" => "hide ad banner" for gameplay stages. It pops in for 1 frame and out again so it solves the issue mostly, though its still rather annoying.

Seems to be a CocoonJS thing, once you call in an Ad it will try to refresh it once in awhile.
B
70
S
24
G
19
Posts: 1,757
Reputation: 17,616

Post » Mon Feb 03, 2014 7:21 pm

In my case is a vertical shooter whith touch controls, and i want the ad in "ARE YOU READY?" state and in the "GAME OVER" state, but the banner appears 1 frame while you are playing and is just over the spaceship so is very anoying :(
B
32
S
7
G
2
Posts: 164
Reputation: 3,774

Post » Sat Jul 12, 2014 2:43 pm

Bump

Happens to me too...I show one banner on the menu screen, and then it pops up again during gameplay, despite not being even in the same layout...Yeah, there is the solution Silverforce says but its indeed still annoying...

Any solutions?
B
26
S
7
G
1
Posts: 74
Reputation: 2,092

Post » Sat Jul 12, 2014 6:22 pm

@Momio , you only need to use the updated plugin of cocoonjs, link:

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

In my case it solved most of the problems, of course, I still use version 1.4.7 compiler.
B
12
S
3
G
1
Posts: 188
Reputation: 1,377

Post » Sat Jul 12, 2014 8:10 pm

vitorfgd wrote:In my case it solved most of the problems, of course, I still use version 1.4.7 compiler.

Genuinely not sure here, why use the old compiler?
B
57
S
15
G
11
Posts: 912
Reputation: 12,626

Post » Mon Jul 14, 2014 5:28 pm

vitorfgd wrote:@Momio , you only need to use the updated plugin of cocoonjs, link:

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

In my case it solved most of the problems, of course, I still use version 1.4.7 compiler.


Well, I think it works, and I say "I think" because it seems that today admob is working whenever it feels like it and I cant test this properly...

Thanks!
B
26
S
7
G
1
Posts: 74
Reputation: 2,092

Post » Mon Jul 14, 2014 5:28 pm

vitorfgd wrote:@Momio , you only need to use the updated plugin of cocoonjs, link:

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

In my case it solved most of the problems, of course, I still use version 1.4.7 compiler.


Well, I think it works, and I say "I think" because it seems that today admob is working whenever it feels like it and I cant test this properly...

Thanks!
B
26
S
7
G
1
Posts: 74
Reputation: 2,092

Post » Tue Jul 15, 2014 3:31 pm

@GeometriX @Momio
Maybe I should have left everything clearer, with the solution I gave, you solve the problem of ads. The issue is that the mopub itself is not a reliable tool to have a good fillrate, then surely I can assure you that you will not always have advertisements being displayed.
You at least read the logs of new compilers cocoonjs? They have bug's with the combination admob + mopub and has a large mismatch with most samsung devices.

Read this:

support.ludei.com/hc/en-us/articles/203425667-CocoonJS-v2-0-1
B
12
S
3
G
1
Posts: 188
Reputation: 1,377


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 10 guests