Summary

This was one of the cornerstone chapters of the book. Making the objects move and interact with each other and allowing users to control the game is an essential part of any game.

Right now, the game might look like a simple tutorial demo, but even with just what we have now and tweaking the number of birds, their spawn time and speed, the hunter's shooting characteristics, and other parameters can turn this game into a fun and competitive one.

Of course, there are parts that beg for improvement. Logging into the console whether we've won or lost, and not displaying the number of points that we have definitely won't do compared to other games. Also, the collision detection is pretty rough, we have no sound, and the birds just disappear when ...

Get Learning iPhone Game Development with Cocos2D 3.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.