lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Could you elaborate on this idea? I am not sure what you mean...

"Arvid Norberg" <> wrote in message">
> At 2003-01-07 14:39, you wrote:
> >Hello all!
> >
> >I am considering using Lua in my next game project. One of the approaches
> >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
> ---
> Arvid Norberg