开发iPhone游戏需要什么? [英] What is required to develop iPhone games?

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

问题描述

我是iPhone编程的新手,但我有很好的Java基础,我开始了解Objective-C的工作原理。

我想开始开发 iOs游戏即可。


我是否需要学习 Open-GL

即使是 2D游戏(例如愤怒鸟切断绳子涂鸦跳跃 Tiny Wings )?

我需要什么?学会从简单的UI应用程序(带按钮,滑块,标签等)切换到真实游戏

I'm new in iPhone programming but I have a good grounding in Java and I'm starting to understand how Objective-C works.
I'd like to start developing iOs games.

Do I need to study Open-GL?
Even for 2D games (like Angry Birds, Cut The Rope, Doodle Jump or Tiny Wings)?
What do I need to learn to switch from simple UI apps (with buttons, sliders, labels etc.) to real games?

推荐答案

首先,您需要一个Apple开发者帐户才能在iPhone应用商店中发布游戏。

First off, you need a developer account with Apple to publish games on the iPhone app store.

其次,您可能不是'我将在游戏编程中使用Objective-C。它的运行时绑定与C或C ++方法调用的速度无法比较。

Second, you probably aren't going to be using Objective-C all that much for games programming. Its runtime binding just doesn't compare to the speed of C or C++ method calls.

对于任何跨平台的游戏开发(可能是iPhone + Android),您将需要OpenGL 。 OpenGL也恰好是在这些平台上制作硬件加速3D游戏的唯一方法。

For any cross-platform game development (probably iPhone + Android) you will need OpenGL. OpenGL also happens to be the only way to make hardware-accelerated 3D games on either of these platforms.

我的建议是学习用于iPhone游戏开发的OpenGL。这具有额外的优势,允许您为大多数其他移动平台编写游戏,并且只需要最少的额外学习。
您当然可以使用Apple自己的2D API进行游戏开发,但我不会因为之前所说的原因而推荐它。

My recommendation would be to learn OpenGL for iPhone games development. This has the added advantage of allowing you to write games for most other mobile platforms as well with minimal additional learning. You could of course use Apple's own 2D APIs for game development, but I wouldn't recommend it for the reasons previously stated.

游戏编程完全是应用开发中的不同动物。我建议开始简单。

Games programming is an entirely different animal from applications development. I'd suggest starting simple.

快乐的游戏编程!它是我最喜欢的开发领域。

Happy games programming! Its my favorite development field.

编辑:我意识到我让OpenGL看起来好像它专门用于2D游戏开发,这根本不是真的。 OpenGL非常适合2D和3D游戏开发,尽管其大部分材料都专注于3D编程。使用OpenGL进行2D编程有效地将Z坐标设置为0。

I realized I made OpenGL seem as if it is exclusively used for 2D games development, which isn't true at all. OpenGL is well-suited to 2D as well as 3D games development, although the majority of its material is focused on 3D programming. 2D programming with OpenGL is effectively setting the Z coordinate to 0.

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

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