Java 有比 Libgdx 更好的 2D 游戏引擎吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/20981762/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 05:42:37  来源:igfitidea点击:

Is there any 2D Game Engine Better than Libgdx?

javaandroidlibgdx

提问by Waleed Mohamed

I've started libGDX programming a few months ago, and I've found many tutorials for basics. I've liked its cross-platform nature and ability to build Android, desktop and many other game versions at the same time - but when getting into intermediate and advanced features I found very few tutorials and documentations for it. I've spent many hours to figure out how to do some GUI and stage operations for instance.

几个月前我开始了 libGDX 编程,我找到了很多基础教程。我喜欢它的跨平台特性以及同时构建 Android、桌面和许多其他游戏版本的能力 - 但在进入中级和高级功能时,我发现它的教程和文档很少。例如,我花了很多时间来弄清楚如何进行一些 GUI 和阶段操作。

I want to ask about the libGDX power in the Android gaming market? Is it the best 2D gaming engine currently, or is there better free alternative for gaming engine?

想问一下libGDX在安卓游戏市场的实力?它是目前最好的 2D 游戏引擎,还是有更好的免费游戏引擎替代品?

回答by Melquiades

There are few 2D engines out there:

那里很少有 2D 引擎:

  • Corona SDK- easy to use, Lua
  • Marmalade- powerful, C++/Lua
  • Moai- Lua
  • Love- Lua
  • SDL- c++, c#, python (some people have used this for PC, Android and iOS development)
  • ...
  • Corona SDK- 易于使用,Lua
  • 果酱- 强大的 C++/Lua
  • 摩艾- Lua
  • - Lua
  • SDL- c++、c#、python(有些人已经将其用于 PC、Android 和 iOS 开发)
  • ...

The list is not exhaustive...

该清单并不详尽......

回答by noone

I'd like to stand up for libgdx and say that also for intermediate and advanced topics, there aretutorials out there. May it be shaders, GUI, physics or input specific tasks.

我想支持 libgdx 并说对于中级和高级主题,也教程。可能是着色器、GUI、物理或输入特定任务。

If there is no 100% matching tutorial (which is usually the case for advanced topics in any framework), you can always try it yourself. LibGDX's API is very well documented in total and there is an extensive, but still growing wikitackling nearly every part of the API.

如果没有 100% 匹配的教程(对于任何框架中的高级主题通常都是这种情况),您可以随时自己尝试。LibGDX 的 API 总共有很好的文档记录,并且有一个广泛但仍在增长的wiki,几乎涵盖了 API 的每个部分。

If you have really difficult problems, there is still the community. It has an active forum, questions on stackoverflow are also regularly answered and if nothing helps, there is still the active #libgdx chatroom on freenode IRC where you can find the main developers every day and get instant feedback on every kind of question.

如果你真的有困难的问题,还有社区。它有一个活跃的论坛,有关 stackoverflow 的问题也定期得到解答,如果没有任何帮助,freenode IRC 上仍然有活跃的 #libgdx 聊天室,您每天都可以在那里找到主要开发人员并获得对各种问题的即时反馈。

I also always like to point to Google Trends - LibGDXwhich shows the direction of this framework pretty well.

我也总是喜欢指向Google Trends - LibGDX,它很好地显示了这个框架的方向。