1 2 3 4 5 6 7 8
require "posix" function on_init() print("Hello, world!"); init_viewport(320, 240); posix.sleep(2); print("Goodbye, world!"); end