I've used Python before with PyGame to make games, but PyGame doesn't seem to be so popular anymore, and there arent that many good resources for it. I hear lots of buzz about Lua as a fast scripting language to be used inside of projects made in other languages.

I work much faster and enjoy the higher-level programming that is Python, so that naturally leads me to Lua, which seems to be getting a lot of attention recently. I know it's been around for a while but I think WoW add-on creation made it more popular..

Can Lua make games on its own as a stand-alone language with any 2D or 3D libraries, or is that not really the Lua domain?

I won't bother asking about 3D in Python here, I'll make a new question for that. Thanks!


If you're interested in developing games using Lua, I'd highly recommend checking out LÖVE which is a framework for making 2D games in Lua. Checkout their wiki for lot of resources to get you started. :)

  • \$\begingroup\$ Incredible link and answer, thanks! Since we're here talking about and enjoying LUA, what possibilities are there for 3D? I see youtube videos of PSP stuff made in LUA so it must be possible, but not sure if it hooks to OpenGL or what. Any resources? \$\endgroup\$ – shadowprotocol Nov 11 '10 at 19:11
  • \$\begingroup\$ I'm not familiar with any existing 3D Lua frameworks worth recommending, but the process for constructing such a framework is the same as constructing a 2D one. Essentially you'd need to learn a programming language that can bind with Lua, and develop your framework in that language, creating the appropriate hooks for lua to access the functionality required. It's a pretty complex process, so it's not something I would dive straight into, but for more information on how to bind lua to different programming languages, check out: lua-users.org/wiki/BindingCodeToLua \$\endgroup\$ – Ari Patrick Nov 11 '10 at 19:41

for 3D try shiva

  • \$\begingroup\$ I'm pretty sure Shiva is more along the lines of something like Unity, and only uses Lua for scripting, not a stand-alone. \$\endgroup\$ – The Communist Duck Dec 1 '10 at 15:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.