static global context
add to Cargo.toml
toml
[dependencies]
gctx = "0.1.0"
rust
to run frog.lua
sh
$ dirty frog.lua
(looks for main.lua if no argument)
to export
sh
$ dirty export
(entry has to be main.lua when exported)
app::init() also overrides default panic behavior (also display messages to screen if window is initiated)audio::init() must be called before window::init(), for some reason it crashes if tried to get audio device after SDL initializationDIRTY is short for Dangerous Ichthyopolist Reincarnates Tropical Yeti