Discussion Forums  >  Self Hosted Control Panels

Replies: 10    Views: 103

ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
07/21/12 02:12 AM (13 years ago)

iOS Game Center and BT-2.0 Quiz

Hi All, I'm setting up game center using a self hosted BT server with the new quiz plugin. I've been using mgoblue's great guide for doing it on BT 1.5 http://www.buzztouch.com/files/howtos/Game-Center-Tutorial.pdf I have everything working: - leaderboard setup on itunesconnect - you can log into the game center sandbox - you can do the quiz, you can finish the quiz etc All this works except that I am missing the 'submit score' button and show 'scoreboard' buttons at the end of the quiz. I only get 'try again' and 'quit'. The code on page ten says to place these lines: //Submit Score Button [finishedButtons addObject:NSLocalizedString(@”quizSubmitScore”, @”Submit Score”)]; *** Above the line below ***** //scoreboard button shows if we have it ‘on’ and if a scoreboardURL is provided Only problem is that the above line is no longer in the BT_screen_quiz.m file!!! Any suggestions where to put it? I've tried a few places but it still doesn't work :(
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
07/21/12 04:29 AM (13 years ago)
Ok. Yes, that's a bit different. In the "-(void)quizEnded{" saction, put this: //Submit Score Button [finishedButtons addObject:NSLocalizedString(@"quizSubmitScore", @"Submit Score")]; Right above: //try again button... [finishedButtons addObject:NSLocalizedString(@"quizTryAgain", @"Try Again")];
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
07/21/12 04:30 AM (13 years ago)
I'm away from my computer, but the previous answer is one I posted in another thread on this subject.m hope it helps.
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
07/21/12 06:22 AM (13 years ago)
Awesome - thanks heaps!! That did the trick. Just need to work out where the Leader board goes ... but the rest is working - thanks again!
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
12/29/12 11:26 AM (13 years ago)
Will Sandboxed Game Center save your scores?
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
01/01/13 10:31 PM (13 years ago)
From what I can remember, I believe the sandboxed accounts and sandboxed environment did keep my score across sessions. I couldn't be 100% certain though!
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
03/11/13 05:22 PM (12 years ago)
any chance this tutorial can be updated for the actual Xcode/IOS version. getting some red semantic and parse issues.
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
03/11/13 05:58 PM (12 years ago)
I'll have a look this week. Have a couple projects that need updating so this would be a good time to update the tutorial.
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
03/11/13 06:02 PM (12 years ago)
sounds great, happy to hear from you soon again :-)
 
LeonG
Apple Fan
Profile
Posts: 694
Reg: Nov 08, 2011
Hamburg
17,740
like
03/17/13 08:57 AM (12 years ago)
MGoBlue, did you have a chance to look at it yet? Dont want to push, but this would be my last piece before uploading to apple.
 
Mike the App Guy
Lost but trying
Profile
Posts: 435
Reg: Sep 19, 2011
Birmingham, Ala...
5,900
like
06/18/13 07:58 PM (12 years ago)
Resurrecting this thread, it looks like MGoBlue is the guru for game center, and I'm definitely needing some help. Any chance of an updated help PDF?? Pretty please! :)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.