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: [email protected] [mailto:[email protected]] On Behalf Of Jose Marin
Sent: Monday, March 19, 2007 7:27 AM
To: [email protected]
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/