iPhone Life magazine

Quick Book Review: Writing Game Center Apps in iOS: Bringing Your Players Into the Game

You may already know I'm a lecturer on programming languages: Java and its relatives (e.g., C), non-language-specific technologies like OpenGL and, now, iOS programming.

Back in November, 2010, I've posted the sources of my (then-used) Game Center lecture series. So far, I haven't had the time to explain how the sources work (apart from a quick introduction) but they still have been used successfully by a lot of international programmers. For example, they're the first to be linked to even in the official Apple(!) programming forums (an example is HERE; the TouchArcade link right in the second post is that of my article...) when someone asks for a decent and working(!) Game Center example as a full(!) game.

In the meantime, about two months ago, a new book, „Writing Game Center Apps in iOS: Bringing Your Players Into the Game” has been published (Amazon link).

I've read the book and highly recommend it as it explains everything BUT the actual game communication. That is, don't expect it to show you a working game with all these technologies built-in. This also means it's a perfect companion to my source codes, which demonstrate how real communication must be engineered, how the „host” and the „slave” should be decided successfully (taking the infamous racing conditions into account), how coordinate translations need to be done between large-screen iPads and small-screen iPhone/iPod touches etc. All this using anon matchmaking and speech.

BTW, when I publish my full tutorial? As soon as possible. Now, I've decided wait with the finalization and publishing of my forthcoming „All you need to know about video playback” article until I get either a Dell Ultrasharp U2311H or U2711 (depending on whether I receive some more money in the near future; if not, I only get the former; otherwise, I purchase the latter. I don't really want the Apple Cinema Display as it's two times more expensive than even the not-much-worse U2711) so that I can test the different video output formats of all apps, probably with Cydia hacks enabled. The remaining time will be spent on making a full English tutorial of my earlier projects I've made specifically for my lectures (like the Game Center code).

Why you will want to read my tutorials and use Game Center in your games, even if it doesn't support multiplayer? Well, take a look at these two screenshots made today of the great retro vertical scroller shooter game Battle Squadron 1 (as usual, click the images for the original image):





Yeah, it's a full worldwide top list displayed right in the game, without having to fire up the Game Center console. (BTW, as you can see, I'm in the Top 12, currently as the 11th in both hard(er) difficulty levels.) This WILL make people use your game more and come back again and again to get a better position in the top list :)Want to master your iPhone and iPad? Sign up here to get our tip of the day delivered right to your inbox.
Email icon
Want more? Get our weekly newsletter:

Werner Ruotsalainen is an iOS and Java programming lecturer who is well-versed in programming, hacking, operating systems, and programming languages. Werner tries to generate unique articles on subjects not widely discussed. Some of his articles are highly technical and are intended for other programmers and coders.

Werner also is interested in photography and videography. He is a frequent contributor to not only mobile and computing publications, but also photo and video forums. He loves swimming, skiing, going to the gym, and using his iPads. English is one of several languages he speaks.