Recent Posts
Subscribe
Subscribe to the RSS feed or enter your e-mail in the form below, and get updates, cheatsheets, whitepapers and more.

Your Email:


Posts Tagged ‘Cocos2D’

Handling Z-Ordering In Cocos2D Map Based Games

If you’ve used Cocos2D for awhile you may have had some difficult when trying to handle the display order of images.

Things get even more complicated if you are creating an isometric game.  The player character may need to be placed behind an obstacle such as a rock or a tree.  In v0.99.1 automatic z-ordering for tile maps was implemented, and the problem was somewhat solved, but some problems still exist and there is some tweaking to be done.

iPhone Game Physics Tutorial: Radial Gravity

Physics can be a great way to enhance your game.

The problem is that implementing physics in your game can be extremely challenging, but I found a couple of great examples showing how to enhance an iPhone or iPad game using radial gravity with Box2D.

The examples are from Nick Vellios, and as you can see in the example above they show how to implement radial gravity on an object so that other objects are drawn towards it (much like how planets are drawn to the sun).

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:

Book Released Featuring Cocos2D and Unity 3d Programming

Just got an interesting note that a new book has been released early from Apress featuring Cocos2D and Unity 3D programming.

I haven’t talked about iPhone and iPad development books on here for awhile because for the most part the ones I’ve seen in the last few months have just been re-releases of the same old stuff.

How To Create A Game With The Cocos2D Engine And Tiled Map Editor

Some of the most popular games on the iPhone and iPad are platformer type games (great article on some awesome iPhone platform games). One of the more time consuming aspects of creating these games is building the tile engine, and editing the maps.

There are a couple of great open source tools which can greatly help in creating platformers on the iPhone and iPad.  Two of them are the Cocos2D game engine, and the Tiled map editor which are designed to work together.