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

Re: [pygame] move problems



pymike wrote:
if keys[LEFT]:
   print True

This works, because you're checking to see if the 3rd numeral in the list is positive/true.

Just a minor point - it's actually checking if the 3rd numeral is non-zero/true.

--Mike