Core Animation or OpenGL for simple iPhone game

后端 未结 7 1428
一向
一向 2021-01-02 18:37

I am writing a simple game that animates a ball image quickly across a background image.

Would Core Animation/Quartz be sufficient for this scenario?

I don\'

7条回答
  •  一生所求
    2021-01-02 19:25

    Just jump to something like Cocos2D so that the OpenGL is done for you. OpenGL ES is significantly faster and more adaptable than Quartz, plus it's not any harder. I even think Quartz is a big pain in the butt and difficult to figure out, although I came from an OpenGL background on desktop computers first, so naturally that jump is pretty small. The point is, though, that either with Quartz or with OpenGL ES you're going to need to spend a lot of time with resource management, etc., so you might as well go with Cocos2D.

提交回复
热议问题