Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Build your first iOS Game: Simple space invaders on github (github.com/richy486)
59 points by gvnn on May 29, 2012 | hide | past | favorite | 7 comments


Nice, seems really smooth.

As someone who is just getting in iOS development, would you have any recommendations for branching into game development? I see both this, and franzus's game are in C++. Is that common? I just spent a month leanring the basics of the iOS SDK and Obj-C so I was hoping to stay in that realm.


I converted a game I had originally written in Java to iOS. In part because I wanted to learn Objective-C. With hindsight, and with the emergence of Android, I probably should have converted the game to C++.

With the games base code (engine) in C++, I could have written thin wrappers for iOS and Android and I would doubled my market share.

For this reason I would recommend C++.


C++ is fairly common for games development, that dosen't mean you have to use it. If you are comfortable with objective C you could use a games engine such as cocos2d or sparrow framework. This will allow you to focus on the gameplay.


Thanks for posting. I hope someone can do something awesome with the code


Thanks for sharing, and Space Invaders it's a classic!


Yup, and richy486 did a great job!


Great share. I open-sourced some of my iOS games (and the component based framework), too. You can check it out here: https://github.com/jsz/hellstorm

(Sorry for the shameless plug.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: