1
WinView = Subview:extend {
2
onNew = function (self)
5
local boxL = the.app.width / 2 - boxW / 2
6
local boxT = the.app.height / 2 - boxH / 2
7
local boxR = boxL + boxW
8
local boxB = boxT + boxH
9
local nr = 'data/NewRocker-Regular.otf'
28
text = 'You found the shinies!',
38
text = 'Press Q to quit',
48
text = 'Any other key to keep exploring',
59
onUpdate = function (self)
60
if the.keys:justPressed('q') then
63
local outfile = io.open( "profile.txt", "w+" )
64
the.profiler:report( outfile )
69
elseif the.keys:allJustPressed() then
b'\\ No newline at end of file'