summaryrefslogtreecommitdiffstats
path: root/games/hello/init.lua
blob: de7e35b5fc1983b80b41f0a746f9cc47e96adf51 (plain)
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