Download

Game Center questions

I’m starting trying to save off my stats into game slots and for online leaderboards etc and am wondering how you setup a custom high score?

  • I’d like my game to have a high score per level, is that even possible?

  • If so I’d like a high score per level where less time is better (in a racing game type of way), and another leaderboard with a normal high score (all best times + skill points from all levels converted into points). I read that Game Center supports time as a type of high score but how/where do I set this up?

  • Are the names sent from the Tappy Chicken game custom names or do they have to have those specific names due to game center requirements (‘HighScore’ eg)?

  • Game center seems to work fine on Android as well, can anyone confirm that’s the case for UE as well? Are iOS and Android the only OS’s that it supports?

I can’t find much related to this here hence me asking.

Thanks a lot for any help.

- I’d like my game to have a high score per level, is that even possible?

Surely you would just make High Score an Int that has a default value of something like 300 (For example).

"- If so I’d like a high score per level where less time is better (in a racing game type of way), and another leaderboard with a normal high score (all best times + skill points from all levels converted into points). I read that Game Center supports time as a type of high score but how/where do I set this up?"

When the level is finished, compare “CurrentScore” to “HighScore” and if current score is less then set as new high score? You could even do this per level quite easily

Or am I reading your question wrong?

Thanks for the reply!

It’s great that you say you can do a high score per level, I’m just not sure how to do it. Do you just send any variable to the leaderboard BP function and then that variable is automatically used as the basis for a leaderboard?

In Tappy Chicken that seems to be the case (not 100% sure) but a leaderboard might have to get setup outside UE I’m thinking?

Do you mean you just keep sending variables to the leaderboard and that will show new and unique leaderboards for every var you send? So if you send level01HighScore to the leaderboard it’ll show a leaderboard for that var?

This’ll be the first time I’m doing anything like this so my questions are probably pretty dumb. But hey, I got no shame.

Thanks again.