How can I write a code that show rate me after 3rd time that I open this app

mintmomegmintmomeg Member, PRO Posts: 261
edited June 2012 in Working with GS (Mac)
I try to figure out after customer download and open app then close 3 time then 4th time that they open app again will show rate my app
thanks

Best Answers

  • beefy_clyrobeefy_clyro Posts: 5,394
    Accepted Answer
    At the start of the game have an actor changing a game attribute called something like game.timesplayed.

    Have a rule that does something like the following;

    Load attribute game.timesplayed

    Change attribute game.timesplayed to game.timeplayed + 1

    Save attribute game.timesplayed

    when game.timesplayed = 4
    Show rating message

    Simples :)
  • JohnPapiomitisJohnPapiomitis Posts: 6,256
    Accepted Answer
    make an attribute, have a change attribute behavior by itself in the first scene of your game that changes attribute to attribute+1

    when attribute =4
    -show rate my app stuff

Answers

  • mintmomegmintmomeg Member, PRO Posts: 261
    Thanks all
  • mintmomegmintmomeg Member, PRO Posts: 261
    one quick question if I finish game today do I have to wait for fix version of game salad coming out or can I publish now
  • mintmomegmintmomeg Member, PRO Posts: 261
    thanks Tshirt
Sign In or Register to comment.