我只是想知道iPhone上的大多数游戏是否都是在OpenGL ES中完成而不是使用Quartz和Core Animation。 Quartz和Core Animation主要用于创建光滑的界面吗?或者如果游戏中有一点可能需要使用OpenGL而不是使用其他工具?
I was just wondering if most games on the iPhone are done in OpenGL ES as opposed to using Quartz and Core Animation. Are Quartz and Core Animation mostly used for just creating slick interfaces? Or if there is a point with games where OpenGL probably has to be used over using other tools?
推荐答案出于效率原因,OpenGL ES除非你写一个简单的棋盘游戏或纸牌游戏(如纸牌游戏),否则你是游戏的最佳选择。在这种情况下,Core Animation非常合适。
For efficiency reasons OpenGL ES is you best choice for games, unless your writing a "simple" board game or card game (like Solitaire). In this case Core Animation would be a good fit.
更多推荐
iPhone上的大多数游戏都是用OpenGL ES完成的吗?
发布评论