|
![](/i/fill.gif) |
Btw, there are two possible approaches at making a 2D game for the iPhone.
On is trying to use the Cocoa library for everything, the other is using
OpenGL ES (although, as said, you seldom want to use it directly, and
instead you want to use a game engine that works on top of it.)
Trying to do it with Cocoa may at first seem easy, but you'll quickly find
out its limitations. It's quite inefficient at drawing tons of graphics,
and there are severe limitations on what you can do (for example you can't
place sprites at sub-pixel positions.) The inefficiency is the major problem.
Just one single particle effect could be too much for it to handle.
With OpenGL ES you practically don't need to concern yourself with
efficiency. You could have a hundred particle effects with a total of
tens of thousands of particles on screen at the same time, and you may
well get a good 60 FPS framerate.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |