Archive for the ‘iPhone Game Programming’ Category

Easy And Accurate 2D Collisions

It is a simple process to perform box collisions in Cocoa Touch using the CGRectIntersectsRect function, and while this is easy and provides decent performance it does not make for the most accurate collisions.

A couple of new tutorials have been created featuring techniques for creating more accurate collisions methods.

The first tutorial is from 71 Squared on Collision Detection Methods which has a some nice straightforward functions written in C that you can drop into your code for Circle to Rectangle, and Circle to Circle collisions.

Great Free Tool For Easily Finding Vertex Locations Of 2D Sprites

If you’ve done any  2D action game programming you may have had to go through the tedious process of going through a collection of 2D sprites and finding and recording vertex coordinates around the game objects.

It’s a major hassle to do this by hand, and for me personally it’s things like this that hold me back from doing things, or sometimes taking an easier way out (like using box collisions or spherical collisions just so I don’t have to do this), but it’s a fairly quick process selecting things graphically with this program

How To Create A Breakout Game with Cocos2D and Box2D

An outstanding series of tutorials has been posted on how to use Box2D with Cocos2D,  and creating a simple breakout game using these technologies.

The tutorials are from Ray Wenderlich, and the first thing that you will want to do is check out Intro to Box2D with Cocos2D Tutorial: Bouncing Balls.  In this tutorial you’ll learn how to create a Box2D project, and how to add physical characteristics to 3D objects with Box2D.

Unity iPhone Developer Shares Tips After Developing First Game

Editors Note: Pat from Crawl Space Games was kind enough to share his experience and some tips in creating his first game using Unity 3D for the iPhone.  This will be a great help for those getting started with Unity 3D or trying to decide whether they should use it for iPhone development.

Creating Isometric Tile Map Games For the iPhone

I received an interesting question today from an iPhone development newbie as to how they could create an iPhone game using tiles and isometric perspective.  While going through and creating their entire game from scratch was out of the question, I pointed them towards a great utility that I found out about recently.

The utility is open source, runs on Windows and Mac is known as Tiled.  Tiled is an excellent 2D map editor, and recently support for isometric maps was added to the QT version.