Lua

From RogueBasin
(Difference between revisions)
Jump to: navigation, search
m (Description: Spelling)
Line 18: Line 18:
  
 
* [[Angband]] - since 3.0.0 Angband supports Lua scripts.
 
* [[Angband]] - since 3.0.0 Angband supports Lua scripts.
 +
* [[Portralis]] - uses Lua a lot to create monster attacks and complex story and quest events. Many gameplay mechanics are now entirely script-based, and future versions will aim to expand it's use even further.
 
* [[ToME]] - a good part of the engine is in Lua and the game itself will be completly in Lua in the next version.
 
* [[ToME]] - a good part of the engine is in Lua and the game itself will be completly in Lua in the next version.
 
* [[H-World]] - all modding in this engine is done through Lua scripts
 
* [[H-World]] - all modding in this engine is done through Lua scripts

Revision as of 18:53, 3 May 2007

Contents

Description

Lua is a very nice and easy-to-learn scripting language specifically designed to be embeddable and able to represent complex data.

Features

  • Clean syntax
  • Simple, yet extremely powerful and extensible, data structure: tables (can be used as hashtables, vectors, arrays, lists, namespaces, objects, ...)
  • Easily embeddable into existing projects
  • Lightweight
  • Very fast
  • Compiled to bytecode, which can be saved to a file
  • Easy integrated with all languages that can load C libraries (also FreePascal
  • Many other nifty things ;)

Lua Roguelikes

Lua is probably the most popular scripting language for roguelikes. Some of the projects that use Lua:

  • Angband - since 3.0.0 Angband supports Lua scripts.
  • Portralis - uses Lua a lot to create monster attacks and complex story and quest events. Many gameplay mechanics are now entirely script-based, and future versions will aim to expand it's use even further.
  • ToME - a good part of the engine is in Lua and the game itself will be completly in Lua in the next version.
  • H-World - all modding in this engine is done through Lua scripts
  • Carceri

Links

Personal tools