enigma-devel
[Top][All Lists]
Advanced

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

[Enigma-devel] Request: a per-frame callback into the Lua script


From: Nat Pryce
Subject: [Enigma-devel] Request: a per-frame callback into the Lua script
Date: Fri, 7 Nov 2003 17:24:50 -0000

I have a level that performs a lot of calculation (the minimax AI
algorithm).  This calculation goes on so long that it pauses the game
unacceptably. It would be great if I could break the calculation up into
smaller parts that get executed every frame, but this is not currently
possible except by using a timer stone with a very short interval.

So how about adding a function let a level script set up a Lua function that
is called once per frame?

Cheers,
            Nat.
_______________________
Dr. Nathaniel Pryce
B13media Ltd.
http://www.b13media.com
+44 (0)7712 526 661





reply via email to

[Prev in Thread] Current Thread [Next in Thread]