A general lang question

Started by
4 comments, last by Joss82 18 years, 2 months ago
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++?
This world is ruled by big furry CATS!! :)Meow! :)
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.)
But if I want DirectX the C#'s DirectX is easier no?
And does java support OpenGL?
This world is ruled by big furry CATS!! :)Meow! :)
There are a number of OpenGL bindings/libraries for Java programs. Some common ones are LWJGL, JOGL, and Sun's Java3D.
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).
The poorest programmer in the game industry!!
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

This topic is closed to new replies.

Advertisement