I am at the design phase of a board game on the iPhone and am considering a couple of options for rendering the view:

  • Quartz to render top down views of the board with core animation to do the transitions to close ups etc. Using a 3D library (or GL directly) to render dice rolls on top of the 2D view.
  • Full 3D interface to render the board and do the transitions (something like the Monopoly app on the iPhone).

Keeping most of the game in 2D simplifies the implementation and the artwork, but I wonder if the overall finish will suffer. Is it practical to render 3D views (for the dice rolls) on top of a Quartz 2D app?

Should I just bite the bullet and go 3D?


1 Answer 1


You can render OpenGL views on top anything on the iPhone with no performance loss. However, if you're thinking of just doing the dice on top of other 2D graphics, that will be more costly (you'll have to render them to texture and apply an alpha channel).

When mixing 2D and 3D on the iPhone, I recommend you think of it mostly in terms of the 3D in the background, and some 2D elements on top.

Check out my GDC presentation for all the different cases and details on how to mix UIKit and OpenGL, and make sure to download the sample source code as well.

  • \$\begingroup\$ Thanks Noel. I think you have confirmed the direction I was leaning ;) \$\endgroup\$ Jul 23, 2010 at 2:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .