How do I avoid banner ads overlapping the game area?

Get help using Construct 2

Post » Sun Sep 14, 2014 5:03 pm

Hi all!

I've finally managed/struggled to get ads up using cJS and Mopub - yay!

I've specified banner ads to be 320wide x 50high, to be shown bottom centre. However, my banner ads, when they do appear, are covering the game area. I tried to fix this by having a black bar 50pix high located at the bottom permanently, and locating whatever game elements that go along the bottom of the screen to the top of this black bar.

Although the ad height and black bar heights match (in theory), when I preview on several devices, the ads appear taller than the black bar. What gives? Any ideas of how I can get the heights to match after cJS does it's scaling? Or any ideas of how to resize the game area whenever banner ads appear?

Lots of thanks in advance!
B
10
S
3
Posts: 15
Reputation: 1,191

Return to How do I....?

Who is online

Users browsing this forum: Cubeeo and 22 guests