Game Center issue

richiconrichicon Member, PRO Posts: 55
Hey all - I have added my Game Center achievements - the 100% award ones work fine, but the cumulative ones aren't working - they stop adding up before the achievement is awarded.

Here is an example of the code - this is for the hole in one triple award:

Update Achievement:

ID: holeinonetriple
Percentage: game.HolesinOne /3*100

Any pointers on whether I am doing anything wrong?

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Aren't you going to end up with a decimal place with that equation? This could be your issue if the achievements on apples end are integers.
  • richiconrichicon Member, PRO Posts: 55
    I think that is it - I didn't think this was an issue as their integers appear to allow for decimal points.

    But that would tally with the issue I have.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited May 2013
    Integers are whole number variables so they would have to be using a real attribute.
  • richiconrichicon Member, PRO Posts: 55
    Yes - I must admit I was surprised on iTune Connect to see them giving examples with decimal places on the integers.

    What i am going to is just do all the calculations in GameSalad and just use 100% achievements.
  • alarm656alarm656 Member Posts: 291
    Hello all I add Game Center Achievements to my test app. With adding Geme Center Achievements I think ok except iTunesConnect code. There is no ItunesConnect codes. I published test app with my Adhoc Provision profile. First time App runes ok but when I closed the app completely it doesn't ran. only opened just splash first scene. what's happening? please help
Sign In or Register to comment.