|
> In general, when game programmers use C and Lua, to they fire up a C programI am not a game programmer, but I fire up a program written in C which
> that calls a Lua script, or do they fire up a Lua script that calls a C
> program, or are both commonly done?
then creates a Lua state, looks in a certain directory for scripts, and
if found, executes them. These scripts can then register various
callbacks with the main program.