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 / A question about the CreateAdvert command in AGK T1

Author
Message
nickele upgraded
10
Years of Service
User Offline
Joined: 20th Dec 2013
Location: Birthplace of Democracy
Posted: 17th Oct 2016 10:53
AGK's documentation says about the CreateAdvert command that "advert will typically be a 320x50 banner". My question is:

Does this command always create a 320x50 banner, independently of the resolution, eg, is it always 320x50, whether you have a 1024x768 screen res, or a 1920x1080, or 720x1280, or whatever?

Or does the banner scale its resolution, the greater the screen resolution becomes?

And if it is the 2nd case, is there a way to know or measure the exact dimensions in pixels of the ad?
pinete
13
Years of Service
User Offline
Joined: 28th Jul 2011
Location:
Posted: 18th Oct 2016 10:02
What I've realized is that banners are always smaller in a tablet.
I mean, when I run an app in a Samsung 8" in portrait mode, the advert I put at bottom of screen is half size of width of the screen.
I'm so sorry for not solving your doubt but only a experience sharing from my side hoping it's a kind of useful for you.
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 18th Oct 2016 15:07
The advert size is not affected by the resolution, so it will be 320x50 pixels even if the resolution is 1024x768 or 1280x800.
nickele upgraded
10
Years of Service
User Offline
Joined: 20th Dec 2013
Location: Birthplace of Democracy
Posted: 18th Oct 2016 20:19
Thank you all for your answers!

Login to post a reply

Server time is: 2024-11-25 02:10:40
Your offset time is: 2024-11-25 02:10:40