/traderous

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

« back to all changes in this revision

Viewing changes to player.lua

  • Committer: Josh C
  • Date: 2013-05-13 21:23:20 UTC
  • Revision ID: josh@9ix.org-20130513212320-t1sgc5dcpjwmjp38
mirror (contains a bug where things in the corner aren't getting mirrored?

Show diffs side-by-side

added added

removed removed

41
41
                        self.acceleration:rotate_inplace(self.rotation)
42
42
                     else
43
43
                        self.acceleration = {x=0, y=0}
 
44
                        if DEBUG and the.console.visible then
 
45
                           self.velocity = {x=0, y=0}
 
46
                        end
44
47
                     end
45
48
 
46
49
                     if the.mouse:pressed() and -- assumes left button