Lua Achemy is a port of the Lua programming language for ActionScript using Alchemy. The lib allows the developer to access Flash capabilities such as a canvas element using Lua code.
Only classes that have been included in the Flash demo can be created in Lua. At the very least all of mx.containers
and mx.controls
has been included along with all the top level and default classes all flash objects get.
Sample
myprint = as3.makeprinter(output) myprint("Hello from Lua") local object = as3.toobject({name = "NAME", param = { value = 42 } }) local array = as3.toarray({ "one", "two", { 42 })
RT @as3gamegears http://t.co/ddjkeW3U #as3 #flash #gamedev: New: Lua Achemy (port of the Lua programming langua… http://t.co/6m38wLep
Lua in AS3? What kind of magic is this? – http://t.co/bkJO6Ykq #Flash #ActionScript