From 8275ea8e9446986510d5319afdd215c996a102ca Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 16 Nov 2013 03:28:37 -0500 Subject: hello: Initialize a viewport. --- diff --git a/games/hello/init.lua b/games/hello/init.lua index e813b61..de7e35b 100644 --- a/games/hello/init.lua +++ b/games/hello/init.lua @@ -1,3 +1,8 @@ +require "posix" + function on_init() print("Hello, world!"); + init_viewport(320, 240); + posix.sleep(2); + print("Goodbye, world!"); end -- cgit v0.9.1