Hacker News new | ask | show | jobs
by wgren 5850 days ago
This article reminded me of something I've thought about - does any game developer use high level languages for AI or core game engine? It seems they all use C/C++ for most everything.

A few games have embedded Lua or Python for user scripting (i.e. Vampire:Bloodlines used Python for dialoges and quest creation), and a couple of games have started to require having .Net runtime installed... but does anyone know of a core game engine in high level languages, and C/C++ is only used for graphics?

5 comments

The engine of civilization IV uses Python for most of its game engine - you can manipulate virtually every aspect of the game through changing/adding python scripts. More info: http://modiki.civfanatics.com/index.php/Main_Page
I would say that the vast majority of games out there use some sort of embedded scripting language.

For a AAA game, the core game engine (graphics, audio, AI, physics, low-level gameplay logic etc.) will be written in C/C++, but scripting engines are used a lot for high-level game logic and AI, at least at the prototyping phase.

LUA is very popular (but not LuaJIT as it doesn't run on the consoles). Every Unreal game uses UnrealScript and/or Kismet. Eve Online uses Stackless Python. GTA IV uses a 1st-party scripting language.

For the Jak and Daxter games, Naughty Dog used GOAL, an in-house Lisp dialect, for almost the entire game.
Most of the Pixeljunk series on the PS3 have a good chunk of the entire game written in the GameMonkey scripting language they use, as well as the per-level scripting.
Have a look at Ogre3D and XNA.