lua-users home
lua-l archive

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


I use them in a text multi-user dungeon (MUD) game that I develop as a hobby.

My scripts are attached to objects in the game, primarily creatures, and are used to make them more life like in terms of their behavior and interaction with real users.

I use co-routines to enable the scripts run in a continuous loop and block on in-game events such as specific user actions.


-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br [mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Jose Marin
Sent: Monday, March 19, 2007 7:27 AM
To: lua@bazar2.conectiva.com.br
Subject: Use of Lua corotines in games

Hi.


I'm studying Lua corotines, and looks very interesting.

Is there any sample of use of Lua corotines in games?

__________________________________________________
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/