Lua, game state and game loop

Posted by topright on Stack Overflow See other posts from Stack Overflow or by topright
Published on 2010-04-21T18:41:39Z Indexed on 2010/04/21 18:43 UTC
Read the original article Hit count: 595

Filed under:
|
|
|
  1. Call main.lua script at each game loop iteration - is it good or bad design? How does it affect on the performance (relatively)?

  2. 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)

© Stack Overflow or respective owner

Related posts about lua

Related posts about gameloop