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 am going to use Cocos2d-x to make a game for Android and ios, but my question is, do I use the Lua integration or only c++, I see Lua useful here because the compilation thing.

Or do I use only Lua for the configuration, save data and things in runtime?

I don´t know if using Lua for the whole game is the right thing :/

Can anyone help me with this question and why use it or not?

Thanks

share|improve this question
4  
This is a "which technology" question (as well as being extremely broad) and is consequently off-topic for this site. See the FAQ for more. –  Josh Petrie Jul 12 '12 at 16:12
add comment

1 Answer 1

You would use both. Lua can be used for:

  • Exporting code to a mobile device
  • Making a UI (You should try first make an addon for a MMORPG if you want to get a better idea how you can use Lua)

C++ is the core code of the videogame, so maybe you can program a game without Lua but it might help you to do better UI for your games

share|improve this answer
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.