Mercurial > skaapsteker
diff skaapsteker/sprites/player.py @ 103:aaef228b6358
Run kitsune, run! And by the running of the kitsune gravity is restored to normal.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Mon, 04 Apr 2011 20:46:44 +0200 |
parents | 2e913a89e69d |
children | a76b8c49f1f9 |
line wrap: on
line diff
--- a/skaapsteker/sprites/player.py Mon Apr 04 20:23:14 2011 +0200 +++ b/skaapsteker/sprites/player.py Mon Apr 04 20:46:44 2011 +0200 @@ -43,16 +43,16 @@ self.rect = self.image.get_rect(topleft=(pos[0]*TILE_SIZE[0], pos[1]*TILE_SIZE[1])) def action_left(self): - print "L" + self.deltav((-100.0, 0.0)) def action_right(self): - print "R" + self.deltav((100.0, 0.0)) def action_up(self): - print "U" + self.deltav((0.0, -100.0)) def action_down(self): - print "D" + self.deltav((0.0, 100.0)) def action_fire1(self): print "F1"