Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualDarego

Posted 04 January 2013 - 05:05 PM

Well, i can't tell you which is the best language, but if you're serious about learning one, and make a serious project, then i'd advise C++.
It's probably the most used language in game development, although i suppose not the easiest to learn.

You could then learn OpenGL or Direct3D, or even use SDL or Allegro (i think these two can be/are used in conjunction with OpenGL).
Also, if you don't know (and don't mind your game being WIndows only), there's DirectX (which Direct3D is part of) which is a complete game development SDK.

Not that this isn't something you can't do with other languages (i don't really know if there's DirectX support in Java or Python), but i think you will get the most support (in terms of code samples, etc) if you use C++.
Of course if you want your game to be cross-platform, then perhaps Java would be another option, not that you can't do it with C++, but it is easier with Java.

There is also C#, altough i can't tell you anything about it as i've never use it (the same goes for Python).

In the end, in my opinion, on the long road of development, you'd benefit more by choosing C++, but again, it is probably not as easy to learn (and by learning i mean really learning, including advanced things like pointers, OOP, inheritance, etc), and obviously does not natively include sprite drawing routines, sound playback, etc like some other languages do (for example Java and ActionScript).
what do you mean by java sprite drawing routines? in a 2d tile based map for example aren't the sprites done in paint.net etc and not coded in programming languages? (totally new at game dev here obviously :) ) but what do programming languages have to do with drawing sprites?

#1Darego

Posted 04 January 2013 - 05:03 PM

Well, i can't tell you which is the best language, but if you're serious about learning one, and make a serious project, then i'd advise C++.

It's probably the most used language in game development, although i suppose not the easiest to learn.

 

You could then learn OpenGL or Direct3D, or even use SDL or Allegro (i think these two can be/are used in conjunction with OpenGL).

Also, if you don't know (and don't mind your game being WIndows only), there's DirectX (which Direct3D is part of) which is a complete game development SDK.

 

Not that this isn't something you can't do with other languages (i don't really know if there's DirectX support in Java or Python), but i think you will get the most support (in terms of code samples, etc) if you use C++.

Of course if you want your game to be cross-platform, then perhaps Java would be another option, not that you can't do it with C++, but it is easier with Java.

 

There is also C#, altough i can't tell you anything about it as i've never use it (the same goes for Python).

 

In the end, in my opinion, on the long road of development, you'd benefit more by choosing C++, but again, it is probably not as easy to learn (and by learning i mean really learning, including advanced things like pointers, OOP, inheritance, etc), and obviously does not natively include sprite drawing routines, sound playback, etc like some other languages do (for example Java and ActionScript).

 

what do you mean by java sprite drawing routines? in a 2d tile based map for example aren't the sprites done in paint.net etc and not coded in programming languages? (totally new at game dev here obviously :) )


PARTNERS