/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-05 00:05:23 UTC
  • Revision ID: josh@9ix.org-20140705000523-qxhxpi5ixst875zb
control by touch ("mouse")

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
              local nr = 'data/NewRocker-Regular.otf'
10
10
 
11
11
              self.scale = the.app.scale
 
12
              self.realTranslate = the.app.view.realTranslate
12
13
 
13
14
              self:add(Fill:new{
14
15
                          fill = {240,221,58},
50
51
           end,
51
52
   onUpdate = function (self)
52
53
                 if the.keys:justPressed('escape', 'n') then
 
54
                   if love.system.getOS() == 'Android' then
 
55
                     the.app:quit()
 
56
                   else
53
57
                    self:deactivate()
 
58
                   end
54
59
                 elseif the.keys:justPressed('q', 'y') then
55
60
                    if the.profiler then
56
61
                       the.profiler:stop()