GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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 Posts: 1,340Member
    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 Posts: 1Member, PRO

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

  • RabidParrotRabidParrot Formally RabidParrot. Posts: 956Member
    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 Posts: 279Member, PRO

    @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 Posts: 9,111Member, Sous Chef, PRO, Bowlboy Sidekick GameSalad Employee

    @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. Posts: 956Member

    @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 Posts: 279Member, PRO

    @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.