So what I did was
1. Export my Construct 2 game with Ejecta
2. Integrated Chartboost into my app following their documentation here: https://answers.chartboost.com/hc/en-us/articles/201220095-iOS-Integration
3. Added this stuff:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Initialize the Chartboost library
[Chartboost startWithAppId:@"YOUR_CHARTBOOST_APP_ID"
appSignature:@"YOUR_CHARTBOOST_APP_SIGNATURE"
delegate:self];
// Show interstitial at location HomeScreen. See Chartboost.h for available location options.
[Chartboost showInterstitial:CBLocationHomeScreen];
return YES;
}
So my problem is that Chartboost is working, but its only showing 1 ad at the app launch. I would like to show an ad whenever I want to call one. Has anyone figured out how to call a Chartboost ad say for example when their character dies and you return to the main screen (as a rough example)?