luascripting-languageogre3dsquirrel

Game Engine Scripting Languages


I am trying to build out a useful 3d game engine out of the Ogre3d rendering engine for mocking up some of the ideas i have come up with and have come to a bit of a crossroads. There are a number of scripting languages that are available and i was wondering if there were one or two that were vetted and had a proper following.

LUA and Squirrel seem to be the more vetted, but im open to any and all.

Optimally it would be best if there were a compiled form for the language for distribution and ease of loading.


Solution

  • The Python/C API manual is longer than the whole Lua manual (including the Lua/C API).

    Another reason for Lua is the built-in support for coroutines (co-operative multitasking within the one OS thread). It allows one to have like 1000's of seemingly individual scripts running very fast alongside each other. Like one script per monster/weapon or so.

    ( Why do people write Lua in upper case so much on SO? It's "Lua" (see here). )