/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: 2013-08-25 21:05:20 UTC
  • Revision ID: josh@9ix.org-20130825210520-2of9iq2uemncp336
overhaul collision and physics to fix an annoying collision resolution 
bug

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
              local boxT = the.app.height / 2 - boxH / 2
7
7
              local boxR = boxL + boxW
8
8
              local boxB = boxT + boxH
9
 
              local nr = 'data/NewRocker-Regular.otf'
10
 
 
11
 
              self.scale = the.app.scale
12
9
 
13
10
              self:add(Fill:new{
14
11
                          fill = {240,221,58},
31
28
                          x = boxL,
32
29
                          y = boxT + 16,
33
30
                          width = boxW,
34
 
                          font = {nr, 24},
 
31
                          font = 24,
35
32
                          align = 'center',
36
33
                          tint = {0,0,0}
37
34
                       })
41
38
                          x = boxL,
42
39
                          y = boxT + 48,
43
40
                          width = boxW,
44
 
                          font = {nr, 24},
 
41
                          font = 24,
45
42
                          align = 'center',
46
43
                          tint = {0,0,0}
47
44
                       })
62
59
                    the.app:quit()
63
60
                 end
64
61
              end
65
 
}
 
62
}
 
 
b'\\ No newline at end of file'