• Advertisement
Sign in to follow this  

A general lang question

This topic is 4409 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... I was wondering is it a good idea to write games under .NET langs, OpenGL or DirectX no matter, I mean, does it matters? I have the options of C#, C\C++, Java... About Java... I don't know... But what about the others? Is it better to write C# then C++?

Share this post


Link to post
Share on other sites
Advertisement
Seriously? Pick a language. The differences in output are minor. Your only consideration is whether you want portable code or not. If you do, DirectX and most of .NET is not an option right now. (Managed code may some day be fully portable.)

Share this post


Link to post
Share on other sites
There are a number of OpenGL bindings/libraries for Java programs. Some common ones are LWJGL, JOGL, and Sun's Java3D.

Share this post


Link to post
Share on other sites
If you just need Windows compatabilities, C# and managed DirectX is good for easy learning and programming (from the memory and resource management point of view).

If you know C++ and comfortable with it, it would be great to develop on it because of the performance and flexibilities. And of course, this is my favourite language.

If you require cross platform compatability, C++ and OpenGL is the only option.

Java is good and there is a good bridge between Java and OpenGL (Java4GL). Though, I don't like the way to program OpenGL in Java. It is not straight forward and messy. (my personal feeling mostly).

Share this post


Link to post
Share on other sites
You may wish to have a look at python, it has really nice libraries for game :
- pygame ( SDL for python ) : http://www.pygame.org
- pyopengl : http://pyopengl.sourceforge.net

Python is powerful, cross-platform and easy to learn.
It is an interpreted language but you can distribute your game as a standalone package thanks to py2exe (http://sourceforge.net/projects/py2exe/).
In practical, the development time is much shorter with python than C/C++ ( i would say twice shorter, maybe three times) to get equivalent features.

EDIT : And it is cross-platform linux/macos/windows

Share this post


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

  • Advertisement