1 / 10

Lua

John Imboden. Lua. What is Lua. Embeddable scripting language Creators: Roberto Lerusalimschy , Luiz Henrique de Figueiredo , and Waldemar Celes Designed using a bottom up design scheme Originally developed as a tool for business applications (mainly data entry). Why I chose Lua.

eliza
Télécharger la présentation

Lua

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. John Imboden Lua

  2. What is Lua • Embeddable scripting language • Creators: Roberto Lerusalimschy, Luiz Henrique de Figueiredo, and WaldemarCeles • Designed using a bottom up design scheme • Originally developed as a tool for business applications (mainly data entry)

  3. Why I chose Lua • Significant titles • World of Warcraft • Sim City 4 • Adobe Photoshop Lightroom • Warhammer Online: Age of Reckoning • FarCry

  4. What can Lua do? • Lua’s use in the gaming industry • User Interfaces • Ai scripts • Game animations

  5. Example UI

  6. Limits of Lua? • Lua is highly customizable • Lua has a high overhead if data is declared improperly

  7. Pros of Lua • Highly Portable • Extremely easy to incorporate in C or C++ • No need to recompile while debugging • Familiar syntax for those used to C

  8. Cons of Lua • Memory management • Out of the box debugging is lacking • Global Variables

  9. Evaluation • Readability • Writeability • Reliability • Cost

  10. References Slide 1: image from http://lua.org Slide 2: http://lua.org/history.html Slide 3: http://lua-users.org/wiki/LuaUses Slide 7-8: http://gamedev.stackexchange.com/questions/18285/what-are-the-pros-and-cons-of-incorporating-lua-into-a-c-game

More Related