Difference between revisions of "What's New in LUA Modding"

From SkyCorp Global
(Created page with "Inputting LUA You no longer need to manually compile LUA into bytecode and then base64 it! Now you simply escape the lua source code and drop it in. Note the field changed f...")
 
Line 1: Line 1:
Inputting LUA
+
== Inputting LUA ==
 
You no longer need to manually compile LUA into bytecode and then base64 it!  Now you simply escape the lua source code and drop it in.
 
You no longer need to manually compile LUA into bytecode and then base64 it!  Now you simply escape the lua source code and drop it in.
  
 
Note the field changed from 'luac' (compiled lua) to just 'lua'
 
Note the field changed from 'luac' (compiled lua) to just 'lua'
 +
 +
=== Example ===
 +
Previously in AS3:
 +
 +
xxx
 +
 +
And now:
 +
 +
yyy
 +
 +
== Access to more utility functions/classes ==

Revision as of 05:04, 18 July 2023

Inputting LUA

You no longer need to manually compile LUA into bytecode and then base64 it! Now you simply escape the lua source code and drop it in.

Note the field changed from 'luac' (compiled lua) to just 'lua'

Example

Previously in AS3:

xxx

And now:

yyy

Access to more utility functions/classes