Jump to content
  • Advertisement
Sign in to follow this  
Falcord

What language and libraries for the games I aim for?

This topic is 2629 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

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
Advertisement
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

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)


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 OpenGL wrapper. 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
Yeah, if you go Java, definetly check out slick.

If you go C++, check out SFML and Box2D ( for physics, if you make a platformer ).

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!