SonarSystems / Cocos-Helper

Cocos2d-x external framework helper.
MIT License
120 stars 48 forks source link

Using Chartboost via SonarCocosHelper #1

Closed hamburml closed 9 years ago

hamburml commented 9 years ago

Hi!

I successfully added Chartboost with your Cocos Helper! Great!

Now I called SonarCocosHelper::Chartboost::showFullscreenAd();. After this call I am using the cocos2d-x director to replace the current Scene. Sadly the scene is replaced and after that the fullscreen ad is shown. The game itself isn't paused. How can i achieve that a) the ad is shown before the replace and b) the app is paused like it's when using admob.

Thanks!

hamburml commented 9 years ago

Same Issue with showVideoAd();

SonarSystems commented 9 years ago

For pausing we recommend you actually halt using Cocos2d-x code, sort of like a state machine.

For the other task try using a timer.