Lua, game state and game loop
- by topright
Call main.lua script at each game loop iteration - is it good or bad design? How does it affect on the performance (relatively)?
Maintain game state from a. C++ host-program or b. from Lua scripts or c. from both and synchronise them?
(Previous question on the topic: http://stackoverflow.com/questions/2674462/lua-and-c-separation-of-duties)