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'
11
self.scale = the.app.scale
12
self.realTranslate = the.app.view.realTranslate
31
text = 'You found the shinies!',
41
text = 'Press Q to quit',
51
text = 'Any other key to keep exploring',
62
onUpdate = function (self)
63
if the.keys:justPressed('q') then
66
local outfile = io.open( "profile.txt", "w+" )
67
the.profiler:report( outfile )
72
elseif the.keys:allJustPressed() then