Archive for the ‘iPhone OpenGL ES Programming’ Category

iPhone Game Development With Core Animation

I’ve made quite a few posts about OpenGL ES, and the available game engines on the iPhone, and I’d like to iterate that you do not need to use OpenGL ES or any game engine.  Core Animation can be used for iPhone game development, and if you’re used to Objective-C/Cocoa it may be the easiest route.

The Categorized OpenGL ES Tutorial Collection

I’ve received several requests for this, and I agree that finding the right OpenGL ES tutorial can be difficult so what I’ve decided to do is go through many of the available tutorials and order them by both degree of difficulty, and the native device type for the tutorials.

Below you will find OpenGL ES tutorials covering OpenGL ES 2.0, 1.1, 1.0, 1.x, for the Apple iPhone, Google Android, Pocket PC, and Microsoft Windows Mobile.  Any of these tutorials cannot be converted from one device to another, but the original device type for each tutorial is listed. 

iPhone OpenGL ES 3D Collision Detection Tutorials

Simon Maurice, has added two new tutorials to his collection of iPhone OpenGL ES Tutorials which I mentioned on my iPhone OpenGL ES resources page.

Tutorials:
1. Collision Detection
2. Collision Detection 2: Moller & Trumbore’s Fast Triangle Ray Intersect

**** Tutorials are currently deactivated they may be back in the future (due to contract issues with the Author and employer).

I haven’t had a chance yet to check these out, but they look fantastic.  Just looking from the pictures I can see that they are damn cool.

11 Cocos2D iPhone Game Engine Resources

I mentioned the open source Cocos2D iPhone game engine on my list of iPhone game engines.

For those that don’t know Cocos2D is an open source LGPL licensed 2D game engine for the iPhone that has already been used in many games.  Mitch Allen has posted a nice list of resources for the open source Cocos 2D iPhone game engine.

My favorites from the list are:

1. iPhone Dev – Which contains a collection of Cocos 2D tutorials for beginners.

iPhone Game Programming: CoreAnimation vs. OpenGL ES

I saw an interesting question being asked by an aspiring iPhone game developer, "Should I use CoreAnimation or OpenGL ES?".

Simple answer:

Core Animation is fine for games where performance is not critical, and for new programmers will likely be easy to use, OpenGL is needed for anything else.

Long Answer:

Core Animation utilizes OpenGL ES, it is high level, and in my testing works fine in situations where performance is critical.