[r185 beta] AdMob Plugin causes FPS drops

Bugs will be moved here once resolved.

Post » Sun Nov 02, 2014 2:31 pm

Problem Description
I've greated a game with Crosswalk and I'm using the build-in admob plugin from scirra to load my ads. At Crosswalk I'm using the Plugin from cranberrygame.

I've integrated a toggle button to toggle of the banners. Then the FPS goes up to ~60. Then I turned the banner back on and the FPS drops to ~40

Attach a Capx
I can't attach the whole cpax file but here is the ads part.

admob_function.png


Description of Capx
I'm using a variable to allowing the player to switch ads on or off. If ads are on a banner ad will be shown (top or bottom).

Steps to Reproduce Bug
  • Download the game here: http://envato.wdbase.de/download/demos/ ... signed.apk
  • Click/touch on the little setting icon and turn 'Debug Mode' and 'Ads' on.
  • Click on the X or on the setting icon again to close the panel. Then click 'start game' and choose the level 1
  • Now the FPS will be shown at the left bottom corner (Note: text ads are fine, only rich-media Ads are causing this FPS drops. Just toggle 'ads' on and off again till a rich media ad is shown.
  • Click Pause and go back to menu. Now switch only 'ads' off and start again the first level. And the FPS are back at ~60.

Screen Shots
Screenshot_with_ads.png

Screenshot_without_ads.png


Observed Result
FPS drop from 60 to 40 when rich media banners are shown. Text ads are fine

Expected Result
Game should be stable at 60 FPS

Affected Browsers
  • Android APK

Operating System and Service Pack
Windows 8.1 64 Bit

Construct 2 Version ID
r185 Beta
You do not have the required permissions to view the files attached to this post.
Image Image iTunes: Match3 | Google Play: Match3
B
100
S
35
G
30
Posts: 1,134
Reputation: 28,081

Post » Sun Nov 02, 2014 4:15 pm

@AndreasR

Probably this was caused by Admob SDK FPS issue.

Fix by following:

fix Admob SDK FPS issue: go to your AdMob account and disable text banners, leaving enabled only image banners. (provided by Cipriux)

If only text banner is also stable too, selecting one of them (text or image) will be a solution.

Thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Sun Nov 02, 2014 6:52 pm

cranberrygame wrote:@AndreasR

Probably this was caused by Admob SDK FPS issue.

Fix by following:

fix Admob SDK FPS issue: go to your AdMob account and disable text banners, leaving enabled only image banners. (provided by Cipriux)

If only text banner is also stable too, selecting one of them (text or image) will be a solution.

Thanks


Hi @cranberrygame
I already tried that, but it's the same result than before.
The FPS still drops from 60 to 40.
Image Image iTunes: Match3 | Google Play: Match3
B
100
S
35
G
30
Posts: 1,134
Reputation: 28,081

Post » Mon Nov 03, 2014 1:39 am

@Cipriux

Can you say about your Admob SDK FPS issue fix to @AndreasR ?

Or @AndreasR can you provide sample capx file which reproduce the problem for me to test?

Thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Sat Nov 15, 2014 3:43 pm

@Ashley

@AndreasR published tutorial about fixing this issue.

See: http://shatter-box.com/wiki/troubleshooting/

So this can be closed.

Thanks
Construct2 Cordova Plugins (currently 87 plugins): https://www.scirra.com/store/construct2 ... ugins-1662

Construct2 Prototype Capx (currently 50 capx): https://www.scirra.com/store/games-with ... -capx-3088

Home page: http://cranberrygame.com
B
65
S
22
G
81
Posts: 780
Reputation: 46,631

Post » Sat Nov 15, 2014 8:24 pm

Thanks, closing.
Scirra Founder
B
397
S
236
G
88
Posts: 24,408
Reputation: 194,506


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests