Python Forum
pygame and shift branching?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pygame and shift branching?
#1
Sorry, I know this is another pygame problem, but I hope some kind person can help.

I can find examples on the google how to check for key presses such as a+Shift. I can't fond how to check for these separately, I want to do something like:

If SHIFT
if a pressed:
if b pressed:

if Not SHIFT
if a pressed:
if b pressed:

This must be possible?

Thanks.
Reply


Messages In This Thread
pygame and shift branching? - by MuntyScruntfundle - Feb-23-2019, 12:27 PM
RE: pygame and shift branching? - by metulburr - Feb-23-2019, 12:55 PM
RE: pygame and shift branching? - by Windspar - Feb-23-2019, 01:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Drawn line shift when that surface is copied to another in pygame Leo_Red 4 3,533 Feb-11-2021, 06:33 AM
Last Post: Leo_Red

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020