/ld27

To get this branch, use:
bzr branch http://9ix.org/bzr/ld27

« back to all changes in this revision

Viewing changes to pause_view.lua

  • Committer: Josh C
  • Date: 2014-07-03 14:21:42 UTC
  • Revision ID: josh@9ix.org-20140703142142-2hk5ssb8szrbylht
leftover screenshot functionality I never checked in

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
              local boxB = boxT + boxH
9
9
              local nr = 'data/NewRocker-Regular.otf'
10
10
 
11
 
              self.scale = the.app.scale
12
 
              self.realTranslate = the.app.view.realTranslate
13
 
 
14
11
              self:add(Fill:new{
15
12
                          fill = {240,221,58},
16
13
                          x = boxL - 16,
51
48
           end,
52
49
   onUpdate = function (self)
53
50
                 if the.keys:justPressed('escape', 'n') then
54
 
                   if love.system.getOS() == 'Android' then
55
 
                     the.app:quit()
56
 
                   else
57
51
                    self:deactivate()
58
 
                   end
59
52
                 elseif the.keys:justPressed('q', 'y') then
60
53
                    if the.profiler then
61
54
                       the.profiler:stop()
67
60
                    the.app:quit()
68
61
                 end
69
62
              end
70
 
}
 
63
}
 
 
b'\\ No newline at end of file'