将 Andengine 游戏移植到其他平台?

发布于 2024-12-28 08:15:11 字数 635 浏览 3 评论 0原文

我计划编写一款以 Android 为主要关注点的多人游戏,就操作系统/平台而言,但我希望能够将游戏至少移植到网络上。我正在研究 Andengine,因为我刚刚开始使用 java 和 android,它似乎是最适合菜鸟的。该游戏的要求不应该太高,因为它将是一款带有简单动画和聊天的 2D 回合制游戏。

  1. 所以我的主要问题 - 是否可以将 Andengine 游戏移植到网络上?

  2. 如果没有,您会建议什么?

  3. 我查看了 libgdx,但我担心对于刚开始使用 java/android 的人来说它可能有点高级。我的假设正确吗?

  4. 我一直在考虑的另一个想法是用 Flash 编写游戏并使用 Adob​​e Air 将其移植到 Android - 有人有这方面的经验吗?这是一个坏主意吗?我有点怀疑这是否有效,但如果没有人能真正说服我放弃这个想法,我可能会走这条路。

我也考虑过用 pygame 编写游戏,因为它看起来更容易,但我不喜欢玩家必须下载 Pygame Subset for Android 或 Kivy 之类的东西才能运行游戏。所以基本上,如果其他选项要么太困难,要么无法在 Android 上运行,那么我可能会选择 Andengine,并考虑稍后在网络上重写它(如果人们足够喜欢它)。

I'm planning on writing a multiplayer game with Android as my primary focus as far as OS/platform, but I would like the ability to port the game to at least the web. I'm looking into Andengine as I'm just starting out with java and android and it seems the most noob friendly. The game shouldn't be too demanding as it will be a 2d turn based game with simple animations and chat.

  1. So my main question - is it possible to port a Andengine game to the web?

  2. If not what would you suggest?

  3. I looked at libgdx, but I'm concerned that it might be a little to advanced for someone just starting out with java/android. Am I correct in my assumption?

  4. Another idea I've been playing around with is writing the game in Flash and porting it to Android with Adobe Air - does anyone have any experience with this? Is it a bad idea? I kind of have my doubts of how well this will work, but if nobody can really talk me down from this idea, I might just go this route.

I've also considered writing the game in pygame as it seems easier but I don't like the idea of players having to download something like Pygame Subset for Android or Kivy to run the game. So basically if the other options are either too difficult or wont work on android then I'm probably just going to go with Andengine and consider rewriting it later for the web if people like it enough.

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

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

发布评论

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

评论(3

陈独秀 2025-01-04 08:15:11

Moai SDK 是一个面向游戏开发者的开源多平台框架。
一个人使用 lua 进行编码 - 一种动态编程语言(易于学习)。
使用 Moai 制作的应用程序可以部署到 iOS、Android 和 Chrome 网上商店。

摩艾石像可能是一个替代方案。

Moai SDK is an open source multi-platform framework for game developers.
One codes in lua - a dynamic programming language (that is easy to learn).
Apps made using Moai can be deployed to iOS, android and the chrome web store.

Moai could be an alternative.

狠疯拽 2025-01-04 08:15:11

Andengine 是一个很好的起点。 (我现在用它做了 3 个项目,我真的很喜欢它)。但它不会部署到 Android 以外的任何地方。这就是它的优点和缺点。作为一个优势,将 Android 操作系统功能和库与您的项目集成非常容易,并且具有良好的性能。作为一个弱点,它只能在 Android 上运行。

一次代码发布到任何地方的平台通常会牺牲开发时间来换取速度和规模。
该领域的一些顶级竞争对手有:

  • Ancsa Corona
  • AppMobi
  • PhoneGap
  • Unity3D
  • Adob​​e Flash(网络发行版的奖励)
  • 等。 (例如,@andrew 列出的 Moai SDK)

每个平台都推出了成功的游戏。找到最适合您和您的项目需要的一种。不要忘记检查您想要集成的内容,例如使用 Facebook 移动版、AdMob、OpenFeint 或其他第三方服务。

祝你好运并享受游戏制作的乐趣!

Andengine makes a fine starting place. (I have made 3 projects with it now and I really like it). but it does not deploy to anything other than android. That is its strength and its weakness. As a strength, it is very easy to integrate android OS features and libraries with your project and has good performance. And as a weakness, well, it only runs on android.

Code-once publish anywhere platforms trade off development time for speed and size usually.
Some top competitors in that area are:

  • Ancsa Corona
  • AppMobi
  • PhoneGap
  • Unity3D
  • Adobe Flash(bonus of web distribution)
  • and others. (Moai SDK listed by @andrew, for example)

Each platform has had successful games launched with them. Find the one that suits you and your projects needs best. Do not forget to check for things you will want to integrate, such as using Facebook for mobile, or AdMob, or OpenFeint or other 3rd party services.

Good luck and enjoy you game making!

遇到 2025-01-04 08:15:11

顺便说一句,用户不需要下载“Kivy”来运行游戏。与其他工具包一样,您的应用程序将提供 Kivy 作为您将使用的其他库。

Just a side note, user do not need to download "Kivy" to run the game. As other toolkit, your application will provide Kivy as other libraries you'll use.

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