I'm having some issues with implementing advertisements using chartboost. First off, do i need declare SetChartboostDetails("ID1","ID2") at the very start of my game, in the same place where setvirtualresolution would be? or does it need to go in a loop?
I am trying to load an app, but it does not show. Will the ad show on my computer when testing the game or broadcasting using the agk app or will i need to export the app as an .apk file and put it onto my phone to test it?
The code that I am using is the following
if getspritecollision(ball,hoop)
level = 2
if GetFullscreenAdvertLoadedChartboost() = 1
ShowFullscreenAdvertChartboost()
endif
refresh()
endif
From my understanding, the agk commands says that GetFullscreenAdvertLoadedChartboost() returns 0 if there is an ad unavailable and a 1 if it is available. What am I doing wrong?
Thank you very much for your help guys
**edit**
This command is deprecated, you should use ShowFullscreenAdvertAdMob, ShowFullscreenAdvertChartboost, or ShowFullscreenAdvertAmazon instead.
I haven't tried CreateFullscreenAdvert because of the message above
Cruisin' down the street in my six-fo'
Jockin' the bitches, slappin' the hoes
-Gandhi, 2086