Jump to content

Question bout LUA


Recommended Posts

It's right under the LE directory that you installed.


The thing to remember is that all the languages you can use with LE can do everything LE provides. LUA is slower but allows for realtime editing where you can see the change you make instantly. C++ is faster but you have to go through a compiling step. So if you were using C++ to position something just perfectly, it would take you way longer to change code, recompile until you get it right. If you are using LUA it would all be instant and would take no time at all.


The trade off is that when using lua, you might lose some frames per second depending on what you have lua doing. If it's running heavy logic it will slow your game down. You can, however, mix your C++ classes with lua so you can have C++ doing the heavy lifting so that part is faster. This would however take some experience and most likely drive you insane after some time :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...