Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Advert way too large

Author
Message
Satchmo
19
Years of Service
User Offline
Joined: 29th May 2005
Location:
Posted: 10th Apr 2014 03:05
Hey everyone,

I'm having trouble implementing ads into my game. They are appearing way too large, taking up most of the screen. Is there any way to scale them? I'm using a virtual resolution of about 90 width and the height is calculated based on the aspect ratio.

Cheers

Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 10th Apr 2014 03:28
AdMob ads won't scale on Android, but will on iOS.
So on Android they always show at 320px wide (might be 300px...).
So I wonder if you set your virtual resolution to something higher if the ads will actually appear scaled.

Satchmo
19
Years of Service
User Offline
Joined: 29th May 2005
Location:
Posted: 10th Apr 2014 04:01
Are they always exactly 300px by 50real pixels, no matter the device size/ppi?

Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 10th Apr 2014 05:50
Yes I always thought it was "real" pixels and not scaled.
On iOS you can set the scaling with AppGameKit commands, but Android scaling doesn't work.
I understand why AdMob wouldn't want to scale them. I couldn't imagine one of my ads at 300px being scaled up to 600 or even down. It would make them illegible or just plain ugly.

Satchmo
19
Years of Service
User Offline
Joined: 29th May 2005
Location:
Posted: 10th Apr 2014 06:22
The admod ads on my app are displaying now at 640 by 100 pixels, so I'm guessing it changes based on pixel density

Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 10th Apr 2014 06:35
Must be.
They appeared unscaled for me, but I use the percentage system which may affect it.

Login to post a reply

Server time is: 2024-11-25 03:39:06
Your offset time is: 2024-11-25 03:39:06