Question

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

Was it helpful?

Solution

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.

OTHER TIPS

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.

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()).

  • jGame
  • Arianne

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top