Sign in to follow this  

A general lang question

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

This topic is 4333 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.

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