iPhone的编程游戏 [英] Programming Games for iPhone

查看:213
本文介绍了iPhone的编程游戏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最好是在Objective C或C ++中为iPhone编写游戏。

如Flight Control这样的游戏会用什么语言写成?

图形应该使用什么格式

Is it best to program a game for the iPhone in Objective C or in C++.
What language would a game like Flight Control be written in?
What format should graphics be in to show properly and load quickly on the iPhone?

推荐答案

Flight Control之类的游戏通常是用Objective-C编写的C调用OpenGL和其他C API。图形可以存储为PNG或JPEG。我会留在C ++,除非我不得不使用一些C ++代码或开发人员有良好的C ++知识。根据我的经验,瓶颈很少在语言中,所以你没有太多的获得通过切换到C ++。

Games like Flight Control are usually written in Objective-C with some C calls to OpenGL and other C APIs. The graphics can be stored in PNG or JPEG. I would stay out of C++ unless I had to use some C++ code or had developers with good C++ knowledge. According to my experience the bottleneck is seldom in the language, so that you haven’t much to gain by switching to C++.

这篇关于iPhone的编程游戏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆