/zoeplat

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

« back to all changes in this revision

Viewing changes to zoetrope/core/view.lua

  • Committer: Josh C
  • Date: 2013-03-02 20:40:57 UTC
  • Revision ID: josh@9ix.org-20130302204057-yrra0a51zgtpq2v2
zoetrope 1.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
373
373
                local screenWidth = the.app.width
374
374
                local screenHeight = the.app.height
375
375
 
376
 
                -- let sprites update their physics before adjusting focus
377
 
                Group.update(self, elapsed)
378
 
 
379
376
                -- follow the focused sprite
380
377
                
381
378
                if self.focus and self.focus.width < screenWidth
404
401
                        self.translate.y = screenHeight - self.maxVisible.y
405
402
                end
406
403
 
407
 
                --Group.update(self, elapsed)
 
404
                Group.update(self, elapsed)
408
405
        end,
409
406
 
410
407
        draw = function (self, x, y)