iPhone上的大多数游戏都是用OpenGL ES完成的吗?

编程入门 行业动态 更新时间:2024-10-26 02:38:02
本文介绍了iPhone上的大多数游戏都是用OpenGL ES完成的吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我只是想知道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完成的吗?

本文发布于:2023-07-24 13:22:51,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1203695.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:都是   游戏   iPhone   OpenGL   ES

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!