if pygame.key.get_pressed[K_a]: print "Muppet" K_a is not defined.
but yes it is. why do i get this error? this works: if pygame.key.get_pressed(): print "donkey" -- http://mail.python.org/mailman/listinfo/python-list
if pygame.key.get_pressed[K_a]: print "Muppet" K_a is not defined.
but yes it is. why do i get this error? this works: if pygame.key.get_pressed(): print "donkey" -- http://mail.python.org/mailman/listinfo/python-list