Changeset 160:d44a66ca3fd9


Ignore:
Timestamp:
04/05/11 21:18:54 (12 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Phase:
public
Rebase:
30316635323862663966303161636465383135653634653865613233353361356430396562313632
Message:

Don't stand in the air.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/sprites/player.py

    r158 r160  
    6565            # Clamp when we're not moving at least 5 pixel / s
    6666            self.velocity = (0, v_y)
    67             self.running = False
     67            self.running = not self.on_solid # if you're not on something you can't stand
    6868        else:
    6969            self.running = True
Note: See TracChangeset for help on using the changeset viewer.