summaryrefslogtreecommitdiffstats
path: root/games/hello/init.lua
blob: e44befd16790fb0c09c595e5f91d3a8e72ffc313 (plain)
1
2
3
4
5
6
7
8
require "posix"

function on_init()
	print("Hello, world!");
	bouken.viewport.set_size(320, 240);
	posix.unistd.sleep(2);
	print("Goodbye, world!");
end