How do I avoid banner ads overlapping the game area?

0 favourites
  • 1 posts
From the Asset Store
You think you can guess the character’s name?! Then let’s see how smart you are!
  • 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!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)