[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] my first game (so far)
On Mon, 17 Mar 2008 18:50:36 -0700
Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
> The only thing I
> wondered about is that changing the direction the sprite faces also
> makes it moving ahead one square.
This functions how I would like. If the player is facing right,
pressing left will face and move left IF there is a place to move. If
left of the player is blocked, it won't move, but will still switch to
face the sprite left.