/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 15:28:23 UTC
  • Revision ID: josh@9ix.org-20140703152823-4241je58pflhx7ec
scaling

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
13
12
 
14
13
              self:add(Fill:new{
15
14
                          fill = {240,221,58},
51
50
           end,
52
51
   onUpdate = function (self)
53
52
                 if the.keys:justPressed('escape', 'n') then
54
 
                   if love.system.getOS() == 'Android' then
55
 
                     the.app:quit()
56
 
                   else
57
53
                    self:deactivate()
58
 
                   end
59
54
                 elseif the.keys:justPressed('q', 'y') then
60
55
                    if the.profiler then
61
56
                       the.profiler:stop()