对于 Android 开发,我有哪些选择?

发布于 2025-01-06 02:31:46 字数 249 浏览 2 评论 0原文

我已经在 Eclipse 中完成了 Android SDK 的设置,现在我想知道,在 Android 上开发游戏的流行方法有哪些?老实说,我的 Java 知识非常有限,所以我对所包含的图形库了解不多,或者即使它适用于 Android,我的大部分经验都是使用 Ogre 或 SFML 的 C++。我知道 SDL 与 SFML 非常相似,所以我可能会尝试一下。另外,我应该使用最新版本的 SDK(Android 4.0.3 API 级别 15 是我的 AVD)还是旧版本来支持大多数设备?

I've finished setting up the Android SDK in Eclipse and now I have to wonder, what are some popular methods for developing a game on Android? My Java knowledge is pretty limited to be honest so I don't know much about the included graphics library or even if it works with Android, most of my experience is in C++ with Ogre or SFML. I understand SDL is pretty similar to SFML so I might give that a try. Also, should I use the newest version of the SDK (Android 4.0.3 API level 15 is what my AVD is) or an older version to support the most devices?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

情话墙 2025-01-13 02:31:46

在 Android 上开发游戏的方法有很多种。这取决于您要创建的游戏的特殊性以及您的个人经验。

在我的项目中,我使用 libgx http://code.google.com/p /libgdx/。足以满足我的期望了。

有一些跨平台框架可以为 Android 和 iOS 创建游戏(CoronaSDK、Marmalade)。

我听说Ogre代码可以在Android上编译。我认为你应该调查这个问题:)。

如果可能的话请告诉我。

您应该使用什么目标版本的 SDK 您可以在此处查看:
http://developer.android.com/resources/dashboard/platform-versions.html致以

最诚挚的问候

There are a lot of methods to develop a game on Android. It depends on a specificity of the game you are going to create and your personal expirience.

In my projects I use libgx http://code.google.com/p/libgdx/. It's enough good to satisfy my expectations.

There are some cross-platform frameworks that make it possible to create games for Android and iOS (CoronaSDK, Marmalade).

I heard Ogre code is able to be compiled on Android. I think you should investigate this question :).

Please, let me know if it's possible.

What target version of SDK you should use you can see here:
http://developer.android.com/resources/dashboard/platform-versions.html

Best regards

听,心雨的声音 2025-01-13 02:31:46

一些可以进一步帮助您的链接:

关于 SDK - 从低端开始,例如 Android 1.5。如果您遇到此版本中不可用的内容,请增加构建目标。这样您就可以接触到最多的用户。

Some links to help you further:

About the SDK - start off low, say Android 1.5. If you encounter things that are not available in this version, increase the build target. This way you can reach the most users.

尽揽少女心 2025-01-13 02:31:46

如果我想作为初学者进行 Android 开发,我会:

1) 学习 Java。如果你习惯了其他语言,比如 C++,这并不难

2) 制作一些教程(互联网上到处都是)

3) 为旧版本的 Android 开发,例如 2.2 或 2.3(甚至不需要开发)旧版本,因为几乎所有手机都已更新到至少 2.2)。在我看来,现在开发冰淇淋三明治是毫无价值的,因为没有人能够使用你的应用程序(好吧,有一些人,但是实际上并不多)。我认为 4.0 开发对于大公司来说很有吸引力,因为项目可以持续数月,所以当他们的应用程序发布时,市场就会准备好。在此之前这样做只会关闭你的市场 - 我假设你还不会带着一个巨大的应用程序进入 -

这就是你应该知道的一切:)

If I'd want to develope for Android as a starter, I'd:

1) Learn Java. It won't be tough if you're used to other languages like C++

2) Make some tutorials (Internet is full of them)

3) Develope for an older version of Android such as 2.2 or 2.3 (There's no need to develope for even older versions, as almost all cellphone's have been updated to at least 2.2). In my opinion, developing now for Ice Cream Sandwich is worthless as nobody will be able to use your application (Ok there are some people, but they're not a lot actually). I think developing for 4.0 is atractive for big companies, with projects that can last for months, so when it's time for their app to be published, the market will be ready. Doing it before that is just closing your market -I assume you're not going to enter with a giant application yet-

And that's kind of everything you should know :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文