Re:Using Lua coroutines to create an RPG dialogue system
by SomeCallMeTim on Wednesday January 11, 2017 @03:40PM
(#13377314)
The Playground SDK had over a hundred titles shipped on it. You can see some of them on my MobyGames profile. [1]
"Proper use of byte code generators" -- at that point you're not writing Lua any more, any more than Scala or Clojure targeting the JVM is "writing Java." The article is about using Lua for AI, which is what my comments are about, and my comments all stand.
Arguing about whether the VM is good enough to support a state machine is orthogonal to whether it's a good idea to use Lua coroutines as suggested by the article.
"Proper use of byte code generators" -- at that point you're not writing Lua any more, any more than Scala or Clojure targeting the JVM is "writing Java." The article is about using Lua for AI, which is what my comments are about, and my comments all stand.
Arguing about whether the VM is good enough to support a state machine is orthogonal to whether it's a good idea to use Lua coroutines as suggested by the article.
[1] http://www.mobygames.com/developer/sheet/view/developerId,13...