Remove ads button

Hey all!

I've got myself all set up with chartboost, but i'd also like to make an In-App purchase for removing the ads. Could anyone help me with the process and then with the necessary code? Thanks in advance.

Comments

  • http_gamesaladhttp_gamesalad Member Posts: 1,340
    edited November 2015

    Make a boolean called Delete Ad (leave it unchecked) .. When touch is pressed and TableCelVal is purchased do : change attribute game.delete ad to true then save it .. where your banner actor (iAd actor) is put a rule that says when game.delete ad = true do : destroy this actor

  • spamsdanspamsdan Member, PRO Posts: 1

    It doesn't work for Chartboost, I mean I don't have banners :(

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956
    edited November 2015

    So when you change the scene you need to make a rule that says,

    When remove ads is true change scene.

    When remove ads is false change scene, show ad.

    Don't click Chartboost startup.

  • Games4lifeGames4life Member, PRO Posts: 279

    @RabidParrot said:
    So when you change the scene you need to make a rule that says,

    When remove ads is true change scene.

    When remove ads is false change scene, show ad.

    Don't click Chartboost startup.

    Can someone confirm this logic?

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    @Games4life said:

    @RabidParrot said:
    So when you change the scene you need to make a rule that says,

    When remove ads is true change scene.

    When remove ads is false change scene, show ad.

    Don't click Chartboost startup.

    Can someone confirm this logic?

    Assuming you have your IAP setup correctly, then yes, that should work.

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956

    @Games4life said:

    @RabidParrot said:
    So when you change the scene you need to make a rule that says,

    When remove ads is true change scene.

    When remove ads is false change scene, show ad.

    Don't click Chartboost startup.

    Can someone confirm this logic?

    Yup

  • Games4lifeGames4life Member, PRO Posts: 279

    @Braydon_SFX said:

    @Games4life said:

    @RabidParrot said:
    So when you change the scene you need to make a rule that says,

    When remove ads is true change scene.

    When remove ads is false change scene, show ad.

    Don't click Chartboost startup.

    Can someone confirm this logic?

    Assuming you have your IAP setup correctly, then yes, that should work.

    @RabidParrot said:

    @Games4life said:

    @RabidParrot said:
    So when you change the scene you need to make a rule that says,

    When remove ads is true change scene.

    When remove ads is false change scene, show ad.

    Don't click Chartboost startup.

    Can someone confirm this logic?

    Yup

    Thanks so much guys!

Sign In or Register to comment.