Module script

Script class

Functions

clear () reset script environment.
load (filename) load a script from the /scripts folder.
run () load engine, execute script-specified init (if present).
metadata (filename) load script metadata.


Functions

clear ()
reset script environment. ie redirect draw, key, enc functions, stop timers, clear engine, etc.
load (filename)
load a script from the /scripts folder.

Parameters:

  • filename string file to load. leave blank to reload current file.
run ()
load engine, execute script-specified init (if present).
metadata (filename)
load script metadata.

Parameters:

  • filename string file to load

Returns:

    table meta table with metadata
generated by LDoc 1.5.0 Last updated 2024-10-13 17:45:04