leaderboard

GameCenter not updating leaderboard

允我心安 提交于 2019-12-21 23:54:40
问题 Using the sandboxed Gamecenter. No matter what I do the scores never appear in a leaderboard. I am using the following code: - (void)scoreReported: (NSError*) error { NSLog(@"%@",[error localizedDescription]); } - (void)submitScore{ if(self.currentScore > 0) { NSLog(@"Score: %lli submitted to leaderboard %@", self.currentScore, self.currentLeaderBoard); [gameCenterManager reportScore: self.currentScore forCategory: self.currentLeaderBoard]; } } And scoreReported doesnt produce an error, yet

Redis zrevrangebyscore, sorting other than lexicographical order

元气小坏坏 提交于 2019-12-21 06:45:09
问题 I have implemented a leader board using sorted sets in redis. I want users with same scores to be ordered in chronological order, i.e., user who came first should be ranked higher. Currently redis supports lexicographical order. Is there a way to override that. Mobile numbers are being used as members in sorted set. One solution that I thought of is appending timestamp in front of mobile numbers and maintaining a hash to map mobile number and timestamp. $redis.hset('mobile_time', '1234567890'

How to clear live gamecenter leaderboard data?

∥☆過路亽.° 提交于 2019-12-20 05:23:26
问题 Is it possible to clear the data of a live gamecenter leaderboard (not sandbox one)? If its not possible to clear, is there a way to hide a leaderboard from showing? Thank you. 回答1: There is no way to reset a Game Center leaderboard category or to remove a category once it's been launched in a live app. Once a leaderboard has gone live for any version of your app, it cannot be removed. From posts: Delete Leaderboard Reset Leaderboard 回答2: Go to that leaderboard in iTunesConnect and change the

Creating a leaderboard for offline game in Python

对着背影说爱祢 提交于 2019-12-20 04:47:31
问题 For a school project, I'm creating a game that has a score system, and I would like to create some sort of leaderboard. Once finished, the teachers will upload it to a shared server where other students can download a copy of the game, but unfortunately students can't save to that server; if we could, leaderboards would be a piece of cake. There would at most be a few hundred scores to keep track of, and all the computers have access to the internet. I don't know much about servers or hosting

Creating a leaderboards, how would I go about displaying rank/position?

丶灬走出姿态 提交于 2019-12-13 12:22:26
问题 I am creating a leaderboards which will display the following: Rank, Username, Score I currently have the table to it will display Username and Score from the data in a mysql table, I am just wondering how would I go about displaying a rank for each user, number 1 being the user with the highest score then descending. Thanks! 回答1: I recommend reading up on PHP/MySQL. HTML Header: Open your table, create your headers <table> <tr> <td>Rank</td> <td>User</td> <td>Score</td> </tr> PHP:

Only one result showing in Game Center leaderboard sandbox - normal?

爱⌒轻易说出口 提交于 2019-12-12 18:32:50
问题 I'm getting results to show in the leaderboard in sandbox mode, but I expected each result to appear. Only one result is showing. Is that normal? The sort option to sort from highest to lowest seems to imply multiple results should show up. What does show up is my high score, which does update if the score is surpassed. Only one result shows whether I present a VC thus: - (void) presentLeaderboards { GKGameCenterViewController* gameCenterController = [[GKGameCenterViewController alloc] init];

Delete GameCenter Leaderboard - iTunes Connect

独自空忆成欢 提交于 2019-12-12 18:09:24
问题 My game currently has four leaderboards for differently difficulties, however this is going to change in a new update. I no longer want to make use of all of these, but only one. How can I setup the new version to only use this new leaderboard and have the other hidden so they can't be seen by the user? Thanks. 回答1: According to iTunes Connect: Once a leaderboard has gone live for any version of your app, it cannot be removed. 回答2: You may update your game without having any pointers to the

Leaderboard doesn't add in the screen cocos2d

柔情痞子 提交于 2019-12-12 15:04:30
问题 I used the code below to show the Leaderboard but all i got it the console this cocos2d: surface size: 480x320 the code: - (void)showLeaderboardForCategory:(NSString *)category { // Only execute if OS supports Game Center & player is logged in if (hasGameCenter) { // Create leaderboard view w/ default Game Center style GKLeaderboardViewController *leaderboardController = [[GKLeaderboardViewController alloc] init]; // If view controller was successfully created... if (leaderboardController !=

Google Play Leaderboards Not Showing Up

你。 提交于 2019-12-12 12:16:42
问题 So I'm trying to implement Google Games Leaderboards into an AS3 game. As near as I can tell, game services is all set up appropriately. Achievements and in-app purchases are already functioning properly. I have all my leaderboard set up in the developer console and I don't see anything obvious wrong with them. I know the leaderboard IDs have been properly implemented into my code. According to the console, I've even managed to successfully submit some scores to said leaderboards. However my

Implement a Game Center leaderboard (iOS 7)

帅比萌擦擦* 提交于 2019-12-11 10:45:42
问题 I need help with developing Game Center! I found this developer web page http://blog.lucaslouca.com/game-center-leaderboard-ios-7-app/#comment-3761 and need some help with it Here are my questions! Hi, my name is David! I have developed game, it is like flappy bird and I need to implement game center! I have MyScene.m and MyScene.h, so I understand steps up to 7, but don't know if I should add those three files to my game I am not experienced game developer and need some help. I have few