The 'Scripting With Lua' pdf distributed with GG is long overdue for an update, but it contains this :-
Quote: "GameGuru operates within one Lua state.
It is often useful to have your scripts in the form of text files. However, when you distribute your game, it is preferable to have all scripts in a compiled, non-human readable form. Using the Lua Compiler, “Luac”, it is possible to precompile your scripts.
The main advantages of precompiling are: faster loading, protecting source code from user changes, and off-line syntax error detection (so no errors are detected at run time).
To compile a script, simply run Luac.exe with a single argument – the file name of the script to compile:"
Now luac.exe isn't distrbuted with GG, but assuming I install it, is there any point? Can I point the stand-alone builder at a compiled scriptbank or is the engine only ever going to use the text versions, or does it, (I hope it does) precompile scripts as part of the build process?
You can't teach an old dog.
The author of this post has marked a post as an answer.
Go to answer