Have a look at my game's game.py file for your key problem. Love,tullaris.
http://www.mediafire.com/?l4md0edjnmm 2009/2/11 Yanom Mobis <ya...@rocketmail.com> > > this code is in my main game loop > > key = pygame.key.get_pressed() #create a key index > > if K_UP in key: #check if the up arrow is pressed > redcar.speed = (0, -2) > else: > redcar.speed = (0, 0) > > redcar.rect = redcar.rect.move(redcar.speed) #move redcar by speed > > but pressing the up arrow doesn't move the sprite. > > > > >