Display time to game center

glyniusglynius Member Posts: 231
edited August 2012 in Working with GS (Mac)
Hi, i have a question...
i want to post a time score to game center, i have already prepared the leader board and i setup the
"score format type" to "elapsed time, to the hundred of a second". so far so good,
now to gamesalad, when the current time is smaller than the high score time, i set a rule and post the result to
leaderboard, the problem is that is not working, it doesn't post the score at all, i imaging that the problem
is the type of the attribute that i use for high score, it is a "real attribute". What can i do to post my highscore
to leaderboard, and what type of attribute is "elapsed time, to the hundred of a second"?
This is the last thing i believe, to solve and finish my first game, i would appreciate any help.

PS, because "real attribute" displays the time in real number format, to display the time i use
"floor(floor(( game.high score /3600)/60)/10)..floor((floor( game.high score %3600)/60)%10)..":"..floor(( game.high score %60)/10)..floor( game.high score %10)..":"..(floor( game.high score *10)%10)..floor(floor( game.high score *100)%10)"
maybe this is irrelevant, but maybe it could help.


Comments

  • glyniusglynius Member Posts: 231
    problem solved, Tshirtbooth has a very nice tutorial
  • glyniusglynius Member Posts: 231
    Ok, another problem came in front of me...
    I want to appear the Leaderboards and not leaderboad 1, or 2, or 3...etc.
    any way?
Sign In or Register to comment.