Explorer Posted December 26, 2024 Posted December 26, 2024 I know a bit of Lua but I am trying to figure out if I will be using much C++ and if it is worth it to try and learn it earlier on. Quote
Dreikblack Posted December 26, 2024 Posted December 26, 2024 C++. I'm using Lua in my project only to get and manage mission objectives from my maps scripts 1 Quote
Explorer Posted December 26, 2024 Author Posted December 26, 2024 3 hours ago, Dreikblack said: C++. I'm using Lua in my project only to get and manage mission objectives from my maps scripts Ah, so Lua is more useful for managing files and assets and C++ is better with adding in-scene functionality? Quote
Dreikblack Posted December 27, 2024 Posted December 27, 2024 5 hours ago, Explorer said: Ah, so Lua is more useful for managing files and assets and C++ is better with adding in-scene functionality? Not really, I just didn't explain it well. I meant that my maps have scripts with objectives written specifically for these maps and i load and use those scripts with C++. C++ is better for anything systemic (GUI, components, gameplay mechanics, etc.) and lua better for specific scenario like something special at maps, when flowgraph is not enough. Quote
Alienhead Posted January 1 Posted January 1 Myself, I use full LUA for faster development, unless you have some kinda of large, stressful number crunching routines I doubt there will be much a difference in speed whatsoever. The underlining engine still processes out in c++. Since ULTRA engine runs script code on a separate thread theres really no reason to use c++ unless you just prefer the language. Also by using LUA you don't have to compile each and everytime you run your developing project which is a HUGE time saver in my opinion. LUA is easier to use than c++, LUA is one of the main stream languages in the industry. Plus, if tthis is the first language your using then I strongly suggest LUA then you can more easier take on c++. These are just my reasons, theres nothing wrong with c++, since ULTRA can use either language; why not take the easier route? 1 1 Quote Alienhead Components and Software
Dreikblack Posted January 1 Posted January 1 1 hour ago, Alienhead said: no reason to use c++ More API available, proper OOD (it's a pain for me to do anything complex in lua without real classes, inheritance etc.), custom widgets, easier debug and finding errors in code by compiling. I used to be lua fan 10 years ago, but it has not enough of deepness for serious stuff imo. 1 1 Quote
Recommended Posts
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.