QUIT: run = False keys = pygame.key.get_pressed() if keys [pygame.K_LEFT] and x > vel: x -= vel if keys [pygame.K_RIGHT] and x < 600 - width - vel: x += vel ...
確定! 回上一頁