Re: Requirement for a Programming Language for Games (Strategic games)




"Shakti" <shakti.pr.misra@xxxxxxxxx> wrote in message news:d4ae991e-1c74-4030-aefa-065590b230c2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

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.".

Typically you want C or C++ for bashing the graphics. Even a strategy game has to look nice, update the screen smoothly, and even today the generally means interfacing with system calls efficiently.
Since some code is in C++ one obviousl option is to keep all code in C++. An alternative is to run a scritping language like lua on top of C++. Lua is something I've never used but I understand to have Lisp-like qualities. The advantage of a Lisp like language is that you can build functions at runtime. So it can be a lot easier to implement AI or the complex interfacing of objects you see in an adventure game.

--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm

.



Relevant Pages

  • Re: attempting an actual game...
    ... >> interact with directly) then again, much of a game is this kind of thing. ... >> this would additionally require multiple source files, a makefile, its ... text with escapes for a vaguely basic-like language. ... 2, parser, compiler, interpreter; ...
    (comp.games.development.programming.misc)
  • Re: Requirement for a Programming Language for Games (Strategic games)
    ... > existing programming languages for games and also what more is needed ... So suppose I ask like this "Given a choice for a Game ... > programming language, what all features would all like in that.". ... alternative is to run a scritping language like lua on top of C++. ...
    (comp.programming)
  • Re: Learning different languages
    ... I've been trying to get my kids to learn a little Python for some ... Simple -- Lua is the extension language for Enigma. ... make new game levels ergo, ...
    (comp.lang.python)
  • Re: Application logic and Business logic
    ... server from simple and accessible game components. ... The navigation systems then permit the game's hero to fall through ... 'Most advanced applications use more than one language. ... Suppose a test level contains a spawn point, a barrel full ...
    (comp.object)
  • Re: Which programming language for mmorpg server?
    ... The server has no need for graphics or sound programming at all. ... Both will benefit from the most efficient programming, much of it in assembly, though you can consider developing a language of your own to facilitate implementation of game rules. ...
    (comp.games.development.programming.misc)