Posts Tagged ‘2d’
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.
Adding A 2D Hud To A 3D OpenGL ES Scene
Drawing a 2D Hud on a 3D OpenGL ES scene is a common task when developing games.
To do this without any distortion in OpenGL ES you need to draw your HUD through a matrix different from the projection matrix used for 3D objects.
Jeff LaMarche, co-author of Beginning iPhone 3 Development, and More iPhone development has added a new tutorial on Drawing a Hud Display in OpenGL ES.
The Commercial iPhone Game Engine Comparison (3D and 2D)
After making my open source iphone game engine comparison post,, I’ve noticed quite a few searches for a comparison of commercial iPhone game engines, so I’ve decided to create this comparison.
Please note that this is only a feature comparison, as while I have tested out the editors of these engines (where available for free) I have not thoroughly tested these engines, however that being said I believe I can help in someone making an educated decision for those trying to choose between these engines.
iPhone Game Engine Comparison – Open Source
I’m often asked about which iPhone game engine to use, and I know most people are looking for a free game engine so here is a comparison of the different open source iPhone game engines that actually have apps out there.
There are several open source game engines to choose from, and many cropping up all the time. On this page I have only listed those that I know have been used in games already available on the iPhone or iPad. I have chosen not to list those for which there are no apps available in the app store.
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.