Example 1: pygame holding a button down while running: keys = key.get_pressed() if keys[K_DOWN]: print "DOWN" for e in event.get(): pass Example 2: Pygame ...
確定! 回上一頁