From 832e8cd593f274544005ac2e3a0e40e3fe9716ba Mon Sep 17 00:00:00 2001 From: Giordane Oliveira Date: Wed, 4 Sep 2024 04:14:12 -0300 Subject: [PATCH] Update AdMob banner so they cover part of the game screen instead of reducing it (#6900) * In most games, it's better to design the game with the size of the ad banner in mind - which will cover either part of the top or bottom of the screen. Previously, the game size was reduced which was making it difficult to properly design a game and would introduce bad looking black borders. --- Extensions/AdMob/admobtools.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/Extensions/AdMob/admobtools.ts b/Extensions/AdMob/admobtools.ts index 27e3a97478..7bda4ad1c5 100644 --- a/Extensions/AdMob/admobtools.ts +++ b/Extensions/AdMob/admobtools.ts @@ -333,6 +333,7 @@ namespace gdjs { adUnitId, position: atTop ? 'top' : 'bottom', size: bannerRequestedAdSizeType, + offset: 0, }); banner.on('load', () => {