[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] On walking animations...



I was wondering how one could do walking animations with sprites in pygame. I know that it has been done before, and it probably involves utilizing the key.pressed function in the Vector2 module, where when you press a key the command retrieves a series of images for the sprite based on certain values given. I have no idea how to implement this, though, and my theory could be very wrong. All I know is that it has been done before, so I have hope.

Yeah.