一个好的 Java 2d 引擎?

发布于 2024-07-14 02:21:52 字数 42 浏览 5 评论 0原文

有谁知道一个好的 Java 2D 引擎,具有精灵、动画和碰撞处理功能?

Does anyone knows a good 2D engine for Java with sprites, animations and collisions handling?

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

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

发布评论

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

评论(4

も星光 2024-07-21 02:21:52

JGame 可能就是您正在寻找的。

您可能还想查看这个问题( https://stackoverflow.com/questions/293079/java- 2d-game-frameworks ),其中有一个引擎列表以及对其中一些引擎的一些反馈。 希望它有帮助。

JGame is probably what you're looking for.

You might also want to check out this question ( https://stackoverflow.com/questions/293079/java-2d-game-frameworks ) that has a list of Engines out there and a bit of feedback on some of them. Hope it's helpful.

匿名。 2024-07-21 02:21:52

Slick2D 似乎是一个相当不错的选择。

它被广泛使用,并且基于 OpenGL(通过 LWJGL),因此如果需要,您可以获得一些相当好的性能它。

Slick2D seems to be a pretty solid choice.

It's widely used and it is based on OpenGL (via LWJGL) so you can get some pretty good performance if you need it.

以往的大感动 2024-07-21 02:21:52

Greenfoot,来自 BlueJ,如果您是第一次使用 Java 进行游戏开发,将是一个不错的选择。 它甚至不是一个易于学习的 API,但还配备了完全集成 Greenfoot 表面的开发环境。

游戏环境是 greenfoot.World 而游戏中的每个元素都是 greenfoot.Actor 实例。 Actor 类提供了真正位图相交的方法 (greenfoot.Actor.intersects())。

Greenfoot, from the makers of BlueJ, would be a good choice if it is your first time with game-development in Java. It is not even an easy-to-learn API, but also comes with a development-environment with fully integrated Greenfoot surface.

The game-environment is the greenfoot.World while every element in the game is a greenfoot.Actor instance. The Actor class provides a method for true bitmap-intersection (greeenfoot.Actor.intersects()).

风流物 2024-07-21 02:21:52
  • jGame
  • Arianne

Tangent:您最好远离 Java。 游戏开发行业以 C++/Python 为主,C# 排名第三。

  • jGame
  • Arianne

Tangent: You'd be better off branching away from Java. The game development industry is C++/Python heavy, with C# in third.

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