/ld27

To get this branch, use:
bzr branch /bzr/ld27

« back to all changes in this revision

Viewing changes to sprite.lua

  • Committer: Josh C
  • Date: 2013-08-25 21:44:54 UTC
  • Revision ID: josh@9ix.org-20130825214454-31x5ejvdrio02s24
correct tile size for slow frame hack

Show diffs side-by-side

added added

removed removed

81
81
   if maxVel[dir] and vel[dir] > maxVel[dir] then vel[dir] = maxVel[dir] end
82
82
 
83
83
   -- ugly hack for falling through floor on really slow frames
84
 
   if math.abs(vel[dir] * elapsed) > 32 then
 
84
   if math.abs(vel[dir] * elapsed) > 16 then
85
85
      print('skip')
86
86
      return
87
87
   end