I'm planning to develop a 2D RPG. Originally, I started to write an SDL-based engine from scratch, but then I found Löve. So I started to play with it, and I like it very much, it's an amazing 2D engine. The only thing that holds me back at the moment is that it's entirely Lua-driven. Even people with limited game development knowledge will eventually figure out how to open .love files, read the scripts, and the whole game will be spoiled.
I know it's possible to append the .love file to the end of the Löve executable. However, I don't really like the idea to distribute the game as a single, extremely large executable. I know it's also possible to compile the lua files to bytecode, but as far as I know, they won't work on platforms different from the one they were compiled on.
What I think about now is to pack only the script files into the executable, and keep all the other data files in an external .love/.zip file. Is it possible to do this?
My other idea is to grab the source code, and use Löve directly from C++. As far as I understand right now, all the functionality are coded in C++, and then the C++ methods are simply exposed to the Lua interpreter, but they can also be called directly, right? Is there anybody who tried this before?
Thanks for your help in advance.
