/zoeplat

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

« back to all changes in this revision

Viewing changes to sprite.lua

  • Committer: Josh C
  • Date: 2013-04-11 01:33:32 UTC
  • Revision ID: josh@9ix.org-20130411013332-7bf1zydct2v4rbyk
zoetrope 1.4 (and revert my sprite changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
end
36
36
 
37
37
-- directional physics
38
 
function Sprite:doPhysics(self, dir, elapsed)
 
38
function Sprite:doPhysics(dir, elapsed)
39
39
   local vel = self.velocity
40
40
   local acc = self.acceleration
41
41
   local drag = self.drag