Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Game Development

Reply
 
LinkBack Thread Tools Display Modes
Old 10-30-2011, 05:21 AM   #1 (permalink)
Registered Member
 
Join Date: Jan 2010
Location: Italy
Posts: 127
luigi1977 is on a distinguished road
Default Game center best practices help

Hello,

i am finishing my game (it is a quiz). I have some questions about the way to integrate Game Center. It is optional in fact in my game.
Two scenarios :
- authentication of the user at the end of the game when he manually try to submit final score with a specific button (let's say in gameover screen)

-authentication at the beginning of the game(as apple suggests) and score submitting automatically done during the game

Questions:
are The two options allowed by apple reviewers or game will be rejected?
which on is the best?
I was thinking that with second options i can have statistics on how many players played the game but should be not the best from the point of view of traffic.

thanks a lot

thanks
luigi1977 is offline   Reply With Quote
Old 10-31-2011, 03:16 PM   #2 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 100
XcodeMagic is on a distinguished road
Default

Go with authenticating the player at the start of the game thats what I learnt from 3 game cetner tutorials. thats what I got in my game and it works fine.

Also I will make it so that when game is over the score will automatically submit to game center so the user doesnt have to worry about submitting.
XcodeMagic is offline   Reply With Quote
Old 11-06-2011, 04:34 PM   #3 (permalink)
Registered Member
 
Join Date: Jan 2010
Location: Italy
Posts: 127
luigi1977 is on a distinguished road
Default

Quote:
Originally Posted by XcodeMagic View Post
Go with authenticating the player at the start of the game thats what I learnt from 3 game cetner tutorials. thats what I got in my game and it works fine.

Also I will make it so that when game is over the score will automatically submit to game center so the user doesnt have to worry about submitting.
Thanks XcodeMagic i did like you said.
I have another doubt .. about button that triggers the display of leaderboard in my menu screen.

Let's say an user load the app and the beginning he refuses to authenticate by pressing cancel inside gamecenter login popup.. Should i hide leaderboard button in menu screen? or it should be always visibile and if pressed it will popup again the alert asking to authenticate ?

Also what about people with device not compatible with gamecenter: should i hide leaderboard button as there will be no meaning to have it..?

I am a little bit confused
thanks

Last edited by luigi1977; 11-06-2011 at 04:38 PM.
luigi1977 is offline   Reply With Quote
Old 11-07-2011, 11:58 AM   #4 (permalink)
Registered Member
 
Join Date: Nov 2011
Posts: 2
seagulljl is on a distinguished road
Default A useful tutorial:

How To Make A Simple Multiplayer Game with Game Center Tutorial: Part 1/2 | Ray Wenderlich
seagulljl is offline   Reply With Quote
Old 11-09-2011, 02:13 AM   #5 (permalink)
Registered Member
 
Join Date: Jun 2011
Posts: 100
XcodeMagic is on a distinguished road
Default

Quote:
Thanks XcodeMagic i did like you said.
I have another doubt .. about button that triggers the display of leaderboard in my menu screen.

Let's say an user load the app and the beginning he refuses to authenticate by pressing cancel inside gamecenter login popup.. Should i hide leaderboard button in menu screen? or it should be always visibile and if pressed it will popup again the alert asking to authenticate ?

Also what about people with device not compatible with gamecenter: should i hide leaderboard button as there will be no meaning to have it..?

I am a little bit confused
thanks
I wouldnt hide the leaderboard button. It helps the user know that the ability to see and compete in the leader boards is still there IF they only authenticate. I dont know why someone would press cancel in the first place lol.. BUT this helps because if you are playing and there is no internet around, it wont authenticate so when they get internet they can try to authenticate and log in again. I would say also to include the authenticate process at the game over state so that when you start a game but you got no internet, but once you finish the game you have internet, game center will conntect AUTOMATICALLy asking you to authenticate if you arent already. This could be very nice for the user.. I wont go so much into this with my game. I will simple have a automatic log into game cetner at viewdidload and leaderboards. If there is no internet than game center wont register BUT I could do so that your high score in the IN game high score table can be sumbited into game center if it wasnt becayse you had no internet.

Now about the device incompatibility.. well you are making this for an iPhone so Im guessing the earlier iphones that arent compatible? Or androids? If they arent compatible then yes hide that option, or simply make an alert saying you arent compatible. Thats much easier. if authentication fails because of incompabality or no internet just make an alert saying " Cant connect to game center" Simply as that
XcodeMagic is offline   Reply With Quote
Old 11-21-2011, 12:41 PM   #6 (permalink)
Registered Member
 
Join Date: Jan 2010
Location: Italy
Posts: 127
luigi1977 is on a distinguished road
Default

Xodemagic . Finally my game was accepted by apple reviewers.. Thanks again..
Do you know if Gamecenter leaderboards could be checked online?
I would like to check gamecenter leaderboards of game users.. but i have an iPhone 3g that is not compatible with GC
luigi1977 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 373
10 members and 363 guests
apatsufas, comicool, Creativ, Dalia, dansparrow, LunarMoon, mer10, Murphy, pbart, Tomsky
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,676
Threads: 94,127
Posts: 402,916
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jleannex55
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:00 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0