Is there a pygame constant that checks when no buttons are being pressed?
tomtetlaw -1
Posting Pro
Recommended Answers
Jump to PostI think this is, what you need:
http://www.pygame.org/docs/ref/key.html#pygame.key.get_pressedLook at the comments, too.
Jump to PostThe pygame.KEYDOWN event figures this one out, just put it into an if statement.
All 7 Replies
slate 241
Posting Whiz in Training
Ene Uran 638
Posting Virtuoso
tomtetlaw -1
Posting Pro
scru 909
Posting Virtuoso Featured Poster
tomtetlaw -1
Posting Pro
tomtetlaw -1
Posting Pro
tomtetlaw -1
Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.