I have written some small games for fun myself, but never used Lua myself.

I have seen people discussing Lua's use in games everywhere.

The question is: What benefit can I get from using Lua in game development?

Can someone explain this a little bit to me?

  • \$\begingroup\$ Lua is a proper name, not an acronym. It should be in ALL CAPS. \$\endgroup\$ Commented May 26, 2013 at 10:08

1 Answer 1


Lua is a pretty well developed scripting engine that is flexible and easy to integrate to your games, and is already supported in many game engines, for instance:


  • Agen (Lua; Windows)
  • Blitwizard (Lua; Windows, Linux, Mac)
  • Corona (Lua; Windows, Mac; iOS/Android)
  • EGSL (Pascal/Lua; Windows, Linux, Mac, Haiku)
  • Grail Adventure Game Engine (C++/Lua; Windows, Linux, MacOS X (SDL))
  • LÖVE (Lua; Windows, Linux, Mac)
  • MOAI (C++/Lua; Windows, Linux, Mac; iOS, Android; Google Chrome (Native Client))



Source: https://stackoverflow.com/questions/5053134/what-is-a-good-game-engine-that-uses-lua

And as MJP says from gamedev.net:

Using a scripting language was/is very popular for games for a few reasons:

  1. Most scripting languages are much more high-level than C++ (which just about all commercial games use), and can be used much more readily by gameplay or level designers.

  2. The portions of a game written in scripting languages can be modified while the game is running, without having to restart or recompile. This is important if the people working on the scripted portions don't have access to the compilation tools, or if compilation takes a long time.

  3. C++ has no built-in reflection capabilities.

Source: http://www.gamedev.net/topic/520284-why-use-luascripting/


Not the answer you're looking for? Browse other questions tagged .