Jump to content
  • Advertisement
Sign in to follow this  
argoneus

How viable is Java for GameDev?

This topic is 2329 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm trying to work on a topdown tile-based multiplayer RPG (not a MMO though, separated 'rooms'), but I pretty much died at language selection.

I tried using C++ w/ SFML but it felt like doing too much to accomplish little. Then I tried C#/XNA, but since I'm on Linux, it didn't really work out since MonoGame feels more like a tool for porting games made in actual Visual Studio XNA. So now I was considering the middle way, Java. But my experience with Java in terms of games (from a few years ago) is that it's slow, bloaty, crash-prone and doesn't run on a lot of computers natively.

So my questions:

1, Is Java today comparable to SFML / XNA?
2, How is the speed of development and user-accesibility compared to the latter?

Thank you!

Share this post


Link to post
Share on other sites
Advertisement
It is possible to create Games with Java, the best example would be Minecraft.
In order to create games with Java you need to use OpenGL which should Run on every common OS.

You could use the http://www.lwjgl.org/ Library which provides easy access to OpenGL functions with Java.
Minecraft is also build on this Library.

A disadvantage is that it is much harder to create a game with lwjgl compared to XNA. I think XNA gives you faster results.

If you dont want to get mad with low level stuff you can also use the jMonkeyEngine http://jmonkeyengine.com/ which is written in Java using OpenGL.

Best Regards
Olaf

Share this post


Link to post
Share on other sites
1. Java being a language isn't comparable to game libraries/frameworks but java libraries probably are. Like for example lwjgl.
2. Download Eclipse or Netbeans and see how advanced the tools are. I found them to be pretty awesome ;).

Share this post


Link to post
Share on other sites
Well if you know C++ (assuming that you're not learning C++ while trying to make a game), then why not try C++, SDL, and Lazy Foo's tutorials. Then go back to SFML. With that said, Java is as viable and robust and C#. Their game dev libraries pretty much the same.

Share this post


Link to post
Share on other sites

I see. How is Slick2D?


I've been dabbling with lwjgl and slick2d lately. For lwjgl it' basically the same thing as writing opengl code for C++. Slick2D is written on top of lwjgl and provides a nice way to create 2D games. From what I can tell Slick2D is a pretty damn good library. Another library you might want to look into is TWL for creating some GUI elements. Edited by bobbias

Share this post


Link to post
Share on other sites
http://www.gamefromscratch.com/post/2011/08/04/I-want-to-be-a-game-developer.aspx << This sound really be a link that's stickied. Great link about the pros and cons and great tools for each language including Java.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!