{"id":1982,"date":"2015-05-20T22:16:38","date_gmt":"2015-05-21T02:16:38","guid":{"rendered":"http:\/\/www.rexfeng.com\/blog\/?p=1982"},"modified":"2015-05-20T22:16:38","modified_gmt":"2015-05-21T02:16:38","slug":"apple-gamecenter-implementation-strategy","status":"publish","type":"post","link":"https:\/\/www.rexfeng.com\/blog\/2015\/05\/apple-gamecenter-implementation-strategy\/","title":{"rendered":"Apple GameCenter Implementation Strategy"},"content":{"rendered":"<p>Having worked on\u00a0my first app that implements GameCenter, I had a lot of questions about the process. The main\u00a0question was how do I implement GameCenter into my app? Do I need to pick the right application template when creating my Xcode project? Do I need to use\u00a0SpriteKit? Etc<\/p>\n<p>The good news is that GameCenter can be added on after the rest of your application is ready. You should focus on your game mechanics, game engine, user friendliness, etc. After you are satisfied with\u00a0the core experience, you can add GameCenter (leaderboard, achievements, and other features) afterwards. You can choose any application template and you don&#8217;t have to use SpriteKit.<\/p>\n<p>In my app, I had both a\u00a0phone app &amp; a watch app. You will need to implement GameCenter using Apple&#8217;s\u00a0GameKit Framework. GameKit is currently only for the iPhone, so\u00a0GameCenter logic needs to be called in the Phone app.<\/p>\n<p>I found great\u00a0<a href=\"https:\/\/developer.apple.com\/library\/ios\/documentation\/NetworkingInternet\/Conceptual\/GameKit_Guide\/GameCenterOverview\/GameCenterOverview.html#\/\/apple_ref\/doc\/uid\/TP40008304-CH5-SW7\">Apple\u00a0documentation<\/a>\u00a0with the same advice:<\/p>\n<blockquote><p>Here\u2019s a reasonable process to follow when designing a game that supports Game Center:<\/p>\n<ol class=\"ol\">\n<li class=\"li\">Decide which Game Center features you plan to support.<\/li>\n<li class=\"li\">Define your game mechanics, keeping in mind the requirements and limitations of Game Center.<\/li>\n<li class=\"li\">Implement your game engine, ignoring Game Center for now. Focus on developing the other aspects of your game, such as your game engine and gameplay. You do this to avoid needing to create an iTunes Connect record earlier than you need to.<\/li>\n<li class=\"li\">[implement Game Center]<\/li>\n<\/ol>\n<\/blockquote>\n<p>As with any app, focus on nailing the key user experience. Then worry about implementing\/integrating GameCenter in your app.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Having worked on\u00a0my first app that implements GameCenter, I had a lot of questions about the process. The main\u00a0question was how do I implement GameCenter into my app? Do I need to pick the right application template when creating my Xcode project? Do I need to use\u00a0SpriteKit? Etc The good news is that GameCenter can [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1029],"tags":[1217,1216,966,1086],"class_list":["post-1982","post","type-post","status-publish","format-standard","hentry","category-programming","tag-gamecenter","tag-gamekit","tag-ios","tag-xcode"],"_links":{"self":[{"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/posts\/1982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/comments?post=1982"}],"version-history":[{"count":3,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/posts\/1982\/revisions"}],"predecessor-version":[{"id":1985,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/posts\/1982\/revisions\/1985"}],"wp:attachment":[{"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/media?parent=1982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/categories?post=1982"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/tags?post=1982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}