What is Lua?
Moderator: Coders of Rage
- JaxDragon
- Chaos Rift Junior
- Posts: 395
- Joined: Mon Aug 04, 2008 2:03 pm
- Current Project: Kanoba Engine
- Favorite Gaming Platforms: PS3, PC
- Programming Language of Choice: C++
- Location: Northeast NC
What is Lua?
I have heard a lot about lua, but I don't know what it is. I know it is used in WoW private servers, Roblox, and Elysian Shadows(to name a few), but I think I would benefit from someone explaining to me just what Lua is.
- trufun202
- Game Developer
- Posts: 1105
- Joined: Sun Sep 21, 2008 12:27 am
- Location: Dallas, TX
- Contact:
Re: What is Lua?
Lua script is a scripting language. Basically it can invoke methods exposed by C++. So your engine can expose a method, such as GetPlayerHP(). Lua can then call that method to retrieve the player's HP and use it as needed.
So, essentially, your entire "game" can be written in script files, rather than the actual engine. Its powerful, trust me.
I think Falco explains it best in this video:
Falco's Game Development Marathon: Day 2
So, essentially, your entire "game" can be written in script files, rather than the actual engine. Its powerful, trust me.
I think Falco explains it best in this video:
Falco's Game Development Marathon: Day 2