Sign in to follow this  
Falcord

What language and libraries for the games I aim for?

Recommended Posts

Hey there =)

I have some knowledge in Java, altough not much experience, and I'm currently coursing C++. I plan to start coding some games as a hobby, and I was wondering what language should I write them in and what libraries to use (absolute newbie).

Without going into much detail, the kind of games I'm aiming for are fully 2d, probably platformers or similar, with an emphasis in physics, "realistic" collision and such. Even though I don't want to stride too far from basic 2d I wouldn't mind to have some fancy graphical tools at my disposal, such as particle effects, smooth animations... etc.

What should I go for? I thought Java because I know a bit already, and since my projects won't be 3d, the limitations from Java shouldn't be of importance, right? I'd also get the benefits of portability. In case I choose Java, (or C++ if you think it's better) which open source libraries / engines should I look into for the stuff I want to make?

Thank you very much.

Share this post


Link to post
Share on other sites
The language doesnt really matter as long as it does the job. If you know java you should propably use it unless you really want to use some c++ library (and itll make you better in c++, even though its propably a bit harder to use it)

Share this post


Link to post
Share on other sites
[quote name='Waterlimon' timestamp='1317929607' post='4869874']
The language doesnt really matter as long as it does the job. If you know java you should propably use it unless you really want to use some c++ library (and itll make you better in c++, even though its propably a bit harder to use it)
[/quote]

You can use C++ libraries with Java aswell, (or C libraries atleast, but most libraries have C bindings)

Share this post


Link to post
Share on other sites
Pretty much any language can take care of that. Since you're already familiar with Java, I'd say stick with that. Or, if you're interested, you can switch to C# and later on learn XNA. Either way, don't pick C++ - in this case, it would be using a first rate battleship to kill a mosquito...

As for libraries, I haven't messed much with Java but a quick search reveals LWJGL, an [url="http://www.lwjgl.org/"]OpenGL wrapper[/url]. Looks promising enough, for a start. Then there is of course JMonkey, but again - battleship and mosquitoes. Something light should get you started fairly quickly, and LWJGL comes with both OpenGL and OpenAL so you're set in two departments - graphics and audio :)

Share this post


Link to post
Share on other sites
A good 2D Java library is Slick2D (built around LWJGL). It has a lot of features already built-in. There are also physics engines made to specifically work with it, such as MarteEngine.

http://slick.cokeandcode.com

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this