/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 00:15:03 UTC
  • Revision ID: josh@9ix.org-20130411001503-u3hxmtsjcw9i3lo7
actually make separate player/sprite work.  clean up some code that 
assumes debug mode

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