Admob = Slow FPS

Monkey Forums/Monkey Programming/Admob = Slow FPS

therevills(Posted 2014) [#1]
This is the first time I've messed with Admobs and I've got it working thanks to some of the tutorials on here:
http://www.monkeycoder.co.nz/Community/posts.php?topic=5695&post=64301

So now my game has ads (sorry!), but when they get displayed I can see that it hurts the frame rate - especially when its a scrolling ad!

Anyway to fix this?


SLotman(Posted 2014) [#2]
Nope - its how it works. An ad is a second 'view' on top of the other one - so it will be slower, no matter what.


therevills(Posted 2014) [#3]
:(

I did find this: http://stackoverflow.com/questions/9366365/android-admob-admob-ad-refresh-destroys-frame-rate

There's a setting in your admob app settings for controlling whether Google ads are used... try turning it off to see if it makes a difference

But it looks like they have removed that option...


Paul - Taiphoz(Posted 2014) [#4]
Yeah I think that's why a load of us really want the interstitial type supported. would solve the fps issue's.

And you can still set the refresh rate, just set it high so its not being refreshed all the time. go into monetize, then edit your ad placement and set the refresh to 120 should help a little.


therevills(Posted 2014) [#5]
interstitial type


I was looking at the Java code for that the other day and it looks pretty easy to add (BOOM BOOM!!) to Monkey for Android at least...

https://github.com/googleads/googleads-mobile-android-examples/blob/master/admob/interstitial/src/com/google/example/gms/ads/advanced/InterstitialSample.java


therevills(Posted 2014) [#6]
Done (for Android at least):

http://www.monkeycoder.co.nz/Community/posts.php?topic=8002


Shinkiro1(Posted 2014) [#7]
Well, I have this problem right now.
When I request an add my game kind of freezes up for a second and all animations fly through the screen.

Also I set a refresh rate of 120 seconds.
But everytime I show an ad it's different, even if only a few seconds passed.

PS: I have only tested this on iOS.