Python Pygame press two direction key and another key to shoot there's no bullet
问题 I am trying to make a ship shoot a bullet, and everything it works as expected except when I press both UP , LEFT and then SPACE . Then there's no bullet being fired. There's no bullet being fired for RIGHT + DOWN + SPACE , UP + LEFT + SPACE either. However, when I press both UP , RIGHT and then SPACE , it workes. In fact, every other direction key LEFT + DOWN , UP + RIGHT , UP + DOWN works with SPACE key. Here's the code: #!/usr/bin/python import sys import pygame class Setting: def __init__