|
At 2003-01-07 14:39, you wrote:
Hello all! I am considering using Lua in my next game project. One of the approaches I am exploring is to have multiple lua_States, one for each of the game entities. This would allow my designers/script writers to have a private namespace for each entity.
Maybe you would get a smaller overhead by just using one global table per entity, and swap before you make any calls. Then you only need one lua_State.
---Arvid Norberg