Get Updates By E-mail 

Subscriber Counter
Article Written By:
Johann Dowa

Great Cocos2D iOS Example Featuring Common Game Elements

As Cocos2D has increased it’s feature set it has become increasingly difficult to keep up with the many features of the engine. The game has evolved from a simple rendering engine with some timing control into a full-fledged 2D game engine.

 

Fortunately there is an active community and some great examples are available. You can find examples of almost anything.

 

I found this example to be particularly exceptional, as it contains many desired game elements — including:

 

  • CocosDenshion (Cocos2D Audio) Usage
  • Object Rotation
  • Health Bars
  • Spritesheets And Animations

The example is from Ray Wenderlich  the creator of the Space Game Starter Kit and co-author of the Learning Cocos2D book, Steve Oldmeadow, and Victoria Wenderlich and can be found in Cocos2D versions 0.99.4 or higher (download here).

In order to view the example you will need to set the active target, and executable to Cocos Denshion – Tom The Turret.

Make sure to select the iphone simulator — if you can’t find it, hold down the option key when clicking on the pulldown selector where you set the active target and executable that will bring up more options.

Update: Added video to show those with issues running the game in the right simulator how it’s done.

[Source: Ray Wenderlich]

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments