/ld27

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

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2014-07-06 22:55:23 UTC
  • Revision ID: josh@9ix.org-20140706225523-5dnau1lu753yt0t4
update build.sh for love 0.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
237
237
         self.scale = 1.5
238
238
       elseif winh < the.app.height then
239
239
         self.scale = winh / the.app.height
240
 
       else
241
 
         self.scale = 1
242
240
       end
243
241
       view.realTranslate.x = math.floor((winw - self.width * self.scale) / 2)
244
242
       view.realTranslate.y = math.floor((winh - self.height * self.scale) / 2)