"Shakti" <shakti.pr.misra@[EMAIL PROTECTED]
> wrote in message
news:ac7ff488-abe7-449a-9ae2-23e6af1ab109@[EMAIL PROTECTED]
> Hi All,
> This is a general thread I am starting to discuss the issue of
> existing programming languages for games and also what more is needed
> in a language. So suppose I ask like this "Given a choice for a Game
> programming language, what all features would all like in that.". I
> know it depends on the type of game that people are using. So lets
> make it more specific, like Strategic games. This i need as a study
> for the programming language features that still needs to be
> enhanced.
> What all special features that language should support internally?
> What all difficulties that people face while programming with other
> languages?
> etc
> All these can be discussed here. Please use this as a thread to
> discuss so that may be in future we can be able to carry out the task.
usually games are written with multiple languages, one language for the
engine itself (usually C or C++), and another language for the scripts.
strategy games should not have any particularly "powerful" language
requirements, albeit for this probably what would be useful would be
lightweight objects and collection types.
so, here are a few options (script languages):
Python: is popular;
Lua is also popular;
Ruby may also be worth consideration;
Scheme is touted, but has its own box of issues (ugly/awkward syntax, and
lack of "good" implementations), so IMO it is probably better for if one
wants to write their own scripting engine...
or, for more general languages:
Java;
C or C++ (used in some games, where the scripts are basically compiled
into
DLL's or SO's).
Java has an advantage if one is using the gcc compiler (in the form of
cygwin, mingw, or are dev'ing on Linux), since the compiler more or less
includes built-in Java support (usually installed with the compiler).
gcc also has features to aid in the process of interfacing Java and C++
code.
also possible would be to write an entire game in Java.
this may be a workable option as well (since it makes it more reasonable
to
write the entire game in a single language). however, IMO, Java has a few
well-known detractors as well.


|