I am able to get the ads to show. It takes a second or two for the ad to appear - I did the preload in main.lua.
The ads load on my LevelComplete screen. On this screen is three buttons the player can choose what they want to do.
-
End Game
-
Replay Level
-
Next Level
The problem is, the player can press one of the buttons before the ad loads and so the ad is skipped.
I tried to put the ad.show() as the began phase of the button and at the end of the button function but the ad doesn’t show up at all when I do that.
I would appreciate any idea’s on how to make sure the ad has been shown or the ad has been closed before the buttons are active.
Thanks
Lori