[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Making a character move?
On Sun, 2005-10-02 at 14:30 -0600, Joseph Quigley wrote:
> Hi. I'm playing with a Super Mario type game engine that I'm trying to
> write but the MoveIt tutorial doesn't help me.
> I can't figure out how to move an image to the left when the Left arrow
> key is pressed. I've looked at
A full mario type game requires many parts for a moving character. The
hardest parts will involve colliding the character with platforms.
As for starting with left and right, you should look at the "chimp" and
"aliens" example. In the chimp example a monkey zigzags across the
window. The aliens example has a car controlled by the left and right
arrow keys.