/zoeplat

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

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-03-10 21:55:44 UTC
  • Revision ID: josh@9ix.org-20130310215544-iqzp3x2l10h9247f
reorganize code - separate X and Y physics so we can collide in each 
direction separately

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
               self:doPhysics('y', elapsed)
102
102
 
103
103
               self:collide(the.view.map)
104
 
 
105
 
               Animation.update(self, elapsed)
106
104
            end,
107
105
   onCollide = function (self, other, xOverlap, yOverlap)
108
106
                  -- seriously, why does this even fire?