My guess is: OpenGL. Core Graphics does not have iPhone performance for real-time vector graphics at this level of detail. From a quick look at PvZ graphics, I think they use separate bitmaps for body parts and zombies - for example, a peashooter consists of a base, a pair of leaves attached to it, a head and a stem (which bends back and forth like “head” beans). In other words, the bitmap images themselves do not change; they simply move and rotate in relation to each other, which is ideal for OpenGL.
source
share