[r185 beta] AdMob Plugin causes FPS drops

0 favourites
  • 6 posts
From the Asset Store
320 high-quality cinematic sound effects for trailers and game scenes.
  • 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.

    [attachment=2:2jbo0j8l]admob_function.png[/attachment:2jbo0j8l]

    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

    [attachment=1:2jbo0j8l]Screenshot_with_ads.png[/attachment:2jbo0j8l]

    [attachment=0:2jbo0j8l]Screenshot_without_ads.png[/attachment:2jbo0j8l]

    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

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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

  • Ashley

    AndreasR published tutorial about fixing this issue.

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

    So this can be closed.

    Thanks

  • Thanks, closing.

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