Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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!

share|improve this question
add comment

2 Answers 2

up vote 14 down vote accepted

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. :)

share|improve this answer
    
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? –  shadowprotocol Nov 11 '10 at 19:11
    
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 –  Ari Patrick Nov 11 '10 at 19:41
add comment

for 3D try shiva

share|improve this answer
    
I'm pretty sure Shiva is more along the lines of something like Unity, and only uses Lua for scripting, not a stand-alone. –  The Communist Duck Dec 1 '10 at 15:47
    
This is really a comment, not an answer to the question. You can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. –  Jonathan Hobbs Aug 22 '12 at 7:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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